All pastes #737909 Raw Edit

possible crash bug in gnucash

public text v1 · immutable
#737909 ·published 2007-10-15 20:47 UTC
rendered paste body
start gnucash
File->New->New File
use defaults in setup druid
File->Import->Import QIF
select qif such as one downloaded from an online Bank

----------------------------------------
ana@betty:gnucash$ file /home/ana/downloads/tmp/Checking1.qif
/home/ana/downloads/tmp/Checking1.qif: \012- Assembler source
ana@betty:gnucash$ head /home/ana/downloads/tmp/Checking1.qif
!Type:Bank
D10/11/2007
T-58.29
C*
N1814
PCHECK
^
D10/11/2007
T-157.40
C*
----------------------------------------

Press Forward.
  Heading is now: "Set the default QIF account name"
  "Account name" box is filled with "Checking1" by default.  leave it.
Press Forward.
  Heading is now: "QIF files you have loaded"
Press Forward.
  Heading is now: "Match QIF accounts with GnuCash accounts"
Press Back.
  Heading is now: "QIF files you have loaded"
Press Back, again.
  Heading is now: "QIF files you have loaded"  (this is another bug)
Press Back, again.
  Heading is now: "Set the default QIF account name"
  "Account name" box is still filled with "Checking1" by default.
Change value of "Account name" box from default ("Checking1" in my example)
 to anything else.  "Checking2" for example
Press Forward.
gnucash crashes and prints this, presumably on stderr:

This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel@gnucash.org.
You can also lookup and file bug reports at http://bugzilla.gnome.org
The last stable version was GnuCash 2.2.1
The next stable version will be GnuCash 2.4

Found Finance::Quote version 1.13
Backtrace:
In unknown file:
   ?: 0* [qif-import:fix-from-acct #f "Checking2"]
In /opt/gnucash/share/gnucash/scm/qif-import/qif-dialog-utils.scm:
 558: 1* [for-each #<procedure #f (xtn)> ...
 562: 2*  [qif-file:xtns #f]
In unknown file:
   ?: 3   (and (eq? (quote #) (record-type-descriptor obj)) (struct-ref obj 2))
   ?: 4*  [eq? #<record-type qif-file> ...
   ?: 5*   [record-type-descriptor #f]
   ?: 6    (if (struct? obj) (struct-vtable obj) (error (quote not-a-record) obj))
     ...
   ?: 7    [scm-error misc-error #f "~A ~S" (not-a-record #f) #f]

<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: not-a-record #f