Scheduled transaction not getting enterred..

Andrew Sackville-West andrew at farwestbilliards.com
Fri Mar 10 11:37:37 EST 2006


On Thu, 09 Mar 2006 20:36:18 -0500
Roland Roberts <roland at astrofoto.org> wrote:

> Some time back, I posted this problem and the messages on stdout
> indicated a problem with some corrupted transactions, all of which
> turned out to be due to a recovery operation done long ago....
> 
> I corrected all of the transactions which were missing a currency entry
> and gnucash is pleasantly quiet when starting up.  However....
> 
> The original problem was the my SXes weren't being entered, even though
> GC tells me they are when it starts.  I change the SX to notify me
> before enty and now GC crashes while trying to show the
> notification/confirmation dialog with this on the console:
> 
> 
>     Error: create_each_transaction_he...(): Common-commodity difference: old=Jonathan, new=USD
> 
>     Error: create_each_transaction_he...(): Some error in new transaction creation...
> 
>     ** ERROR **: file dialog-sxsincelast.c: line 1614 (sxsincelast_init): assertion failed: (nextPage)
>     aborting...
>     Aborted
> 
> After crashing, I can then restart GC which complains about the lock
> file, but I open it anyway.  At this point, the SX last entered date is
> updated, so the dialog is not presented and I can run normally.
> 
> Below is the SX entry which is failing.  I'm not sure what went wrong.
> 
> The "fund" account in question is a 529 college savings plan with no
> ticker that I'm aware of, so I have a manually entered price in the
> price editor.  I've confirmed that the price editor still shows my
> manually entered price.
> 
> This looks like it may be the same as Bug 157179 "Crash on startup with
> future scheduled fund purchase" where Derek said "Scheduled Transactions
> do not support stock/mutual fund txns."  Is that still correct with GC
> 1.8.12?  I thought I used to have fund transactions automatically
> entered....


I would guess that Derek's explanation still holds for 1.8.12.
Maybe as a workaround, use some kind of dummy transaction to REMIND you to enter the actual one?

A
> 
> <gnc:transaction version="2.0.0">
>   <trn:id type="guid">82da86f7d5d8ed11650cf51ba1c88f31</trn:id>
>   <trn:currency>
>     <cmdty:space>ISO4217</cmdty:space>
>     <cmdty:id>USD</cmdty:id>
>   </trn:currency>
>   <trn:date-posted>
>     <ts:date>2006-01-20 23:11:28 -0500</ts:date>
>   </trn:date-posted>
>   <trn:date-entered>
>     <ts:date>2006-01-20 23:11:28 -0500</ts:date>
>     <ts:ns>570857000</ts:ns>
>   </trn:date-entered>
>   <trn:description>NYCSP Jonathan</trn:description>
>   <trn:splits>
>     <trn:split>
>       <split:id type="guid">4c952fd153a143e92033c583022c2f9a</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">a22f2fcd437691bfc129097ca4bdedb1</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"></slot:value>
>             </slot>
>             <slot>
>               <slot:key>debit-formula</slot:key>
>               <slot:value type="string">175.00</slot:value>
>             </slot>
>             <slot>
>               <slot:key>account</slot:key>
>               <slot:value type="guid">adce0aa564a4b1d2c963726ca9bcc4b7</slot:value>
>             </slot>
>           </slot:value>
>         </slot>
>       </split:slots>
>     </trn:split>
>     <trn:split>
>       <split:id type="guid">a823ec6ae8fd1100a5019e364cb1feb5</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">a22f2fcd437691bfc129097ca4bdedb1</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">175.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">b09502b6eddf2bd8cfac44823afa5e70</slot:value>
>             </slot>
>           </slot:value>
>         </slot>
>       </split:slots>
>     </trn:split>
>   </trn:splits>
> </gnc:transaction>
> 
> regards,
> 
> roland
> -- 
>                        PGP Key ID: 66 BC 3B CD
> Roland B. Roberts, PhD                             RL Enterprises
> roland at rlenter.com                            6818 Madeline Court
> roland at astrofoto.org                           Brooklyn, NY 11220
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20060310/6c6b1451/attachment.bin


More information about the gnucash-user mailing list