Another neat bug in current-CVS (hit import, go boom! :)
Derek Atkins
warlord@MIT.EDU
09 Feb 2001 13:39:19 -0500
grib@gnumatic.com (Bill Gribble) writes:
> On Fri, Feb 09, 2001 at 12:46:25PM -0500, Derek Atkins wrote:
> > I can reliably get GnuCash to crash by just hitting the 'import QIF'
> > button from the main page. When this happens I get:
>
> I can't reproduce this error, and though the version of the QIF
> importer I am using is slightly different from the one in CVS, I can't
> imagine how the error you quoted could ever occur. I am guessing the
> problem is g-wrap related; could you do a 'make clean' and rebuild and
> try again?
>
> What version of g-wrap do you have installed?
>
> Thanks,
> b.g.
Just for kicks I just did a complete rebuild and re-install (clearing
out the directories beforehand). I also checked and I am up-to-date
with CVS as of a couple minutes ago.
However, I still crash. This is on RedHat 6.2, guile 1.3, g-wrap 1.1.9.
I'm compiling with --disable-guppi --enable-sql.
Here is the backtrace when I hit the 'import' button:
Backtrace:
0* [gnc:main]
1* (if (null? gnc:*batch-mode-things-to-do*) (begin (gnc:hook-add-dangler gnc:*ui-shutdown-hook* gnc:ui-finish) (gnc:ui-init) ...) ...)
2 (begin (gnc:hook-add-dangler gnc:*ui-shutdown-hook* gnc:ui-finish) (gnc:ui-init) ...)
3* (if (and (not #) (equal? # 1)) (begin (gnc:show-new-user-window) (gnc:start-ui-event-loop)) ...)
4 (begin (gnc:load-account-file) (gnc:default-ui-start) ...)
5 [gnc:start-ui-event-loop]
6* [qif-import:load-map-prefs]
7* (let* ((pref-dir #) (pref-filename #) (results #)) (if (and # # ...) (with-input-from-file pref-filename #) ...) ...)
8* (let* ((all-accounts #) (all-account-info #)) (set! results (cons all-account-info results)))
9* [extract-all-account-info #<gw:wcp <gnc:AccountGroup*> 0x82143d0> #f]
10 (if (not agroup) (quote ()) ...)
11 (let ((children-list #) (names #)) (for-each (lambda # #) children-list) ...)
12* [gnc:group-get-account-list #<gw:wcp <gnc:AccountGroup*> 0x82143d0>]
/usr/gnucash/share/gnucash/scm/qif-import/qif-guess-map.scm:34:30: In procedure gnc:group-get-account-list in expression (gnc:group-get-account-list agroup):
/usr/gnucash/share/gnucash/scm/qif-import/qif-guess-map.scm:34:30: Wrong type argument in position 1: %S
ABORT: (wrong-type-arg)
Any hints how I can help you debug this?
-derek
--
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@MIT.EDU PGP key available