gnucash crash when printing check

Derek Atkins warlord at MIT.EDU
Mon Oct 30 10:27:02 EST 2006


Quoting Dawning Sky <the.dawning.sky at gmail.com>:

> On 10/30/06, Derek Atkins <warlord at mit.edu> wrote:
>> This looks like (another) guile-1.8 issue.  :(
>>
>> -derek
>>
>
> any work around?

"Don't do that"?

Unfortunately it's a bug.  There is no workaround -- it'll require
a code patch.   File a bug report in Bugzilla, please?

> DS

-derek
>> "Dawning Sky" <the.dawning.sky at gmail.com> writes:
>>
>> > Hi,
>> >
>> > I just upgrade my box to Fedroa Core 6.  Now checking print will crash
>> > gnucash, both the 2.0.1 that's shipped with FC6 and the SVN r15058 I
>> > compiled myself.  I have included the backtrace from the SVN version.
>> >
>> > Thanks,
>> >
>> > DS
>> >
>> > Backtrace:
>> > In unknown file:
>> >    ?:  0* [gnc:print-check # "Avalon Rosewalk" 1605.0 ...]
>> > In /opt/gnucash-2.0/share/gnucash/scm/printing/print-check.scm:
>> >  104:  1* (let* ((int-part #) (frac-part #) (ps #) ...) (if ps 
>> (begin # # ...)))
>> >  115:  2  (if ps (begin (if (not #) (begin # #) ...) (if (not #)
>> > (begin #) ...) ...))
>> >  116:  3  (begin (if (not #) (begin # #) ...) (if (not #) (begin 
>> #) ...) ...)
>> >  174:  4* (let* (#) (gnc:print-session-moveto ps # #)
>> > (gnc:print-session-text ps #))
>> >  177:  5  [gnc:print-session-text #<gw:wcp <gnc:PrintSession*> 
>> 0xa4d6a38> ...
>> >  177:  6*  [number-to-words 1605.0 100]
>> > In 
>> /opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:
>> >   89:  7   (let* (# # # ...) (set! result-string #) ...)
>> >   99:  8*  (set! result-string (string-append # " and " #))
>> >  100:  9*  [string-append ...
>> >  100: 10*   [integer-to-words 1605]
>> >   14: 11    (let (# # # #) (cond # # # ...))
>> >       ...
>> >   52: 12    (let* (# # #) (if # #) (if # #) ...)
>> >   58: 13*   [remainder 1605 {4398046555084465/4398046511104}]
>> >
>> > 
>> /opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:58:25:
>> > In procedure remainder in expression (remainder val (inexact->exact
>> > #)):
>> > 
>> /opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:58:25:
>> > Wrong type argument in position 2: 4398046555084465/4398046511104
>> > _______________________________________________
>> > gnucash-devel mailing list
>> > gnucash-devel at gnucash.org
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> >
>> >
>>
>> --
>>        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
>>
>



-- 
       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-devel mailing list