[Kmymoney-devel] [Bug 238060] KMyMoney crashes when online price update requested (for all prices)

Thomas Baumgart ipwizard at users.sourceforge.net
Thu May 20 10:48:49 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=238060


Thomas Baumgart <ipwizard at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |tonyb.sfkde at ntlworld.com
     Ever Confirmed|0                           |1




--- Comment #6 from Thomas Baumgart <ipwizard users sourceforge net>  2010-05-20 10:48:28 ---
Yep, it really looks the GnuCash importer caused this trouble. Here's what I
see in the anon file provided by Susannah who also confirms the import from
GNC:

  <PRICEPAIR from="E000019" to="USD">
   <PRICE price="143600/10000" source="Imported Transaction"
date="2007-11-28"/>
   :
   :
  </PRICEPAIR>

where E000019 links to the symbol MYL. In addition I see

  <PRICEPAIR from="USD" to="MYL">
   <PRICE price="359/25" source="Imported History" date="2007-11-28"/>
  </PRICEPAIR>

which is the same price on the same date but in a complete wrong format.

The file contained this scenario a second time, this time even weirder:

  <PRICEPAIR from="E000003" to="USD">
   <PRICE price="756200/10000" source="Imported Transaction"
date="2005-10-31"/>
   :
   <PRICE price="540100000/10000000" source="Imported History"
date="2007-05-15"/>
   <PRICE price="542800/10000" source="Imported Transaction"
date="2007-05-16"/>
   <PRICE price="538670000/10000000" source="Imported History"
date="2007-05-22">
   :
  </PRICEPAIR>

where E000003 links to the symbol AMGN. In addition I see

  <PRICEPAIR from="USD" to="AMGN">
   <PRICE price="58643/3183140" source="Imported History" date="2007-05-16"/>
  </PRICEPAIR>

though the price differs this time but the date is the same. The fun stuff is,
that this is based on the second imported transaction and I don't see something
like that generated for the first imported transaction referencing that
security.

So I would suggest to take a look at the part that causes price entries based
on transactions. I might be wrong though.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list