This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't open my kmymoney file

Tags: None
(comma "," separated)
Styx
Registered Member
Posts
3
Karma
0

Can't open my kmymoney file

Wed May 05, 2010 7:51 am
I've been working with version 3.96 and 3.97 without any problems, but all of a sudden the program crashed on startup. I reinstalled my system, and the program starts up fine, but when I want to open my file, it still crashes and it complains about an unknown account id. Any idea what I could do ?

Here's the terminal output :

kmymoney(17010)/kdecore (KSycoca): Trying to open ksycoca from "/var/tmp/kdecache-jorn/ksycoca4"
kmymoney(17010)/kdepimlibs (kabc) KABC::StdAddressBook::self: asynchronous= true
kmymoney(17010)/kresources KRES::Factory::self:
kmymoney(17010)/kresources KRES::ManagerImpl::ManagerImpl:
kmymoney(17010)/kresources KRES::ManagerImpl::readConfig:
kmymoney(17010)/kresources KRES::Factory::self:
kmymoney(17010)/kresources KRES::ManagerImpl::readResourceConfig: "36XtZLTSxb"
kmymoney(17010)/kresources KRES::Factory::Private::resourceInternal: ( "file" , config )
kmymoney(17010)/kdepimlibs (kabc) KABC::FormatFactory::self:
kmymoney(17010)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/jorn/.kde4/share/apps/kabc"
kmymoney(17010)/kdepimlibs (kabc) KABC::StdAddressBook::StdAddressBook:
kmymoney(17010)/kdepimlibs (kabc) KABC::StdAddressBook::self: calling init after instance creation
kmymoney(17010)/kresources KRES::Resource::open: Opening resource "Default Address Book"
kmymoney(17010)/kresources KRES::ManagerImpl::writeConfig:
kmymoney(17010)/kresources KRES::ManagerImpl::writeResourceConfig: Saving resource "36XtZLTSxb"
kmymoney(17010)/kresources KRES::Resource::writeConfig:
kmymoney(17010)/kresources KRES::ManagerImpl::writeConfig: Saving general info
kmymoney(17010)/kresources KRES::ManagerImpl::writeConfig: finished
kmymoney(17010)/kdepimlibs (kabc) KABC::AddressBook::asyncLoad:
kmymoney(17010)/kdepimlibs (kabc) KABC::ResourceFile::load: "/home/jorn/.kde4/share/apps/kabc/std.vcf" '
kmymoney(17010)/kdepimlibs (kabc) KABC::StdAddressBook::self:
kmymoney(17010)/kdepimlibs (kabc) KABC::StdAddressBook::self: asynchronous= false
kmymoney(17010)/kdecore (services): Now parsing "/opt/gnome/share/mime/magic"
kmymoney(17010)/kdecore (services): Now parsing "/usr/share/mime/magic"
kmymoney(17010)/kdecore (services): Now parsing "/home/jorn/.local/share/mime/magic"
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading currencies
reading prices
reading reports
endDocument
kmymoney(17010)/kdecore (services) MyMoneyForecast::addScheduledTransactions: void MyMoneyForecast::addScheduledTransactions() Schedule "SCH000020" ( "Motorcycle Tax" ): "Unknown account id 'A000111'"
nextPayment: 06/08/10
endDate:
nextPayment: 06/08/10
endDate:
nextPayment: 08/08/10
endDate:
nextPayment: 05/18/11
endDate:
nextPayment: 08/25/10
endDate:
nextPayment: 05/31/11
endDate:
kmymoney(17010)/kdecore (services) MyMoneyForecast::addScheduledTransactions: void MyMoneyForecast::addScheduledTransactions() Schedule "SCH000020" ( "Motorcycle Tax" ): "Unknown account id 'A000111'"
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'MyMoneyException*'
KCrash: Application 'kmymoney' crashing...
sock_file=/home/jorn/.kde4/socket-SUSEJorn/kdeinit4__0
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Can't open my kmymoney file  Topic is solved

Wed May 05, 2010 9:27 am
First step: make a backup copy of your KMyMoney data file.

Start KMyMoney with the -n option from the command line. Then goto the settings dialog, select the Home page and deselect all options in the list. Press OK and open your file (File/Open recent).

Next run Tools/Consistency check which should correct the problem (and report it in a dialog). Save the data as usual. Go back to the settings dialog and turn back on the options you want for the Home page. Then select the home page. You should not experience the crash anymore.

Hope I got everything right. In case you still experience problems, please get back here.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
Styx
Registered Member
Posts
3
Karma
0

Re: Can't open my kmymoney file

Wed May 05, 2010 9:37 am
Following this procedure and removing the faulty scheduled transaction did the trick.

Thanks a million !
Cammigirl
Registered Member
Posts
2
Karma
0

Re: Can't open my kmymoney file

Wed Oct 19, 2011 7:38 pm
I'm having a similar problem.......I think.

Since I'd downgraded to the original (can't remember which version it is) from 11.10, when I opened the program and tried to open my old file (which is on on-line storage), it would pop up a "select currency" screen and when I'd select my currency, it wouldn't open my file. When I tried to switch to another file, it would ask me if I wanted to save the changes. My file seems to either be lost or replaced with an empty database.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]