Bug 425847 - Error in function bool MyMoneyStorageSql
Summary: Error in function bool MyMoneyStorageSql
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: database (show other bugs)
Version: 5.1.0
Platform: Manjaro Linux
: NOR grave
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-26 20:56 UTC by Piotr
Modified: 2021-03-11 15:45 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 Piotr 2020-08-26 20:56:03 UTC
Error in function bool MyMoneyStorageSql::writeFile() : starting commit unit
Driver = QPSQL, Host = localhost, User = piotr, Database = money
Driver Error: 
Database Error No -1: 
Text: 
Error type 0
Executed: 
Query error No -1: Driver not loaded Driver not loaded
Error type 1 /build/kmymoney/src/kmymoney-5.1.0/kmymoney/plugins/sql/mymoneystoragesql.cpp:359

STEPS TO REPRODUCE
1. Connect database to PostgreSQL 
2. Add 1 account
3. Close application
Comment 1 Jack 2021-01-25 23:33:45 UTC
I'm working on a different error when using Postgresql, and want to be sure this is not related.  What version of postgresql are you using?  Also, please be more specific as to exactly when the error appears.  If you just get a popup, try running from command line, in case there is more context to the error.

Does this really happen when you close the application, or when you try to save the data.  If the latter, does the new data get saved?  If not, when did you last successfully save to a postgresql database?
Comment 2 Bug Janitor Service 2021-02-09 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Piotr 2021-02-09 22:09:26 UTC
I was using the latest version of Postgresql. 
I use different then english version of program, so I will try to explain step by step.
I connect to database during creating new file. Here everything was ok, without error. Click in option "Generate SQL database"
Comment 4 Piotr 2021-02-09 22:46:09 UTC
Please scratch previous comment. 
I was using the latest version of Postgresql on Docker. 
I use different then english version of program, so I will try to explain step by step.
I connect to database during creating new file. Here everything was ok, without error. Click in option "Generate SQL database". I entered new account. Open window add new account. 
Then I closed application to check if everything was added to database. When I click X button this error occurred. Maybe I set up something incorrectly I don't know :(
Comment 5 Bug Janitor Service 2021-02-24 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-03-11 04:33:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 7 Jack 2021-03-11 15:45:01 UTC
A recent commit to master and 5.1 fixed a different postgresql error, but it's not clear whether this is related or not.  I'm reopening so we can track it.