[Kmymoney-devel] [Bug 302181] Problems with libalkimia - was Problems importing CSV files

allan agander93 at gmail.com
Wed Jun 20 10:13:31 UTC 2012


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

--- Comment #5 from allan <agander93 at gmail.com> ---
Sorry for causing the confusion.  During debugging, I had traced the cause to
the 
tr.m_amount = m_trData.amount statement and had found that
tr.m_amount.decimalSeparator() produced a '.' when it should have been a ','.
I tried a couple of 'fixes' which didn't work, and monitoring the libAlkimia
ctor, I found it too was producing the wrong separator,  decided I needed help,
so changed the heading to include libalkimia, as I thought that was the problem
area.  Before submitting the revised bug entry, the original poster responded
that he had now switched to 4.6.2 and still had the problem, and I then
realised that the problem had been fixed in git rather than 4.6.2.  I had been
thinking the problem might lie with the change to the libAlkimia version, but
now realised that wasn't the case.

With further monitoring of the libalkimia ctor, I found the separator was
correct during KMM startup, but changed as the csvplugin started, before it
manipulated the decimal separator.  I traced the problem ctors to the
initialisation of three mymoneymoney instances.  Casting these to libalkimia
fixed them, but not the failing csv file.  It was then I found that in git I
had changed the 
tr.m_amount = m_trData.amount statements to 
tr.m_amount = MyMoneyMoney(m_trData.amount).

I then submitted the bug entry with the confusing heading.  To be fair to
myself, it does say 'Problem with...', not 'Problem in...', and I did need to
get some help.

The change in git was introduced last November, related to the change to wizard
structure, one of several changes.  It was not back-ported.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list