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 511681 - "unknown Security slot G" messages in console during QIF security import
"unknown Security slot G" messages in console during QIF security import
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Import - QIF
2.2.x
Other All
: Normal trivial
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks: backport
 
 
Reported: 2008-01-24 00:13 UTC by William Hamblen
Modified: 2018-06-29 22:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (548 bytes, patch)
2008-01-24 01:49 UTC, William Hamblen
committed Details | Review

Description William Hamblen 2008-01-24 00:13:09 UTC
Please describe the problem:
When Quicken exports a security list there can be an extra line in the QIF file for "investing goal" (aka an asset class).  This line starts with a G.  GnuCash currently ignores these - and rightly so because at the moment there is no concept of asset classes in GnuCash - but the importer prints the "unknown Security slot G" warning in the console for each security like this.

That looks messy.  Since we do know what the G line is for, I suggest adding logic to the importer to silently discard this info.  Or at least explicitly say what's happening rather than just using the generic "unknown slot" message.

Here is a sample:

!Type:Security
NVanguard 500 Index
SVFINX
TMutual Fund
GLarge Cap

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 William Hamblen 2008-01-24 01:49:12 UTC
Created attachment 103596 [details] [review]
Proposed patch

I started looking at the code and I think the fix is so trivial that even I, completely ignorant of Scheme, can create a patch.  So here it is.
Comment 2 Charles Day 2008-01-26 03:55:29 UTC
Looks good to me... thanks!  My first one was tiny too (see bug 491581).
Comment 3 Josh Sled 2008-02-01 00:19:15 UTC
In the future, please generate your diff from the top-level of the source tree ... in this case in particular, there are actually two "qif-file.scm"s in the source tree, so I had to inspect them manually to figure out which one to patch. :)
Comment 4 Josh Sled 2008-02-01 00:56:25 UTC
trunk@16908, awaiting backport for 2.2.4.  thanks! :)
Comment 5 Andreas Köhler 2008-02-03 02:20:53 UTC
Applied to branches/2.2 as r16919 for GnuCash 2.2.4.
Thanks a lot!
Comment 6 John Ralls 2018-06-29 22:00:10 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=511681. Please update any external references or bookmarks.