Search Ali's Blog

Sunday, July 07, 2013

[MAC OS] Google Drive "Retrying X files"

OS X version: 10.8.x
Issue: Google drive Version 1.10.4769.0632 keeps retrying to syncup files and fails. Right click on the Google drive icon shows "Retrying X files" (e.g. Retrying 2 files), it doesn't show up the reason of the failure, or what files fail to sync.

Fix: First, locate the log file on your mac OS:
/Users/ali/Library/Application Support/Google/Drive/sync_log.log

Look for the lines that include the string "Retry Timestamps", you'll find the filename in the same line after the string "CloudEntry(file:XXX,YYY)"

Quite Google Drive, rename the file(s) on your local machine, go to your google drive online and delete the file online (if exists), then launch Google drive again.

Thursday, July 04, 2013

[MAC OS] Java VPN Failure: "An error occurred while extracting one of the Network Connect components"

OS X version: 10.8.x
Issue: While installing Java-based web VPN client on Safari, you get the error message "An error occurred while extracting one of the Network Connect components".
Fix: Open the terminal, and run the command below, then try to reconnect:
sudo keytool -storepasswd -new changeit -keystore /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts -storepass changeme

Along with Mavericks‘ update, Safari no longer works (even with the work around above). But Fireforx seems to work, as well as launching Network Connect directly from the Application folder. I personally will use the latter from now on.

Thanks to this post (and the comments).

Monday, July 01, 2013

[MAC OS] control vs. command buttons

If you're using VNC or a Windows/Linux Virtual machine within MAC OS, you probably noticed the confusion coming from the fact the MAC OS command button is equivalent to Linux/Windows Control button. To align the buttons between the VNC/VM and MAC, you can modify the key in MAC to "swap" between command and control buttons:

System Preferences > Keyboard > Modifier Key

Another option:
System Preferences > Keyboard > Application Shortcut > All Applications, then use the settings below:
Add shortcut
Copy ^C
Undo ^Z
Cut ^X
Paste ^V
Select All ^A