crash on TXF export
Derek Atkins
warlord at MIT.EDU
Sun May 16 11:11:29 EDT 2004
Benji Fisher <benji at member.ams.org> writes:
>> Upgrade to 1.8.9 and try again.
>
> I'll try this, even though it is just a single point upgrade, not
> the 8 upgrades that my initial post suggested ... (download; tar xz;
> ./configure; make; make check; sudo make install;
> /usr/local/bin/gnucash; check Help->About to make sure that I am using
> the newly compiled version; Report->Tax Report; Export button, choose
> TXF format, choose a file name for the export; click on the OK button ...)
1.8.8 to 1.8.9 wouldn't have made any difference here, but that you
for upgrading anyways. ;)
> Same result: instant crash. One difference is that I started from
> the command line, instead of the GNOME menu, so I can report an error
> message. See below.
AHA! You see, you should ALWAYS start from the command-line when reporting
a fault. Always always always.
> --Benji Fisher
Thanks for the backtrace. Can you copy this into a bug report at
http://bugzilla.gnome.org so we can track this down? This is clearly
(yet another) guile-1.6 issue that we never tracked down during
testing.
Thanks,
-derek
> [benji at localhost gnucash-1.8.9]$ /usr/local/bin/gnucash
> Backtrace:
> In unknown file:
> ?: 0* [#<procedure #f #> # txf /home/benji/temp/Quicken/May04.txf]
> In /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:
> 823: 1* [generate-tax-or-txf Taxable Income / Deductible Expenses ...]
> In unknown file:
> ?: 2 (letrec (# #) (gnc:report-starting reportname) (let* # #))
> In /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:
> ...
> 729: 3 (let* (# # #) (gnc:display-report-list-item output-txf port ...) ...)
> 731: 4* [map #<procedure #f (x)> (# # # # ...)]
> In unknown file:
> ?: 5 (if (null? rest) (map1 f list1) ...)
> ...
> ?: 6 (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
> ?: 7* [set-cdr! (("" "")) ...
> ?: 8* [list ...
> ?: 9* [#<procedure #f (x)> #<gw:wcp <gnc:Account*> 0x82e5808>]
> In /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:
> 731: 10 [handle-level-x-account 1 #<gw:wcp <gnc:Account*> 0x82e5808>]
> ...
> 677: 11 (let (#) (if # #) (if # #) ...)
> 678: 12* (if tax-mode? (render-level-x-account table level ...) ...)
> 683: 13 [list ...
> 684: 14* (if # # #)
> 685: 15 [render-txf-account # # #f ...]
> ...
> 280: 16 (let* (# # # # ...) (list # crlf # ...))
> 297: 17* (if (eq? type #) (case # # #) Expense)
> 298: 18 (case (string->symbol code) ((N286 N488) ReinvD) (else Income))
> 298: 19* [string->symbol N460]
>
> /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:298:34: In procedure string->symbol in expression (string->symbol code):
> /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:298:34: Wrong type argument in position 1 (expecting STRINGP): N460
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list