Version: 0.5.1_beta (using KDE 4.3.1) OS: Linux Installed from: SuSE RPMs When adding information using the "Purchase/Sell Shares" tab, after hitting the "Add" button I received the following message and the operation is not created. [ERR-5]: Operation creation failed [ERR-8]: No object returned in [v_unit] for [id=0]
Hi, I am not able to reproduce the problem. Could you help me by doing this ? 1- export SKGTRACE=20 2- skrooge --nofork > trace.txt 3- attach trace.txt here. Could you attach a screen capture of the "Purchase/Sell Shares" tab before clicking on Add to understand how you did ? Thank you for your help.
Created attachment 37105 [details] Trace report
Created attachment 37106 [details] Screen shot before selecting "Add"
I stumbled across what is causing the above errors that I reported. It appears that I didn't have a value entered for the "Reference Unit" on the Units page. See attached snapshot. Sorry for the false alarm!
Created attachment 37117 [details] Snapshot of units page
Thanks for reporting back ! Closing the bug.
I keep this incident because I think that we can generate a better error message.
Even without values on unit, this problem is not reproduced on 0.5.2. I close this incident.
SVN commit 1027833 by smankowski: BUG: 208040: Error when entering shares information M +1 -0 CHANGELOG M +8 -2 skgbasegui/skgdateedit.cpp M +2 -2 skgbasegui/skgdateedit.h M +6 -0 skrooge_operation/skgoperationpluginwidget.cpp M +3 -3 skrooge_operation/skgoperationpluginwidget_base.ui M +7 -2 skrooge_scheduled/skgscheduledpluginwidget_base.ui M +2 -2 skrooge_unit/skgunitpluginwidget_base.ui WebSVN link: http://websvn.kde.org/?view=rev&revision=1027833