activityhistory / selfspy

Modified version of Selfspy computer activity tracker for academic study
GNU General Public License v3.0
12 stars 1 forks source link

Error when Volume mounted without permission #34

Open aurelient opened 9 years ago

aurelient commented 9 years ago

Error when checking on where to store selfspy data. If the external drive has no read permissions, everything crashes. This happens when a TimeMachine volume from a TimeCapsule is mounted.

Traceback (most recent call last): File "/Users/aurelien/Documents/workspace/selfspy/dist/selfspy.app/Contents/Resources/boot.py", line 89, in _run() File "/Users/aurelien/Documents/workspace/selfspy/dist/selfspy.app/Contents/Resources/boot.py", line 84, in _run exec(compile(source, path, 'exec'), globals(), globals()) File "/Users/aurelien/Documents/workspace/selfspy/dist/selfspy.app/Contents/Resources/init.py", line 112, in main() File "/Users/aurelien/Documents/workspace/selfspy/dist/selfspy.app/Contents/Resources/init.py", line 101, in main astore = ActivityStore(cfg.DBNAME) File "selfspy/activity_store.pyc", line 79, in init File "selfspy/activity_store.pyc", line 756, in lookupThumbdrive OSError: [Errno 13] Permission denied: '/Volumes/Data'