After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723524 - Unable to update old transaction
Unable to update old transaction
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: General
2.6.1
Other Windows
: Normal normal
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2014-02-03 11:15 UTC by nick.krautsevich
Modified: 2018-06-29 23:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trace file for 723524 (8.56 KB, text/plain)
2014-02-03 16:53 UTC, nick.krautsevich
Details
trace file for error while entering a scheduled transaction (500 bytes, text/plain)
2014-02-07 12:55 UTC, nick.krautsevich
Details
Log file while creating scheduled transaction (367.33 KB, application/x-zip-compressed)
2014-02-18 11:49 UTC, nick.krautsevich
Details
Unable to update transaction. (219.29 KB, application/x-zip-compressed)
2014-02-18 11:53 UTC, nick.krautsevich
Details

Description nick.krautsevich 2014-02-03 11:15:14 UTC
Migrated from 2.4.15

Trying to update an amount on the year-old transaction.
Assets account is in BYR.
Expenses account is in BYR as well.

While editing just amount, without opening 'split' user could change amount but it is impossible to save it. Even them you close account tab - clicking "Save Transaction" button in a "save changes" dialog - nothing happens. Reopening account shows old transaction amount.

While editing in "split mode" application, after change amount in expense account - "Transfer Funds" dialog been shown, asking to transfer from BYR to USD(default currency) with 1 to 1 exchange rate. Its strange, since both accounts are in the same currency.
Comment 1 John Ralls 2014-02-03 15:03:43 UTC
Please attach the gnucash.trace associated with that run. http://wiki.gnucash.org/wiki/Tracefile

What backend?

It sounds like you opened the file in read-only mode.
Comment 2 nick.krautsevich 2014-02-03 16:53:37 UTC
Created attachment 267967 [details]
trace file for 723524
Comment 3 nick.krautsevich 2014-02-03 17:02:59 UTC
Back-end is SQLight

While opening a datafile, message "Database may be in use by another user". Since I'm the only user I have select "Open Anyway" option.

I was able to enter new transactions and and work around my problem by deleting old transaction and recreate it with correct amount.

I have tried to reproduce this issue opening DB with "Open Anyway" option, but it works normally.

The trace file is attached.

This is not the first time I'm getting such error.I will upload new trace files as soon as I get the issue once again.

Maybe there is a way to change trace level to get more details?
Comment 4 nick.krautsevich 2014-02-07 12:53:25 UTC
The same problem while trying to enter scheduled transaction.
trace file attached
Comment 5 nick.krautsevich 2014-02-07 12:55:45 UTC
Created attachment 268402 [details]
trace file for error while entering a scheduled transaction
Comment 6 Geert Janssens 2014-02-09 10:18:44 UTC
The trace files show a number of low level drawing errors which I haven't encountered before yet. But even if related they don't give a clue at all as to  why saving your changes won't work.

You can generate more debug info by starting gnucash from a command line as follows:
- open a command prompt
- cd <path to where you installed gnucash>\bin
- gnucash.exe --debug
Comment 7 nick.krautsevich 2014-02-18 11:49:41 UTC
Created attachment 269538 [details]
Log file while creating scheduled transaction

Scheduled transaction been created. But it is unable to update transaction amount since currency conversion appears, but both accounts are in the same currency
Comment 8 nick.krautsevich 2014-02-18 11:53:16 UTC
Created attachment 269539 [details]
Unable to update transaction.

After scheduled transaction been created but it was unable to change amount, GnuCash been restarted.
After navigation to the transaction, it is unable to change amount. User could change numbers, but it is unable to save it.
Comment 9 John Ralls 2014-06-08 23:24:03 UTC
Are you able to query your SQL database by hand?
Comment 10 John Ralls 2014-06-08 23:30:52 UTC
If you can, please run this query:
select c.namespace, c.mnemonic from transactions as t, commodities as c where c.guid = t.currency_guid and t.post_date like "20140608%";

But change the date to the one of your problem transaction.
Comment 11 Geert Janssens 2015-02-07 16:50:35 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 12 John Ralls 2018-06-29 23:25:58 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=723524. Please update any external references or bookmarks.