Bug 400684 - Can't open open existing kmy file, error message "Could not read your data source..."
Summary: Can't open open existing kmy file, error message "Could not read your data so...
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: file (show other bugs)
Version: 5.0.2
Platform: Compiled Sources Linux
: NOR critical
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-05 03:07 UTC by Dave Nelson
Modified: 2018-11-20 05:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
config log (2.25 KB, text/plain)
2018-11-05 03:07 UTC, Dave Nelson
Details
install log (142.30 KB, text/x-log)
2018-11-05 18:58 UTC, Dave Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nelson 2018-11-05 03:07:44 UTC
Created attachment 116092 [details]
config log

SUMMARY


STEPS TO REPRODUCE
1. compile kmm-5.0.2 from tarball on kubuntu-18.10
2. try to open existing kmy file created by kmm-5.0.1

OBSERVED RESULT
error msg: "Could not read your data source. Please check the KMyMoney settings
that the necessary plugin is enabled."


EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
My kmm has no plugins, same as 5.0.1 which works fine.
I've reverted to 5.0.1.
Comment 1 Thomas Baumgart 2018-11-05 07:39:24 UTC
If it does not show any plugins, then this might be an install problem. What is the output of the following two commands in your top KMyMoney build-directory?

  grep xmlstorage.so install_manifest.txt
  find /usr -name k\*part.so
Comment 2 Thomas Baumgart 2018-11-05 07:39:43 UTC
Arg, forgot to change state.
Comment 3 Dave Nelson 2018-11-05 16:28:42 UTC
1) output of grep xmlstorage.so install_manifest.txt:

/usr/local/lib/x86_64-linux-gnu/plugins/kmymoney/xmlstorage.so
/usr/local/lib/x86_64-linux-gnu/plugins/kmymoney/kcm_xmlstorage.so

2) output of find /usr -name k\*part.so:

/usr/lib/kde4/khtmlimagepart.so
/usr/lib/kde4/khtmladaptorpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kfontviewpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/komparenavtreepart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/korganizerpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/komparepart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/konsolepart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/khtmlpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/kmultipart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/khtmlimagepart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/katepart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/khtmladaptorpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kaddressbookpart.so
Comment 4 Jack 2018-11-05 16:58:43 UTC
Does /usr/local/lib/x86_64-linux-gnu/plugins/kmymoney exist on your system?  Were there any errors during "make install"?  The manifest says that's where the plugins should be, but they don't seem to be there.  You can also launch KMM from command line, and will probably see an error about not finding plugins.
Comment 5 Dave Nelson 2018-11-05 18:58:09 UTC
Created attachment 116111 [details]
install log

no install errors
Comment 6 Dave Nelson 2018-11-05 19:02:54 UTC
yes, /usr/local/lib/x86_64-linux-gnu/plugins/kmymoney contains:

checkprinting.so
csvexporter.so
csvimporter.so
gncimporter.so
icalendarexporter.so
kcm_checkprinting.so
kcm_csvimporter.so
kcm_icalendarexporter.so
kcm_qif.so
konlinetasks_sepa.so
payeeidentifier_iban_bic_delegates.so
payeeidentifier_ibanbic_storageplugin.so
payeeidentifier_nationalaccount_storageplugin.so
payeeidentifier_nationalAccount_ui.so
qifexporter.so
qifimporter.so
reconciliationreport.so

i've attached log of install, i can't see any errors.

running from command line produces 3 lines:
 WebConnect: Try to connect to WebConnect server
 WebConnect: Connect to server failed
 WebConnect: Running in server mode

trying to open file from menu produces dialog box:

 Couldn't find any plugin for opening storage.

Thanks for your help.
Comment 7 Yuri Chornoivan 2018-11-05 19:16:54 UTC
(In reply to David Nelson from comment #6)
> yes, /usr/local/lib/x86_64-linux-gnu/plugins/kmymoney contains:
> 
> checkprinting.so
> csvexporter.so
> csvimporter.so
> gncimporter.so
> icalendarexporter.so
> kcm_checkprinting.so
> kcm_csvimporter.so
> kcm_icalendarexporter.so
> kcm_qif.so
> konlinetasks_sepa.so
> payeeidentifier_iban_bic_delegates.so
> payeeidentifier_ibanbic_storageplugin.so
> payeeidentifier_nationalaccount_storageplugin.so
> payeeidentifier_nationalAccount_ui.so
> qifexporter.so
> qifimporter.so
> reconciliationreport.so
> 
> i've attached log of install, i can't see any errors.
> 
> running from command line produces 3 lines:
>  WebConnect: Try to connect to WebConnect server
>  WebConnect: Connect to server failed
>  WebConnect: Running in server mode
> 
> trying to open file from menu produces dialog box:
> 
>  Couldn't find any plugin for opening storage.
> 
> Thanks for your help.

Hi,

Plugins were installed in the wrong path. They should be in /usr/lib/x86_64-linux-gnu/qt5/plugins/, not in /usr/local/lib/x86_64-linux-gnu/plugins/

Can you try to add a CMake option -DCMAKE_INSTALL_PREFIX=/usr like this

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..

Hope this helps.
Comment 8 Dave Nelson 2018-11-05 20:14:20 UTC
I added -DCMAKE_INSTALL_PREFIX=/usr, reinstalled and now have identical plugins in both libs

/usr/lib/x86_64-linux-gnu/plugins/kmymoney
/usr/local/lib/x86_64-linux-gnu/plugins/kmymoney

Both ways result in the same missing plugin error.
Comment 9 Yuri Chornoivan 2018-11-05 20:16:00 UTC
(In reply to David Nelson from comment #8)
> I added -DCMAKE_INSTALL_PREFIX=/usr, reinstalled and now have identical
> plugins in both libs
> 
> /usr/lib/x86_64-linux-gnu/plugins/kmymoney
> /usr/local/lib/x86_64-linux-gnu/plugins/kmymoney
> 
> Both ways result in the same missing plugin error.

Please, manually copy all the content from /usr/lib/x86_64-linux-gnu/plugins/ to /usr/lib/x86_64-linux-gnu/qt5/plugins/

Thanks.
Comment 10 Dave Nelson 2018-11-05 20:40:02 UTC
Sorry, I missed the qt5 in the path !

Now kmm runs normally.

Thanks a lot for the answer.
Comment 11 Thomas Baumgart 2018-11-05 20:57:16 UTC
You probably need to configure KMyMoney with the following command:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_PLUGINDIR=/usr/lib/x86_64-linux-gnu/qt5/plugins

assuming you are in the build sub-directory.
Comment 12 Dave Nelson 2018-11-05 21:03:00 UTC
OK, noted for the next time, thanks.
Comment 13 Bug Janitor Service 2018-11-20 04:47:40 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!