After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726220 - Cannot import QIF data when "P" has no text after it
Cannot import QIF data when "P" has no text after it
Status: RESOLVED DUPLICATE of bug 583269
Product: GnuCash
Classification: Other
Component: Import - QIF
2.6.2
Other Linux
: Normal major
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-13 07:45 UTC by mike
Modified: 2018-06-29 23:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mike 2014-03-13 07:45:48 UTC
The following error message is given to the user on import after tying transactions to accounts. Also happens on 2.4.13


A bug was detected while converting the QIF data.

The problem is in the QIF file where P has no text after it. 

A good entry:
D21/12/12
T-23.85
PMoore Wilsons
MRef=21-17:29-275,Part=************,Code=4535   61275
^

A bad one that caused the error:
D21/12/12
T-5.00
P
MPart=DD Service Ch,Code=arge
^

This was from a NZ westpac internet banking download. 

Trace as follows:  (note first line was before I pressed start)


* 20:43:07  CRIT <gnc.import.qif.import> gnc_ui_qif_import_commodity_new_prepare: assertion 'qpage != NULL' failed
* 20:43:16  WARN <gnc.scm> In ice-9/boot-9.scm:
 157: 17 [catch #t #<catch-closure 10ec3c0> ...]
In unknown file:
   ?: 16 [apply-smob/1 #<catch-closure 10ec3c0>]
In ice-9/boot-9.scm:
 157: 15 [catch ignore #<procedure 22dbcf0 at gnucash/main.scm:112:4 ()> ...]
In unknown file:
   ?: 14 [lazy-catch #t #<procedure 22dbc90 at gnucash/main.scm:114:18 ()> ...]
In ice-9/boot-9.scm:
 171: 13 [with-throw-handler #t #<catch-closure 32f4980> #<catch-closure 32f4960>]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 32f4980>]
In ice-9/boot-9.scm:
 157: 11 [catch cancel ...]
 157: 10 [catch bad-date #<procedure private-convert ()> ...]
In qif-import/qif-to-gnc.scm:
 370: 9 [private-convert]
In srfi/srfi-1.scm:
 619: 8 [for-each #<procedure 28b7840 at qif-import/qif-to-gnc.scm:371:7 (qif-file)> ...]
 616: 7 [for-each #<procedure 256de70 at qif-import/qif-to-gnc.scm:377:10 (xtn)> #]
In qif-import/qif-to-gnc.scm:
 392: 6 [#<procedure 256de70 at qif-import/qif-to-gnc.scm:377:10 (xtn)> #]
 521: 5 [qif-import:qif-xtn-to-gnc-xtn # # # ...]
In srfi/srfi-1.scm:
 619: 4 [for-each #<procedure 3406e00 at qif-import/qif-to-gnc.scm:522:11 (qif-split)> ...]
In qif-import/qif-to-gnc.scm:
 578: 3 [#<procedure 3406e00 at qif-import/qif-to-gnc.scm:522:11 (qif-split)> #]
In ice-9/boot-9.scm:
1302: 2 [#<procedure 1ab98d0 at ice-9/boot-9.scm:1301:4 (obj)> #f]
 102: 1 [#<procedure 274d280 at ice-9/boot-9.scm:97:6 (thrown-k . args)> wrong-type-arg ...]
In unknown file:
   ?: 0 [apply-smob/1 #<catch-closure 32f4960> wrong-type-arg ...]
ERROR: In procedure apply-smob/1:
ERROR: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
Comment 1 Geert Janssens 2014-11-12 10:51:46 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 583269 ***
Comment 2 John Ralls 2018-06-29 23:28:18 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=726220. Please update any external references or bookmarks.