Slogger
Slogger copied to clipboard
Path for Day one can't be found
Below is the link to the Journal.dayone file that is saved in my dropbox and saved in the config file.
/Users/brandoncullum/Dropbox/Apps/Day One
Then I'm getting the following error in the terminal. Any idea what I'm doing wrong?
Brandons-MacBook-Pro:Slogger-master brandoncullum$ ./slogger /Users/brandoncullum/Dropbox/Personal/*Scripts/Slogger-master/slogger.rb:220:in `storage_path': Path for Day One journal is not specified or doesn't exist. Change your path in slogger_config and run ./slogger again: ‘Users/brandoncullum/Dropbox/Apps/Day_One/Journal.dayone’ (RuntimeError)
Try changing the path in the config to /Users/brandoncullum/Dropbox/Apps/Day One/Journal.dayone
and see what happens...
Can you also verify that the document Journal.dayone
exists in the Day One folder in the Apps folder of your Dropbox, and that the relevant line in your slogger config reads:
storage: /Users/brandoncullum/Dropbox/Apps/Day One/Journal.dayone
The error message shows that slogger is looking for a directory named Day_One
, not Day One
...
Larry, thanks I think that did it!
Cool :o)
Note: don't escape the space in Day One. e.g. I had dragged the folder from Finder into a terminal window and copied that string into slogger_config. In my case:
Wrong: /Volumes/Storage/martincleaver/Dropbox/Apps/Day\ One/Journal.dayone Right: /Volumes/Storage/martincleaver/Dropbox/Apps/Day One/Journal.dayone
The backslash was confusing matters.