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 122809 - Crash when adding scheduled transations
Crash when adding scheduled transations
Status: VERIFIED DUPLICATE of bug 109484
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
1.8.x
Other Linux
: Normal major
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks:
 
 
Reported: 2003-09-20 14:32 UTC by sjb
Modified: 2018-06-29 20:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description sjb 2003-09-20 14:32:19 UTC
On launch, GnuCash launched the druid "auto-created transactions
notification". Next was hit twice and the program livelocked with the
following message repeated in the terminal:

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

The problem was traced to this entry in the gnucash file:

5980,6022d6571
<       <gnc:transaction version='2.0.0'>
<         <trn:id type='guid'>90cedfbad8ab315cc70696dc4f69b030</trn:id>
<         <trn:currency>
<           <cmdty:space>ISO4217</cmdty:space>
<           <cmdty:id>GBP</cmdty:id>
<         </trn:currency>
<         <trn:date-posted>
<           <ts:date>1970-01-01 01:00:00 +0100</ts:date>
<         </trn:date-posted>
<         <trn:date-entered>
<           <ts:date>2003-08-23 17:27:29 +0100</ts:date>
<           <ts:ns>793570000</ts:ns>
<         </trn:date-entered>
<         <trn:description></trn:description>
<         <trn:splits>
<           <trn:split>
<             <split:id type='guid'>c3ed08ac14f93af125b342a6684e9a05</split:id>
<             <split:reconciled-state>n</split:reconciled-state>
<             <split:value>0/100</split:value>
<             <split:quantity>-1/0</split:quantity>
<             <split:account
type='guid'>711c30a132c5fab447d0eef4db3740ba</split:account>
<             <split:slots>
<               <slot>
<                 <slot:key>sched-xaction</slot:key>
<                 <slot:value type='frame'>
<                   <slot>
<                     <slot:key>credit-formula</slot:key>
<                     <slot:value type='string'>0.00</slot:value>
<                   </slot>
<                   <slot>
<                     <slot:key>debit-formula</slot:key>
<                     <slot:value type='string'></slot:value>
<                   </slot>
<                   <slot>
<                     <slot:key>account</slot:key>
<                     <slot:value
type='guid'>00000000000000000000000000000000</slot:value>
<                   </slot>
<                 </slot:value>
<               </slot>
<             </split:slots>
<           </trn:split>
<         </trn:splits>
<       </gnc:transaction>

Removing that entry fixed the problem. I have no idea what created it.
Comment 1 Christian Stimming 2004-01-30 08:38:44 UTC
The error message here is a duplicate of bug#93258 and bug#102311 and
bug#107360 and bug#109484 -- all show the message
"create_each_transaction_he...(): Unable to find common
currency/commodity". Therefore this bug is being marked as a duplicate
of #109484 

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