[Kmymoney-devel] [Bug 274656] KMoney4 crashes trying to open file saved in KMYMoney1

Wayne Harris wayne at realflorida.net
Wed Jun 1 13:43:05 CEST 2011


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





--- Comment #2 from Wayne Harris <wayne realflorida net>  2011-06-01 13:43:03 ---
Thank you, Cristian!

On Wed, 2011-06-01 at 06:39 +0200, Cristian Onet wrote:
> https://bugs.kde.org/show_bug.cgi?id=274656
> 
> 
> 
> 
> 
> --- Comment #1 from Cristian Onet <onet cristian gmail com>  2011-06-01 06:39:20 ---
> The crash you have reported is caused by inconsistent data in your file namely
> a price with value zero. There are several ways to fix this.
> 1. If you still have version 1.x open the file and run a consistency check
> 2. If you don't have version 1.x anymore you'll have to manually remove the
> zero price from your file, please make a backup first, then:
>   2a. in a terminal type 'zcat your_file.kmy > editable_file.xml'
>   2b. open editable_file.xml with your favorite text editor
>   2c. Locate the PRICE element which have an attribute price="0" or 0/something
>   2d. Remove all prices fitting the above condition (make sure to preserve the
> xml file structure)
>   2e. Open the resulting file with the new version of kmymoney and save it
> after that
>

-- 
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