I should have put some more info in my previous report. I added a lot of debug in csvprocessing.cpp to track this bug. Everything is working fine until amount is converted in MyMoneyMoney class : - amount is correctly detected in csv file - decimal symbol and thousand operator are correctly detected from KDE settings - decimal symbol and thousand operator positions are correctly detected
But, when the amount is (implicitely) converted to MyMoneyMoney class and assigned to Transaction in csvImportTransaction function, something is going wrong. Here is an example : If I import an amount of "-1039,03" EUR, I can see in debug logs that this number is correctly processed, but after assignment, the result is "-103903/1" in place of "-103903/100". It seems to be a problem in implicit conversion of a string to a MyMoneyMoney class (compiler optimization?). By forcing an instanciation of a MyMoneyMoney class, the conversion is correct. It seems that this bug has been corrected in Kmymoney git repository in csvdialog.cpp : http://quickgit.kde.org/index.php?p=kmymoney.git&a=commit&h=ff75edf07655f814de489e336d7f5c501a7540c0 I filled this bug as important as Kmymoney is unusable in wheezy/sid if you want to import some data from csv files. Regards, Nicolas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org