When configuring a transaction report, gnucash crashes with the python
traceback below. When starting gnucash, the lines in the traceback up
to and including "Found Finance::Quote version 1.18" occur immediately,
but gnucash seems to start normally, with my previously open register
windows opened.
I select Transaction Report which brings up an empty report (No accounts
selected). I select Options. On the General tab I change start and end
dates to start and end of previous year. On the Sorting tab I change
secondary subtotal for date key to none. I click Apply and there is no
change in the report (expected, because I haven't selected any
accounts), and there is no additional console output. Now, on the
Accounts tab I select Expenses and then Select Children. When I select
Apply, the remainder of the traceback is printed and the gnucash window
disappears.
Prior to upgrading from 1:2.6.1-2 to 1:2.6.2-1, the lines beginning
"Traceback..." through "ImportError..." did not occur; on startup, the
first line of console output was "Found Finance::Quote version 1.18".
However, the crash did occur in version 1:2.6.1-2 (current testing).
The only reason I upgraded gnucash from testing to unstable was to
determine if this bug existed in the newest version.
...Marvin
$ gnucash
Traceback (most recent call last):
File "/usr/share/gnucash/python/init.py", line 3, in <module>
from gnucash import *
ImportError: No module named gnucash
Found Finance::Quote version 1.18
In report.scm:
770: 19 [gnc:report-run 0]
In unknown file:
?: 18 [gnc-set-busy-cursor () #t]
In ice-9/boot-9.scm:
157: 17 [catch #t #<catch-closure 36beb20> #<catch-closure 36beb00> #f]
In unknown file:
?: 16 [apply-smob/1 #<catch-closure 36beb20>]
In ice-9/boot-9.scm:
171: 15 [with-throw-handler #t #<catch-closure 36be8c0> #<catch-closure 36be7e0>]
In unknown file:
?: 14 [apply-smob/1 #<catch-closure 36be8c0>]
?: 13 [call-with-input-string "(gnc:report-run 0)" ...]
In ice-9/boot-9.scm:
2320: 12 [save-module-excursion #<procedure 3667e40 at ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
44: 11 [read-and-eval #<input: string 312a410> #:lang ...]
37: 10 [lp (gnc:report-run 0)]
In report.scm:
771: 9 [gnc:report-run 0]
In ice-9/boot-9.scm:
157: 8 [catch ignore #<procedure 3667c30 at gnucash/main.scm:112:4 ()> ...]
In unknown file:
?: 7 [lazy-catch #t #<procedure 3667bd0 at gnucash/main.scm:114:18 ()> ...]
In ice-9/boot-9.scm:
171: 6 [with-throw-handler #t #<catch-closure 36be2c0> #<catch-closure 36be2a0>]
In unknown file:
?: 5 [apply-smob/1 #<catch-closure 36be2c0>]
In report.scm:
775: 4 [#<procedure 3667c60 at report.scm:772:5 ()>]
754: 3 [gnc:report-render-html # #t]
In html-document.scm:
196: 2 [gnc:html-document-render # #t]
In ice-9/boot-9.scm:
102: 1 [#<procedure 347cc00 at ice-9/boot-9.scm:97:6 (thrown-k . args)> vm-error ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 36be2a0> vm-error ...]
Aborted