Bug 261767 - Crashes opening .kmy file generated from previous version.
Summary: Crashes opening .kmy file generated from previous version.
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 3.98.x
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 05:29 UTC by Kyle
Modified: 2011-01-10 15:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle 2011-01-01 05:29:42 UTC
Version:           3.98.x (using KDE 4.4.4) 
OS:                MS Windows

First off, I must note that I'm attempting to utilize KMyMoney for Windows on a Window 7 Pro x64 setup using the Windows XP Service Pack 2 compatibility mode.

When attempting to open a .kmy file generated from a previous version of KMyMoney (0.9.2, KDE 3.5.10) KMyMoney 3.98.1 crashes, generating the following error:

-----------------------------------------------------------------------
- Error Reported by KMyMoney
-----------------------------------------------------------------------
Error - kmymoney

Uncaught error. Please report the details to the developers

Details
Unknown account id 'A000230' in file C:\kde\kde-vc90-stable\build\testing\kmymoney-20091106\work\kmymoney-3.98.1\kmymoney\mymoney\storage\mymoneyseqaccessmgr.cpp line 147
-----------------------------------------------------------------------

-----------------------------------------------------------------------
- Error As Reported by Windows 7 (x64)
-----------------------------------------------------------------------
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	kmymoney.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4c0df176
  Fault Module Name:	MSVCR90.dll
  Fault Module Version:	9.0.30729.4926
  Fault Module Timestamp:	4a1743c1
  Exception Code:	40000015
  Exception Offset:	0005bb47
  OS Version:	6.1.7600.2.0.0.256.48
  Locale ID:	1033
  Additional Information 1:	6449
  Additional Information 2:	6449876d8c9f9b5ad6ec71e787e9bbaa
  Additional Information 3:	693b
  Additional Information 4:	693b23f8569fcf300c1e743e49b2a9f1

Reproducible: Always




OS: WindowsNT (i686) release Windows XP
Compiler: cl.exe
Comment 1 Thomas Baumgart 2011-01-08 09:16:01 UTC
Somewhere in your data file there is a reference to an account with ID A000230 which does not seem to exist (anymore). Use a working version (the older one) and run "Tools/Consistency check" to resolve the issue. If you don't have access to an older version, it is a matter of fixing the KMyMoney file (XML). Should be doable.
Comment 2 Kyle 2011-01-10 14:44:43 UTC
Awesome! Running the "Consistency Check" upon the file using the older
version properly identified the account in question.  Upon deleting this the
file now open perfectly on the new system.

Thanks for the help!
-Kyle



On Sat, Jan 8, 2011 at 1:16 AM, Thomas Baumgart <
ipwizard@users.sourceforge.net> wrote:

> https://bugs.kde.org/show_bug.cgi?id=261767
>
>
>
>
>
> --- Comment #1 from Thomas Baumgart <ipwizard users sourceforge net>
>  2011-01-08 09:16:01 ---
> Somewhere in your data file there is a reference to an account with ID
> A000230
> which does not seem to exist (anymore). Use a working version (the older
> one)
> and run "Tools/Consistency check" to resolve the issue. If you don't have
> access to an older version, it is a matter of fixing the KMyMoney file
> (XML).
> Should be doable.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Alvaro Soliverez 2011-01-10 15:10:07 UTC
Running the consistency check solved the problem. That is now a standard feature before saving the file, which prevents similar problems in the future