[kmymoney] [Bug 406990] New: No storage object attached to MyMoneyFile

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Apr 27 21:59:13 BST 2019


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

            Bug ID: 406990
           Summary: No storage object attached to MyMoneyFile
           Product: kmymoney
           Version: 5.0.0
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: database
          Assignee: kmymoney-devel at kde.org
          Reporter: lp.allard.1 at gmail.com
  Target Milestone: ---

SUMMARY
Just installed KMM 5 from the Linux Mint 19.1 basic repos, and I cannot open my
MySQL remote database that was until recently being used by KMM 4.7.2.

I get the following message:

No storage object attached to MyMoneyFile in file
/build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp line 225

Then KMM crashes hard.

Alternatively, if I dont get the above error, KMM complains:

Error in function int MyMoneyStorageSql::open(const QUrl&, int, bool) : opening
database
Driver = QMYSQL, Host = database-server, User = kmymoney-TESTING, Database =
/kmymoney-TESTING
Driver Error: QMYSQL: Unable to connect
Database Error No 1044: Access denied for user 'kmymoney-TESTING'@'workstation'
to database '/kmymoney-TESTING'
Text: Access denied for user 'kmymoney-TESTING'@'workstation' to database
'/kmymoney-TESTING' QMYSQL: Unable to connect
Error type 1
Executed: 
Query error No -1:  
Error type 0

However, I can connect to the database "kmymoney-TESTING" just fine via MariaDB
CLI from computer "workstation" and permissions or credentials on the DB server
have NOT changed so this is not really a permission issue IMO.

STEPS TO REPRODUCE
1. Have a working KMM 4.7.2 DB on MySQL server
2. Upgrade KMM to 5.0.0
3. Observe the above errors and cannot use KMM.

OBSERVED RESULT
See above desc.

EXPECTED RESULT
Should connect to the DB server

SOFTWARE/OS VERSIONS
KDE Frameworks 5.44.0
Qt 5.9.5 (built against 5.9.5)
The xcb windowing system

ADDITIONAL INFORMATION
Brand new Linux Mint 19.1 system fully updated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list