[Kmymoney-devel] [Bug 286503] MySQL error while importing large QIF file.

Mac Michaels thebitpit at earthlink.net
Fri Nov 25 13:11:21 UTC 2011


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





--- Comment #3 from Mac Michaels <thebitpit earthlink net>  2011-11-25 13:11:21 ---
I agree that the likely problem is the MySQL server dropping the connection.  A
work around might be to extend the socket timeout in the MySQL server.  A
better fix consists of trying to reestablish the connection to the database
again.  Appropriate retry count and time between retries parameters are added
to the KMyMoney configuration file.  Other applications that use MySQL
reconnect because the database may be located in another machine on the network
and the network may have been interrupted.  This should be a general recovery
strategy for KMyMoney as several users on different machines may use the same
KMyMoney database. 


Another bug that is bothering me is the uncaught error when I canceled the
import after I realized that MySQL had a problem. It should not crash the
application, just abort and quit trying to rollback the database.

>....repeated error messages [see original post]
> 
>   I clicked continue and got the above sequence of 3 error message boxes
> several times.
> 
>   I clicked cancel and got the following error box:
> 
> Uncaught error. Please report the details to the developers
> details:
> Empty commit unit stack while trying to commit in file
> /vault2/distfiles/tmp/portage/app-office/kmymoney-4.6.1/work/kmymoney-4.6.1/kmymoney/mymoney/storage/mymoneystoragesql.cpp
> line 885

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