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 760111 - Get a bug was detected message twice, once I click start import qif
Get a bug was detected message twice, once I click start import qif
Status: RESOLVED DUPLICATE of bug 756335
Product: GnuCash
Classification: Other
Component: Import - QIF
2.6.10
Other Linux
: Normal normal
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-04 00:39 UTC by twkirk
Modified: 2018-06-29 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qif file that causes the error (1.48 KB, text/plain)
2016-01-04 00:39 UTC, twkirk
Details
trace file (4.50 KB, text/plain)
2016-01-04 00:40 UTC, twkirk
Details

Description twkirk 2016-01-04 00:39:26 UTC
Created attachment 318197 [details]
qif file that causes the error

Attempting to import the attached qif file
get message "A bug was detected" twice after I click the button to start the import.
It is possible that the qif file has errors as I'm creating it using a perl program from a csv file exported from another app
Comment 1 twkirk 2016-01-04 00:40:32 UTC
Created attachment 318198 [details]
trace file

trace file produced by importing the qif file attached.
Comment 2 John Ralls 2016-01-04 00:52:27 UTC
I think this is probably a dupe of bug 756335. There's a very simple edit noted over there that will fix this if it is, please try it if you're able.
Comment 3 twkirk 2016-01-04 04:06:02 UTC
I've made all of the changes that I can see in the comments to bug 756335: those from comments 4 & 10 were already included in the PPA that I use.  I made the change in comment 18 and then reversed the patch from comment 10 as per comment 21 and that fixed the original crash (bug 760053).
I have made the change noted in comment 27, but that didn't fix the problem.
The problem occurs after the screens to create any new accounts needed (where you can change the account association selected by Gnucash); click forward (if I recall correctly) and then Start to perform the import.  I can send screen-caps if that would help.
Comment 4 John Ralls 2016-01-04 04:46:01 UTC
Darn. I should have given more explicit instructions. The only things you should have done are to reverse the patch from comment 10 and make the change in comment 27.

If make just those changes I can successfully import your test file.

What specific Linux distro/version do you have and what version of Guile is installed?
Comment 5 twkirk 2016-01-04 13:16:27 UTC
Distro: Ubuntu 14.04 LTS 64-bit
when I enter guile -v at the command line, I get version 2.0.9; not sure if this is the correct way to do this

On the patches, I think that I need to reverse the patch from comment 18 to get to your recommendations in comment 4 of this bug. The patch from comment 4 of bug 756335, with the change from comment 27 should be OK. Just want to be sure I'm doing the right thing, or this will get really confusing for both of us.
Thanks
Comment 6 John Ralls 2016-01-04 15:04:54 UTC
Yes, except that you're reversing the patch from comment 4 ob bug 756335.

In GnuCash 2.6.10 it's at line 901 of qif-file.scm, and you want it to look like
  (if val
The change in comment 27 is at line 422 of qif-parse.scm, and you want it to be
  (set! retval #f)
Comment 7 phil737 2016-01-06 20:54:03 UTC
I have the same issue. Can't import any qif file since I migrated to 2.6.10. Have 2 error messages just as mentioned. Reverted to 2.6.9 and everything works perfectly.

Phil
Comment 8 twkirk 2016-01-10 01:41:19 UTC
It worked!
Yippee
Thanks for helping with this!
Terry
Comment 9 John Ralls 2016-01-10 04:32:26 UTC

*** This bug has been marked as a duplicate of bug 756335 ***
Comment 10 John Ralls 2018-06-29 23:45:51 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=760111. Please update any external references or bookmarks.