Slogger icon indicating copy to clipboard operation
Slogger copied to clipboard

Path for Day one can't be found

Open brcullum opened this issue 11 years ago • 5 comments

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)

brcullum avatar Dec 10 '13 00:12 brcullum

Try changing the path in the config to /Users/brandoncullum/Dropbox/Apps/Day One/Journal.dayone and see what happens...

larryhynes avatar Dec 10 '13 01:12 larryhynes

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...

larryhynes avatar Dec 10 '13 01:12 larryhynes

Larry, thanks I think that did it!

brcullum avatar Dec 10 '13 01:12 brcullum

Cool :o)

larryhynes avatar Dec 10 '13 02:12 larryhynes

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.

mrjcleaver avatar Feb 10 '15 14:02 mrjcleaver