No plugins; cannot load data file.

Thomas Baumgart thb at net-bembel.de
Wed Feb 13 14:23:49 GMT 2019


Timothy,

On Mittwoch, 13. Februar 2019 13:08:13 CET timothy wrote:

> Hi Brendan, Jack
> 
> Apologies for taking so long to get back to you, but we have been having 
> national power outages (called loadshedding) for 5 hours a day at odd 
> times. This disrupts the day and I have not been at my computer much.
> 
> However on to important matters. I downloaded your script, Brendan, 
> thanks, but the information I gleaned about the environmental variables 
> and pointed to by Jack, said that they were read at run time and not at 
> compile time so recompiling would not really help me. I also want to go 
> through your scripts to see what's what, but I will certainly be giving 
> them a try.
> 
> I did a search for the plugin libraries and just linked them to where 
> the error message said they were not found. It then ran successfully. 
> However there is still no plugin Icon in the settings menu.
> 
> What puzzles me is that if at run time KMM is looking for the plugins in 
> a certain directory, then something is telling it to put them somewhere 
> else when they are  installed. I have set no variables, gave no compile 
> time commands (except -DENABLE_SQLCIPHER=OFF ) and used the 5.0.3 
> straight out of the tarbox on a fairly new install of Debian 9 buster.

To clarify this: the build process of KMyMoney installs them and KDE base libraries search for them. And for whatever reason (I have not found out) the build process determines the wrong location on some distros.

If I do the same as you (compile out of the box w/o special settings) here on my openSUSE Leap 15.0 (or was it on its predecessor 42.3) I end up with the same problem. I have to provide the location for the plugins as cmake option, which is

   -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins

for me. If I don't do that, the build process drops them in /usr/lib64/plugins (no qt5 here) if I remember this correctly and KDE does not find them. You can find out where KDE searches for plugins by using

   qmake-qt5 -query QT_INSTALL_PLUGINS

Note: could be, that qmake is enough (instead of qmake-qt5) depending on your distro.

Here's how you can check that plugins are installed in the right location:

thb at thb-nb:~/devel/kmymoney/build (5.0 *)$ grep `qmake-qt5 -query QT_INSTALL_PLUGINS` install_manifest.txt 
/usr/lib64/qt5/plugins/kmymoney/konlinetasks_sepa.so
/usr/lib64/qt5/plugins/kmymoney/csvimporter.so
/usr/lib64/qt5/plugins/kmymoney/kcm_csvimporter.so
/usr/lib64/qt5/plugins/kmymoney/csvexporter.so
/usr/lib64/qt5/plugins/kmymoney/qifimporter.so
/usr/lib64/qt5/plugins/kmymoney/qifexporter.so
/usr/lib64/qt5/plugins/kmymoney/kcm_qif.so
/usr/lib64/qt5/plugins/kmymoney/gncimporter.so
/usr/lib64/qt5/plugins/kmymoney/ofximporter.so
/usr/lib64/qt5/plugins/kmymoney/icalendarexporter.so
/usr/lib64/qt5/plugins/kmymoney/kcm_icalendarexporter.so
/usr/lib64/qt5/plugins/kmymoney/reconciliationreport.so
/usr/lib64/qt5/plugins/kmymoney/checkprinting.so
/usr/lib64/qt5/plugins/kmymoney/kcm_checkprinting.so
/usr/lib64/qt5/plugins/kmymoney/forecastview.so
/usr/lib64/qt5/plugins/kmymoney/kcm_forecastview.so
/usr/lib64/qt5/plugins/kmymoney/reportsview.so
/usr/lib64/qt5/plugins/kmymoney/kcm_reportsview.so
/usr/lib64/qt5/plugins/kmymoney/budgetview.so
/usr/lib64/qt5/plugins/kmymoney/onlinejoboutboxview.so
/usr/lib64/qt5/plugins/kmymoney/sqlstorage.so
/usr/lib64/qt5/plugins/kmymoney/xmlstorage.so
/usr/lib64/qt5/plugins/kmymoney/kcm_xmlstorage.so
/usr/lib64/qt5/plugins/kmymoney/kbanking.so

In case this list is empty, you can use


thb at thb-nb:~/devel/kmymoney/build (5.0 *)$ grep plugins install_manifest.txt
/usr/lib64/qt5/plugins/kmymoney/konlinetasks_sepa.so
/usr/lib64/qt5/plugins/kmymoney/csvimporter.so
/usr/lib64/qt5/plugins/kmymoney/kcm_csvimporter.so
:
:

to see where they got installed. Remove them in case this spot is wrong by running 'sudo make uninstall' before you fix it to avoid a mess on your disk.

One more: I think 5.0.3 prints some information about the plugin search process on the console during startup.

Regarding the icon in the settings dialog: you might have to scroll down. For me it is the last one in the list and also shows if I remove all plugins (of course the list on the right side remains empty in that case).

Hope that helps and gives some more ideas about stuff to look for.

Regards

Thomas


-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
As soon as there is an optimist who discovers a light that does not exist
there is a pessimist who blows it out. (Giovanni Guareschi)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20190213/ac67ba46/attachment.sig>


More information about the KMyMoney mailing list