Your message dated Sun, 14 Aug 2022 06:37:54 -0300
with message-id <[email protected]>
and subject line closing again
has caused the Debian Bug report #740757,
regarding ledger: no longer reads gnucash files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
740757: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740757
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ledger
Version: 3.0.0~20140226+bedae81+dfsg1-1
Severity: normal
Dear Maintainer,
When reading uncompressed gnucash files ledger now emits tons of errors
and no useful output. Example:
$ zcat foo.gnucash | ledger -f - print
While parsing file "", line 3:
Error: Unexpected whitespace at beginning of line
While parsing file "", line 39:
...
$
Passing the uncompressed gnucash file (ledger -f foo.gnucash print)
causes a crash:
*** buffer overflow detected ***: ledger terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f52343f94c7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfc480)[0x7f52343f8480]
^[[?64;1;2;6;9;15;18;21;22c/usr/lib/ledger/libledger.so.3(+0x20f3c7)[0x7f52351eb3c7]
/usr/lib/ledger/libledger.so.3(+0x20f975)[0x7f52351eb975]
/usr/lib/ledger/libledger.so.3(_ZN6ledger10parse_dateEPKc+0xb)[0x7f52351eba2b]
/usr/lib/ledger/libledger.so.3(+0x17af92)[0x7f5235156f92]
/usr/lib/ledger/libledger.so.3(_ZN6ledger9journal_t12read_textualERNS_21parse_context_stack_tE+0x1d0)[0x7f523515add0]
/usr/lib/ledger/libledger.so.3(_ZN6ledger9journal_t4readERNS_21parse_context_stack_tE+0x6b)[0x7f523516471b]
/usr/lib/ledger/libledger.so.3(_ZN6ledger9session_t9read_dataERKSs+0x3c1)[0x7f5235136b11]
/usr/lib/ledger/libledger.so.3(_ZN6ledger9session_t18read_journal_filesEv+0x81)[0x7f5235137941]
ledger(_ZN6ledger14global_scope_t15execute_commandESt4listISsSaISsEEb+0xb87)[0x433197]
ledger(_ZN6ledger14global_scope_t23execute_command_wrapperESt4listISsSaISsEEb+0xe8)[0x4340b8]
ledger(main+0x1a8)[0x428f58]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f523431d995]
ledger[0x4296f3]
Earlier versions of ledger (2.6.2-3.1) did successfully read
uncompressed gnucash files, so this is a regression.
If the support for reading gnucash files was removed intentionally, are
you aware of any other means to convert gnucash files to ledger format?
Helmut
--- End Message ---
--- Begin Message ---
None of the conditions for closing the bug (discussed above) have
changed. I'm sorry you've lost this functionality, but there is nothing
we can do about it in Debian.
d
--- End Message ---