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 107360 - SX Editor allows invalid SX's to be created
SX Editor allows invalid SX's to be created
Status: VERIFIED DUPLICATE of bug 102311
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks:
 
 
Reported: 2003-03-01 21:42 UTC by fhitchen
Modified: 2018-06-29 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description fhitchen 2003-03-01 21:42:34 UTC
I created a scheduled transaction (bi-monthly salary transaction) and
missed entering an account for one of the splits. I requested the
transaction to automatically run.

When the transaction ran, gnucash ended up in an endless loop producing the
following output in the .xsession-errors log file ...

** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date):
asserti
on `tm' failed.

** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date):
asserti
on `tm' failed.
Error: create_each_transaction_he...(): Common-commodity difference:
old=USD, ne
w=(null)

Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Null kvp_val for account
Error: create_each_transaction_he...(): Unable to find common
currency/commodity
.

I have a workaround.

1) Kill gnucash (well the glade process)
2) edit the xml file and for the offending transaction change the
<sx:autoCreate>y</sx:autoCreate> tag to
<sx:autoCreate>n</sx:autoCreate>.
3) restart gnucash and choose the option not to enter the transaction.
4) Now use the transaction editor to correct the missing account.
Comment 1 Christian Stimming 2004-01-30 08:42:42 UTC

*** This bug has been marked as a duplicate of 102311 ***
Comment 2 John Ralls 2018-06-29 20:29:30 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=107360. Please update any external references or bookmarks.