bachya / Sifttter-Redux

IFTTT to Day One service
MIT License
36 stars 0 forks source link

error "no implicit conversion of nil into string" #19

Open miherrm opened 9 years ago

miherrm commented 9 years ago

Hi Aaron,

while trying to update my dayone entries I get the above mentioned error message resulting in no entry at all. You find the config and the log file as well as the relevant text files in my dropbox, you should have received an email with the link.

Thanks in advance for your help.

Regards, Michael

ruby version: ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]

plucker commented 8 years ago

I get this as well when running "srd exec -y" but not with a simple "srd exec" with unchanged files. Also tried removing all files that would be parsed from my sifttter directory and still get the error!

plucker commented 8 years ago

Might be something to do with using the %time% option when there is no time in the entry - I also found that the reason this error was persisting even though I deleted the files is that the /tmp files are not cleared out when there is an error like this so they get used again when you re-run even though the original files were removed.

plucker commented 8 years ago

It looks like the txt files must have a time stamp in the form " at 07:53AM" as part of the @date line otherwise you get this error (and the script fails?)