Discussion:
unable to create investment
Jochen Schmid
2018-07-20 12:39:51 UTC
Permalink
Hi,

Kmymoney 5.0.0 and 5.0.1
Ubuntu 18.04

If I try to create a new investment in my investment account, kmymoney
raises the error message

Stock account cannot be parent account caugt in
/build/kmymoney-8tb1zm/kmymoney-5.0.1/kmymoney/my money/mymoney
file.cpp:1059

5.0.1 has been built to try if the most recent release probably fixed
the problem (no).
Seems that Ubuntu 18.04 already has 5.0.1 even if "about" says
"Version 5.0.0".

Help needed, I'm not able to invest...
--
Jochen Schmid <***@gmx.net>
Thomas Baumgart
2018-07-20 16:35:15 UTC
Permalink
Hi,
Post by Jochen Schmid
Hi,
Kmymoney 5.0.0 and 5.0.1
Ubuntu 18.04
If I try to create a new investment in my investment account, kmymoney
raises the error message
Stock account cannot be parent account caugt in
/build/kmymoney-8tb1zm/kmymoney-5.0.1/kmymoney/my money/mymoney
file.cpp:1059
5.0.1 has been built to try if the most recent release probably fixed
the problem (no).
Seems that Ubuntu 18.04 already has 5.0.1 even if "about" says
"Version 5.0.0".
This version issue is known. It is 5.0.1.
Post by Jochen Schmid
Help needed, I'm not able to invest...
This is a known issue (see https://bugs.kde.org/show_bug.cgi?id=396174) but currently only fixed in master.
--
Regards

Thomas Baumgart

https://www.signal.org/ Signal, the better WhatsApp
-------------------------------------------------------------
Dear inventor of German: You forgot to define a translation for
'resize' (as verb). Please fix. -- Sebas Kügler
-------------------------------------------------------------
Thomas Baumgart
2018-07-21 05:54:21 UTC
Permalink
Hi Jochen Schmid,

please make sure to always send responses to the list so that others benefit from this conversation as well.
Hello Thomas,
Post by Thomas Baumgart
This version issue is known. It is 5.0.1.
it's not really a problem.
Post by Thomas Baumgart
This is a known issue (see https://bugs.kde.org/show_bug.cgi?id=396174) but currently only fixed in master.
Thank you for pointing me to that issue.
A fwe minutes ago I built kmymoney from master.
"Couldn't find any plugin for opening storage."
Seems that I have to wait for the next release.
Not really, this is working. For some reason, KMyMoney cannot find the plugins or they are not activated. Did you install KMyMoney in your KDE system tree? Anything else might be a bit of trouble. On my openSUSE system I need to set

CMAKE_INSTALL_PREFIX to /usr and
KDE_INSTALL_PLUGINDIR to /usr/lib64/qt5/plugins

then do

make
sudo make install

before I can use it. The locations may differ for your distro.

Before you tweak that, please make sure you see the XML storage plugin in Settings/Configure KMM/Plugins and it is activated.

Hope that helps
--
Regards

Thomas Baumgart

https://www.signal.org/ Signal, the better WhatsApp
-------------------------------------------------------------
What we call chaos is just patterns we haven't recognized.
What we call random is just patterns we can't decipher.
What we can't understand we call nonsense.
What we can't read we call gibberish. - Chuck Palahniuk
-------------------------------------------------------------
Jochen Schmid
2018-07-21 09:23:04 UTC
Permalink
Hi Thomas,
Post by Thomas Baumgart
please make sure to always send responses to the list so that others benefit from this conversation as well.
sorry, I noticed it a second too late.
Post by Thomas Baumgart
Not really, this is working. For some reason, KMyMoney cannot find the plugins or they are not activated. Did you install KMyMoney in your KDE system tree? Anything else might be a bit of trouble. On my openSUSE system I need to set
CMAKE_INSTALL_PREFIX to /usr and
KDE_INSTALL_PLUGINDIR to /usr/lib64/qt5/plugins
In Ubuntu 18.04 it's /usr/lib/x86_64-linux-gnu/qt5/plugins

I have had the prefix set to /usr/local to avoid conflicts with the
distro version of kmymoney.

Prefix /usr finally worked. Adding new investments works.

Thank you for your help.
--
Jochen Schmid <***@gmx.net>
Jack
2018-07-21 14:02:49 UTC
Permalink
Post by Jochen Schmid
Hi Thomas,
Post by Thomas Baumgart
please make sure to always send responses to the list so that others benefit from this conversation as well.
sorry, I noticed it a second too late.
Post by Thomas Baumgart
Not really, this is working. For some reason, KMyMoney cannot find the plugins or they are not activated. Did you install KMyMoney in your KDE system tree? Anything else might be a bit of trouble. On my openSUSE system I need to set
CMAKE_INSTALL_PREFIX to /usr and
KDE_INSTALL_PLUGINDIR to /usr/lib64/qt5/plugins
In Ubuntu 18.04 it's /usr/lib/x86_64-linux-gnu/qt5/plugins
I have had the prefix set to /usr/local to avoid conflicts with the
distro version of kmymoney.
Prefix /usr finally worked. Adding new investments works.
Thank you for your help.
It is also possible to set QT_PLUGIN_PATH to point to the actual
location of the plugins.  The seems to be the main (but not only)
change/setting to run KMM from the install dir for testing without
messing with a system installed version.

Jack

Jochen Schmid
2018-07-20 20:36:40 UTC
Permalink
Hello Thomas,
Post by Thomas Baumgart
This version issue is known. It is 5.0.1.
it's not really a problem.
Post by Thomas Baumgart
This is a known issue (see https://bugs.kde.org/show_bug.cgi?id=396174) but currently only fixed in master.
Thank you for pointing me to that issue.
A fwe minutes ago I built kmymoney from master.

Does not really work. It compiles o.k. but refuses to open a file:
"Couldn't find any plugin for opening storage."

Seems that I have to wait for the next release.
--
Jochen Schmid <***@gmx.net>
Continue reading on narkive:
Loading...