default journal file has wrong line endings on windows #51

simonmichael opened this Issue Apr 8, 2013 · 3 comments


None yet

1 participant


Original author: (June 10, 2011 17:16:16)

shapeless: When I start ... I receive this error:
Its caused by the initial creation of the .hledger.journal-file with windows line endings. When the file is converted manually, all works fine from then.

Original issue:


From on September 21, 2011 23:56:37
For reference:

Microsoft Windows XP Version 5.1.2600 Copyright 1985-2001 Microsoft Corp.

hledger-web-0.14-windows-i386.exe: could not parse journal data in C:\Dokumente
und Einstellungen\User.hledger.journal
"C:\Dokumente und Einstellungen\User.hledger.journal" (line 2, column 1):
unexpected '\r'
expecting journal transaction or directive or end of input


From on September 27, 2011 20:57:19
I see this was fixed in 0.15, by using unix line endings consistently, even on windows. This was easiest and hopefully doesn't cause much pain.


From on September 27, 2011 21:06:13
No, my mistake. The fix described is in darcs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment