This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cannot get kmymoney 4.5 to work correctly

Tags: None
(comma "," separated)
tnicholson
Registered Member
Posts
8
Karma
0
OS
I have installed and reinstalled this version on Linux Mint 10. I continue to have two major issues. First, no matter what I do, I continue to get a new user screen everytime I start the software, even though I already have a mny file from a previous version. Second I cannot get the software to not autonumber each transaction. I uncheck the box in the settings, apply the change and nothing changes.

I didn't have this problem with the earlier version, and regret upgrading, but it is too late now.

Any help would be appreciated.

Thanks
cristian.onet
KDE Developer
Posts
253
Karma
2
OS
Based on the symptoms described by you it seems that kmymoney is failing to save it's settings. Make sure you have permissions to write to your configuration file usually located at:
Code: Select all
~/.kde4/share/config/kmymoneyrc

Also try to see if some errors are printed regarding the settings when running from a terminal.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
When you refer to the 'older' version, this seems to be 1.0.x or less. Please consider, that those versions are KDE3 based and that most distros use (if not all) store KDE settings in different directories for KDE3 and KDE4. Hence the KDE3 settings don't get picked up by KDE4 code.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
tnicholson
Registered Member
Posts
8
Karma
0
OS
I checked the ~/.kde4/share/config/kmymoneyrc file and have r/w permissions on that, but I did notice that the share directory above that is owned by root and I don't have permission on that directory. I also ran the program in terminal and saw a bunch of error messages, which are meaningless to me as I don't really understand the language very well. I am posting the output below. Hopefully it means something to someone else who can clue me in.

ted@ted-SG41 ~ $ kmymoney dec16ted.kmy
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "Print check"
kmymoney(3778)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "KBanking"
kmymoney(3778)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "KMyMoney OFX"
kmymoney(3778)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Reconciliation report"
kmymoney(3778)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "iCalendar"
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kmm_printcheck.so" does not offer a qt_plugin_instance function.
KMyMoney printcheck plugin loaded
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QFSFileEngine::open: No file name specified
kmymoney(3778)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kmm_kbanking.so" does not offer a qt_plugin_instance function.
7:2010/12/17 05-28-32:aqbanking(3778):started
3:2010/12/17 05-28-32:aqbanking(3778):qbanking.cpp: 422: No Qt translation found for your language en
KMyMoney kbanking plugin loaded
kmymoney(3778)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kmm_ofximport.so" does not offer a qt_plugin_instance function.
KMyMoney ofximport plugin loaded
kmymoney(3778)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kmm_reconciliationreport.so" does not offer a qt_plugin_instance function.
KMyMoney reconciliation report plugin loaded
kmymoney(3778)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kmm_icalendarexport.so" does not offer a qt_plugin_instance function.
KMyMoney iCalendar plugin loaded
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading currencies
reading prices
reading reports
endDocument
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
kmymoney(3778)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
3:2010/12/17 05-29-47:gwen(3778):fslock.c: 141: open(/home/ted/.aqbanking/settings/aqbanking/config.conf.lck): Permission denied
3:2010/12/17 05-29-47:gwen(3778):cfgdir.c: 477: Could not lock group [aqbanking/config]: 1
3:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 821: Unable to lock main config group (-109)
3:2010/12/17 05-29-47:gwen(3778):fslock.c: 141: open(/home/ted/.aqbanking/settings/backends/none.conf.lck): Permission denied
3:2010/12/17 05-29-47:gwen(3778):cfgdir.c: 477: Could not lock group [backends/none]: 1
3:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 411: Could not lock plugin group [none] (-109)
4:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 792: Error deinitializing backend "none"
3:2010/12/17 05-29-47:gwen(3778):fslock.c: 141: open(/home/ted/.aqbanking/settings/backends/aqhbci.conf.lck): Permission denied
3:2010/12/17 05-29-47:gwen(3778):cfgdir.c: 477: Could not lock group [backends/AQHBCI]: 1
3:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 411: Could not lock plugin group [AQHBCI] (-109)
4:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 792: Error deinitializing backend "AQHBCI"
3:2010/12/17 05-29-47:gwen(3778):fslock.c: 141: open(/home/ted/.aqbanking/settings/backends/aqofxconnect.conf.lck): Permission denied
3:2010/12/17 05-29-47:gwen(3778):cfgdir.c: 477: Could not lock group [backends/aqofxconnect]: 1
3:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 411: Could not lock plugin group [aqofxconnect] (-109)
4:2010/12/17 05-29-47:aqbanking(3778):banking_cfg.c: 792: Error deinitializing backend "aqofxconnect"
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
kmymoney(3778) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:116
KCrash: Application 'kmymoney' crashing...
Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:116
Unable to start Dr. Konqi
cristian.onet
KDE Developer
Posts
253
Karma
2
OS
tnicholson wrote:I checked the ~/.kde4/share/config/kmymoneyrc file and have r/w permissions on that, but I did notice that the share directory above that is owned by root and I don't have permission on that directory.

Wel then that is your problem. To fix it run as root
Code: Select all
chown -R ted:ted /home/ted/.kde4

Of course only if /home/ted is your homedir.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
And it looks like /home/ted itself is not writable:

3:2010/12/17 05-29-47:gwen(3778):fslock.c: 141: open(/home/ted/.aqbanking/settings/aqbanking/config.conf.lck): Permission denied
3:2010/12/17 05-29-47:gwen(3778):cfgdir.c: 477: Could not lock group [aqbanking/config]: 1


Does the .aqbanking directory exist?


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
tnicholson
Registered Member
Posts
8
Karma
0
OS
Ah: well I am getting more confused by the minute. I tried to run the command that was suggested by Cristian and, well you can see:

ted@ted-SG41 ~ $ chown -R ted:ted /home/ted/.kde4
chown: cannot access `/home/ted/.kde4': No such file or directory

Well as far as I know ted is my home directory, and I write/copy stuff to it all the time.

Maybe I need some more explicit instructions, cause I am pretty unfamiliar at working from the command line.
cristian.onet
KDE Developer
Posts
253
Karma
2
OS
Please post the output of the following commands:
Code: Select all
ls -l /home/ted

and
Code: Select all
ls -l /home/ted/.kde*


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
tnicholson
Registered Member
Posts
8
Karma
0
OS
Here you go!

ted@ted-SG41 ~ $ ls -l /home/ted/.kde*
total 8
lrwxrwxrwx 1 ted ted 21 2010-12-14 22:30 cache-ted-SG41 -> /var/tmp/kdecache-ted
drwxr-xr-x 4 root root 4096 2010-12-14 19:58 share
lrwxrwxrwx 1 ted ted 16 2010-12-14 22:30 socket-ted-SG41 -> /tmp/ksocket-ted
drwx------ 2 ted ted 4096 2010-12-17 05:09 tmp-ted-SG41
cristian.onet
KDE Developer
Posts
253
Karma
2
OS
Please try this:
Code: Select all
echo $KDEHOME

and if it prints out something like /home/ted/.kde... then run
Code: Select all
sudo chown -R ted:ted $KDEHOME


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The following command should fix this:

Code: Select all
sudo chown $(id -un):$(id -gn) -R $(kde4-config --localprefix)


It will automatically retrieve the correct user, group and directory to change the owner of.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
tnicholson
Registered Member
Posts
8
Karma
0
OS
It didn't print out anything

ted@ted-SG41 ~ $ echo $KDEHOME

ted@ted-SG41 ~ $

I also tried:

ted@ted-SG41 ~ $ sudo chown $(id -un):$(id -gn) -R $(kde4-config --localprefix)
ted@ted-SG41 ~ $

That didn't seem to have any effect either.

I am starting to beleive that I didn't install the OS correctly so I could add programs, etc...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please post the output of the following:
Code: Select all
ls -la /home


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
tnicholson
Registered Member
Posts
8
Karma
0
OS
Here it is:

ted@ted-SG41 ~ $ ls -la /home
total 12
drwxr-xr-x 3 root root 4096 2010-12-14 19:18 .
drwxr-xr-x 21 root root 4096 2010-12-14 19:29 ..
drwxr-xr-x 69 ted ted 4096 2010-12-18 05:41 ted
ted@ted-SG41 ~ $
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try running kmymoney in Konsole again, and post the output. Also, does it function under a new user?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]