Summary: | can not import gnucash data | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jaime Torres <jtamate> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | farkmischer, phil |
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The minimal gnucash xml file I can get to reproduce the bug |
Description
Jaime Torres
2011-10-12 09:28:02 UTC
Could you attach a Gnu Cash testfile with which to reproduce this? I'm asking you this because if you stumbled upon this bug it would be much easier for you to create a Gnu Cash test file with something similar that you have in the real file for account 'f38ce96bcaf79d5e99bc7d5ae6234444'. Without that the chances of fixing this are pretty low since we (the development team) barely have time so we tend to concentrate on fixing the bugs which are straight forward to reproduce. While I'm stripping the xml file to the minimum expression to reproduce the problem, and removing personal data... One simple thing can be done: Instead of showing the account-id in the message box, please show the act:name or the act:description (or both). Created attachment 66756 [details]
The minimal gnucash xml file I can get to reproduce the bug
The problem seems to be the programmed event. When I remove it from the file, no problem importing. In any case, no input file should never affect kmymoney the way it does. (Version 4.6.90-085723bfcd)
Git commit b570d0c62808a9e1f5333178bc7d06f6d1825852 by Cristian Oneț. Committed on 14/12/2011 at 21:02. Pushed by conet into branch 'master'. Disable MyMoneyFile signals while we import a GnuCash file. This is needed to avoid updating views while the import is not finished and the data in the MyMoneyFile is not ready to be used. BUG: 283848 M +3 -2 kmymoney/converter/mymoneygncreader.cpp http://commits.kde.org/kmymoney/b570d0c62808a9e1f5333178bc7d06f6d1825852 Git commit 628049a0d28397fde8bfecdd03b3682419bb90d7 by Cristian Oneț. Committed on 14/12/2011 at 21:02. Pushed by conet into branch '4.6'. Disable MyMoneyFile signals while we import a GnuCash file. This is needed to avoid updating views while the import is not finished and the data in the MyMoneyFile is not ready to be used. BUG: 283848 M +3 -2 kmymoney/converter/mymoneygncreader.cpp http://commits.kde.org/kmymoney/628049a0d28397fde8bfecdd03b3682419bb90d7 Thanks Cristian Onet, I confirmed this bug and patch in KMyMoney 4.6.1 on FreeBSD 9 x86-64. I was unable to import a Gnucash 2.4.7 XML file. This was a showstopper for me to convert to KMyMoney. I applied the 2011-12-14 mymoneygncreader.cpp file, recompiled, and the import error was resolved. Confirmation steps: Prior to the bugfix, I also saw the message "unknown account ID" message. I reviewed the gnucash XML and saw the unknown account was a placeholder account called "Retirement", which only contained other accounts. After the fix, this particular account was imported as "Asset > Assets > Investments > Retirement", and contained the other real accounts. I also saw the "no storage object" message, and was unable to save the file. After the patch, I have confirmed that the file imported, saved, and re-opened. *** Bug 297186 has been marked as a duplicate of this bug. *** |