Postdating causes crashes?

Derek Atkins warlord at MIT.EDU
Wed Jun 15 12:22:57 EDT 2005


Hi,

First, please be sure to CC gnucash-user on all replies so that
other users have access to answers.  "reply-to-all" is recommended.

Second, this has nothing to do with invoice dates, but rather is
a known bug with "saved reports".  You need to delete your saved reports
file and then start again.  Look in ~/.gnucash and delete the
obviously-named file.  Then be sure not to save reports again :)

-derek

Anne Wilson <cannewilson at tiscali.co.uk> writes:

> On Tuesday 14 Jun 2005 22:10, you wrote:
>> Anne Wilson <cannewilson at tiscali.co.uk> writes:
>> > I have some goods to go out on Friday, and since I have a busy week ahead
>> > I thought I would prepare the invoice now.  Obviously, though, it needs
>> > to show Friday's date, so that the terms of payment are reckoned from
>> > that date.
>> >
>> > The invoice appears to have been accepted, but when I try to print it
>> > GnuCash crashes.  Is this because of the date anomaly?  What's the best
>> > way of dealing with this?  Should I unpost the invoice, then delete it in
>> > some way and start again?  It's not clear whether I could do that.
>> >
>> > Anne
>>
>> Hmm, post-dating the invoice should work..  What version of gnucash?
>
> 1.8.11
>
>> How does it crash?  
>
> The Print icon shows selected for several seconds, then GC shuts down.
>
>> Does it print anything on the terminal? 
>>
> [anne at david ~]$ gnucash
> Backtrace:
> In /home/anne/.gnucash/saved-reports-1.8:
>    5: 78056  (let ((options #)) (let (#) (# option)) (let (#) (# option)) ...)
>    5: 78057* [gnc:report-template-new-options/name "Printable Invoice"]
> In /usr/share/gnucash/scm/report.scm:
>  127: 78058  (let ((templ #)) (if templ (gnc:report-template-new-options 
> templ)#f))
> In unknown file:
>        ...
>    ?: 78059  [gnc:report-template-new-options #]
> In /usr/share/gnucash/scm/report.scm:
>  146: 78060  (let (# # #) (if # # #))
>  153: 78061* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
>  157: 78062* [map #<procedure #f (ss)> (# # #)]
> In unknown file:
>    ?: 78063  (if (null? rest) (map1 f list1) ...)
>        ...
>    ?: 78064  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
>    ?: 78065* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
>    ?: 78066* [list ...
>    ?: 78067* [#<procedure #f #> #]
> In /usr/share/gnucash/scm/report.scm:
>  159: 78068  [vector #{Lydgate\ Design}# "Lydgate Design" ...
>  162: 78069* [string-append ...
>  162: 78070* [gnc:html-style-sheet-name #]
> In unknown file:
>    ?: 78071  (and (eq? (quote #) (record-type-descriptor obj)) (struct-ref obj 
> 0))
>    ?: 78072* [eq? #<record-type <html-style-sheet>> ...
>    ?: 78073* [record-type-descriptor #]
>    ?: 78074  (if (struct? obj) (struct-vtable obj) (error (quote not-a-record) 
> obj))
>    ?: 78075* (struct? obj)
>
> <unnamed port>: In expression (struct? obj):
> <unnamed port>: Stack overflow
>
> Anne

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list