danielmagnussons / orgmode

orgmode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.
MIT License
753 stars 70 forks source link

Sublime Text 3 - MacOSX - No such file or directory: '/Settings/orgmode-store.bin.gz' #38

Closed mseri closed 9 years ago

mseri commented 10 years ago

I get this error. Apparently the self.store contains only the second part of the initialisation value, as if the result of dirname(sublime.packages_path()) is empty at load time.

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 319, in on_deactivated
    callback.on_deactivated(v)
  File "/Users/mseri/Library/Application Support/Sublime Text 3/Packages/orgmode/orgmode_store.py", line 39, in on_deactivated
    self.save(view, 'on_deactivated')
  File "/Users/mseri/Library/Application Support/Sublime Text 3/Packages/orgmode/orgmode_store.py", line 88, in save
    with GzipFile(self.store, 'wb') as f:
  File "X/gzip.py", line 183, in __init__
FileNotFoundError: [Errno 2] No such file or directory: '/Settings/orgmode-store.bin.gz'
brendam commented 10 years ago

I'm seeing this error too.

danielmagnussons commented 10 years ago

I have problems testing on MacOs these days, you guys got any fix for this? Accepting pull requests ;p