Account Summary crash

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Account Summary crash

Robert Ramsdell
Today I tried to create an Account Summary report, and the Gnucash
application crashed.  I tried running a "Check and Repair" on all
accounts, found two unbalanced transactions, fixed them, but the report
still crashes.  The command line output from the crash is below.  Any
ideas are welcome.

Backtrace:
In /home/rcriii/.gnucash/saved-reports-1.8:
   5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
option)) ...)
   5: 78065* [gnc:report-template-new-options/name "Account Summary"]
In /usr/share/gnucash/scm/report.scm:
 127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
In unknown file:
       ...
   ?: 78067  [gnc:report-template-new-options #]
In /usr/share/gnucash/scm/report.scm:
 146: 78068  (let (# # #) (if # # #))
 153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
 157: 78070* [map #<procedure #f (ss)> (# #)]
In unknown file:
   ?: 78071  (if (null? rest) (map1 f list1) ...)
       ...
   ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
   ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
   ?: 78074* [list ...
   ?: 78075* [#<procedure #f #> #]
In /usr/share/gnucash/scm/report.scm:
 159: 78076  [vector ...
 160: 78077* [string->symbol ...
 160: 78078* [gnc:html-style-sheet-name #]
In unknown file:
   ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
ref obj 0 ))
   ?: 78080* [eq? #<record-type <html-style-sheet>> ...
   ?: 78081* [record-type-descriptor #]
   ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
record) o bj))
   ?: 78083* (struct? obj)

<unnamed port>: In expression (struct? obj):
<unnamed port>: Stack overflow

Just in case it helps, here is the contents of ~/.gnucash/saved-
reports-1.8:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Options for saved report "Account Summary", based on template
"Account Summary"
(let ()
 (define (options-gen)
  (let ((options (gnc:report-template-new-options/name "Account
Summary")))

; Section: Display


; Section: Accounts

(let ((option (gnc:lookup-option options
                                 "Accounts"
                                 "Accounts")))
  ((lambda (option) (if option ((gnc:option-setter option)
'("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
"d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
"42b01947077efe9b933cb6e6a13e7e67")))) option))


; Section: General

(let ((option (gnc:lookup-option options
                                 "General"
                                 "Date")))
  ((lambda (option) (if option ((gnc:option-setter option) '(absolute
1117515600 . 0)))) option))

  options))
 (gnc:define-report
  'version 1
  'name "Account Summary"
  'options-generator options-gen
  'menu-path (list gnc:menuname-custom)
  'renderer (gnc:report-template-renderer/name "Account Summary")))

--
Robert C. Ramsdell III
5528 Middaugh Avenue
Downers Grove, IL 60516
(630) 435-1776
[hidden email]

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
Reply | Threaded
Open this post in threaded view
|

Re: Account Summary crash

Andrew Sackville-West
Known bug in Saved Reports. I think its still out there. bug# 168250. I
believe you have to delete (or move or rename) your
/.gnucash/saved-reports-1.8 file and restart gnucash. Don't save
reports, just leave them open in the program when you exit. they will
rebuild when you restart gnucash. takes a while, but works. search the
mailing list archives for more details and confirmation.

Andrew

Robert C. Ramsdell III wrote:

> Today I tried to create an Account Summary report, and the Gnucash
> application crashed.  I tried running a "Check and Repair" on all
> accounts, found two unbalanced transactions, fixed them, but the report
> still crashes.  The command line output from the crash is below.  Any
> ideas are welcome.
>
> Backtrace:
> In /home/rcriii/.gnucash/saved-reports-1.8:
>    5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
> option)) ...)
>    5: 78065* [gnc:report-template-new-options/name "Account Summary"]
> In /usr/share/gnucash/scm/report.scm:
>  127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
> templ) #f))
> In unknown file:
>        ...
>    ?: 78067  [gnc:report-template-new-options #]
> In /usr/share/gnucash/scm/report.scm:
>  146: 78068  (let (# # #) (if # # #))
>  153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
>  157: 78070* [map #<procedure #f (ss)> (# #)]
> In unknown file:
>    ?: 78071  (if (null? rest) (map1 f list1) ...)
>        ...
>    ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
>    ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
>    ?: 78074* [list ...
>    ?: 78075* [#<procedure #f #> #]
> In /usr/share/gnucash/scm/report.scm:
>  159: 78076  [vector ...
>  160: 78077* [string->symbol ...
>  160: 78078* [gnc:html-style-sheet-name #]
> In unknown file:
>    ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
> ref obj 0 ))
>    ?: 78080* [eq? #<record-type <html-style-sheet>> ...
>    ?: 78081* [record-type-descriptor #]
>    ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
> record) o bj))
>    ?: 78083* (struct? obj)
>
> <unnamed port>: In expression (struct? obj):
> <unnamed port>: Stack overflow
>
> Just in case it helps, here is the contents of ~/.gnucash/saved-
> reports-1.8:
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; Options for saved report "Account Summary", based on template
> "Account Summary"
> (let ()
>  (define (options-gen)
>   (let ((options (gnc:report-template-new-options/name "Account
> Summary")))
>
> ; Section: Display
>
>
> ; Section: Accounts
>
> (let ((option (gnc:lookup-option options
>                                  "Accounts"
>                                  "Accounts")))
>   ((lambda (option) (if option ((gnc:option-setter option)
> '("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
> "d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
> "42b01947077efe9b933cb6e6a13e7e67")))) option))
>
>
> ; Section: General
>
> (let ((option (gnc:lookup-option options
>                                  "General"
>                                  "Date")))
>   ((lambda (option) (if option ((gnc:option-setter option) '(absolute
> 1117515600 . 0)))) option))
>
>   options))
>  (gnc:define-report
>   'version 1
>   'name "Account Summary"
>   'options-generator options-gen
>   'menu-path (list gnc:menuname-custom)
>   'renderer (gnc:report-template-renderer/name "Account Summary")))
>
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
Reply | Threaded
Open this post in threaded view
|

Re: Account Summary crash

Derek Atkins
In reply to this post by Robert Ramsdell
Yes, you cannot save a report as the same name as an existing report.
Known bug.  Don't do it.

-derek

"Robert C. Ramsdell III" <[hidden email]> writes:

> Today I tried to create an Account Summary report, and the Gnucash
> application crashed.  I tried running a "Check and Repair" on all
> accounts, found two unbalanced transactions, fixed them, but the report
> still crashes.  The command line output from the crash is below.  Any
> ideas are welcome.
>
> Backtrace:
> In /home/rcriii/.gnucash/saved-reports-1.8:
>    5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
> option)) ...)
>    5: 78065* [gnc:report-template-new-options/name "Account Summary"]
> In /usr/share/gnucash/scm/report.scm:
>  127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
> templ) #f))
> In unknown file:
>        ...
>    ?: 78067  [gnc:report-template-new-options #]
> In /usr/share/gnucash/scm/report.scm:
>  146: 78068  (let (# # #) (if # # #))
>  153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
>  157: 78070* [map #<procedure #f (ss)> (# #)]
> In unknown file:
>    ?: 78071  (if (null? rest) (map1 f list1) ...)
>        ...
>    ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
>    ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
>    ?: 78074* [list ...
>    ?: 78075* [#<procedure #f #> #]
> In /usr/share/gnucash/scm/report.scm:
>  159: 78076  [vector ...
>  160: 78077* [string->symbol ...
>  160: 78078* [gnc:html-style-sheet-name #]
> In unknown file:
>    ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
> ref obj 0 ))
>    ?: 78080* [eq? #<record-type <html-style-sheet>> ...
>    ?: 78081* [record-type-descriptor #]
>    ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
> record) o bj))
>    ?: 78083* (struct? obj)
>
> <unnamed port>: In expression (struct? obj):
> <unnamed port>: Stack overflow
>
> Just in case it helps, here is the contents of ~/.gnucash/saved-
> reports-1.8:
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; Options for saved report "Account Summary", based on template
> "Account Summary"
> (let ()
>  (define (options-gen)
>   (let ((options (gnc:report-template-new-options/name "Account
> Summary")))
>
> ; Section: Display
>
>
> ; Section: Accounts
>
> (let ((option (gnc:lookup-option options
>                                  "Accounts"
>                                  "Accounts")))
>   ((lambda (option) (if option ((gnc:option-setter option)
> '("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
> "d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
> "42b01947077efe9b933cb6e6a13e7e67")))) option))
>
>
> ; Section: General
>
> (let ((option (gnc:lookup-option options
>                                  "General"
>                                  "Date")))
>   ((lambda (option) (if option ((gnc:option-setter option) '(absolute
> 1117515600 . 0)))) option))
>
>   options))
>  (gnc:define-report
>   'version 1
>   'name "Account Summary"
>   'options-generator options-gen
>   'menu-path (list gnc:menuname-custom)
>   'renderer (gnc:report-template-renderer/name "Account Summary")))
>
> --
> Robert C. Ramsdell III
> 5528 Middaugh Avenue
> Downers Grove, IL 60516
> (630) 435-1776
> [hidden email]
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
>

--
       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
       [hidden email]                        PGP key available
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
Reply | Threaded
Open this post in threaded view
|

Re: Account Summary crash

Robert Ramsdell
In reply to this post by Andrew Sackville-West
Thanks Andrew and Derek.  That fixed it.  BTW  The Account Summary
report moved from the Reports->Custom menu the the Reports menu, so I
must have saved it as a custom report some how...

Robert

On Mon, 2005-07-18 at 12:36 -0700, Andrew Sackville-West wrote:

> Known bug in Saved Reports. I think its still out there. bug# 168250. I
> believe you have to delete (or move or rename) your
> /.gnucash/saved-reports-1.8 file and restart gnucash. Don't save
> reports, just leave them open in the program when you exit. they will
> rebuild when you restart gnucash. takes a while, but works. search the
> mailing list archives for more details and confirmation.
>
> Andrew
>
> Robert C. Ramsdell III wrote:
> > Today I tried to create an Account Summary report, and the Gnucash
> > application crashed.  I tried running a "Check and Repair" on all
> > accounts, found two unbalanced transactions, fixed them, but the report
> > still crashes.  The command line output from the crash is below.  Any
> > ideas are welcome.
> >
> > Backtrace:
> > In /home/rcriii/.gnucash/saved-reports-1.8:
> >    5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
> > option)) ...)
> >    5: 78065* [gnc:report-template-new-options/name "Account Summary"]
> > In /usr/share/gnucash/scm/report.scm:
> >  127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
> > templ) #f))
> > In unknown file:
> >        ...
> >    ?: 78067  [gnc:report-template-new-options #]
> > In /usr/share/gnucash/scm/report.scm:
> >  146: 78068  (let (# # #) (if # # #))
> >  153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
> >  157: 78070* [map #<procedure #f (ss)> (# #)]
> > In unknown file:
> >    ?: 78071  (if (null? rest) (map1 f list1) ...)
> >        ...
> >    ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
> >    ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
> >    ?: 78074* [list ...
> >    ?: 78075* [#<procedure #f #> #]
> > In /usr/share/gnucash/scm/report.scm:
> >  159: 78076  [vector ...
> >  160: 78077* [string->symbol ...
> >  160: 78078* [gnc:html-style-sheet-name #]
> > In unknown file:
> >    ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
> > ref obj 0 ))
> >    ?: 78080* [eq? #<record-type <html-style-sheet>> ...
> >    ?: 78081* [record-type-descriptor #]
> >    ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
> > record) o bj))
> >    ?: 78083* (struct? obj)
> >
> > <unnamed port>: In expression (struct? obj):
> > <unnamed port>: Stack overflow
> >
> > Just in case it helps, here is the contents of ~/.gnucash/saved-
> > reports-1.8:
> >
> > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> > ;; Options for saved report "Account Summary", based on template
> > "Account Summary"
> > (let ()
> >  (define (options-gen)
> >   (let ((options (gnc:report-template-new-options/name "Account
> > Summary")))
> >
> > ; Section: Display
> >
> >
> > ; Section: Accounts
> >
> > (let ((option (gnc:lookup-option options
> >                                  "Accounts"
> >                                  "Accounts")))
> >   ((lambda (option) (if option ((gnc:option-setter option)
> > '("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
> > "d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
> > "42b01947077efe9b933cb6e6a13e7e67")))) option))
> >
> >
> > ; Section: General
> >
> > (let ((option (gnc:lookup-option options
> >                                  "General"
> >                                  "Date")))
> >   ((lambda (option) (if option ((gnc:option-setter option) '(absolute
> > 1117515600 . 0)))) option))
> >
> >   options))
> >  (gnc:define-report
> >   'version 1
> >   'name "Account Summary"
> >   'options-generator options-gen
> >   'menu-path (list gnc:menuname-custom)
> >   'renderer (gnc:report-template-renderer/name "Account Summary")))
> >
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
--
Robert C. Ramsdell III
5528 Middaugh Avenue
Downers Grove, IL 60516
(630) 435-1776
[hidden email]

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
Reply | Threaded
Open this post in threaded view
|

Re: Account Summary crash

Derek Atkins
Probably clicking the "Save Report" button at some point.

-derek

"Robert C. Ramsdell III" <[hidden email]> writes:

> Thanks Andrew and Derek.  That fixed it.  BTW  The Account Summary
> report moved from the Reports->Custom menu the the Reports menu, so I
> must have saved it as a custom report some how...
>
> Robert
>
> On Mon, 2005-07-18 at 12:36 -0700, Andrew Sackville-West wrote:
>> Known bug in Saved Reports. I think its still out there. bug# 168250. I
>> believe you have to delete (or move or rename) your
>> /.gnucash/saved-reports-1.8 file and restart gnucash. Don't save
>> reports, just leave them open in the program when you exit. they will
>> rebuild when you restart gnucash. takes a while, but works. search the
>> mailing list archives for more details and confirmation.
>>
>> Andrew
>>
>> Robert C. Ramsdell III wrote:
>> > Today I tried to create an Account Summary report, and the Gnucash
>> > application crashed.  I tried running a "Check and Repair" on all
>> > accounts, found two unbalanced transactions, fixed them, but the report
>> > still crashes.  The command line output from the crash is below.  Any
>> > ideas are welcome.
>> >
>> > Backtrace:
>> > In /home/rcriii/.gnucash/saved-reports-1.8:
>> >    5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
>> > option)) ...)
>> >    5: 78065* [gnc:report-template-new-options/name "Account Summary"]
>> > In /usr/share/gnucash/scm/report.scm:
>> >  127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
>> > templ) #f))
>> > In unknown file:
>> >        ...
>> >    ?: 78067  [gnc:report-template-new-options #]
>> > In /usr/share/gnucash/scm/report.scm:
>> >  146: 78068  (let (# # #) (if # # #))
>> >  153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
>> >  157: 78070* [map #<procedure #f (ss)> (# #)]
>> > In unknown file:
>> >    ?: 78071  (if (null? rest) (map1 f list1) ...)
>> >        ...
>> >    ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
>> >    ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
>> >    ?: 78074* [list ...
>> >    ?: 78075* [#<procedure #f #> #]
>> > In /usr/share/gnucash/scm/report.scm:
>> >  159: 78076  [vector ...
>> >  160: 78077* [string->symbol ...
>> >  160: 78078* [gnc:html-style-sheet-name #]
>> > In unknown file:
>> >    ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
>> > ref obj 0 ))
>> >    ?: 78080* [eq? #<record-type <html-style-sheet>> ...
>> >    ?: 78081* [record-type-descriptor #]
>> >    ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
>> > record) o bj))
>> >    ?: 78083* (struct? obj)
>> >
>> > <unnamed port>: In expression (struct? obj):
>> > <unnamed port>: Stack overflow
>> >
>> > Just in case it helps, here is the contents of ~/.gnucash/saved-
>> > reports-1.8:
>> >
>> > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> > ;; Options for saved report "Account Summary", based on template
>> > "Account Summary"
>> > (let ()
>> >  (define (options-gen)
>> >   (let ((options (gnc:report-template-new-options/name "Account
>> > Summary")))
>> >
>> > ; Section: Display
>> >
>> >
>> > ; Section: Accounts
>> >
>> > (let ((option (gnc:lookup-option options
>> >                                  "Accounts"
>> >                                  "Accounts")))
>> >   ((lambda (option) (if option ((gnc:option-setter option)
>> > '("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
>> > "d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
>> > "42b01947077efe9b933cb6e6a13e7e67")))) option))
>> >
>> >
>> > ; Section: General
>> >
>> > (let ((option (gnc:lookup-option options
>> >                                  "General"
>> >                                  "Date")))
>> >   ((lambda (option) (if option ((gnc:option-setter option) '(absolute
>> > 1117515600 . 0)))) option))
>> >
>> >   options))
>> >  (gnc:define-report
>> >   'version 1
>> >   'name "Account Summary"
>> >   'options-generator options-gen
>> >   'menu-path (list gnc:menuname-custom)
>> >   'renderer (gnc:report-template-renderer/name "Account Summary")))
>> >
>> _______________________________________________
>> gnucash-user mailing list
>> [hidden email]
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>
> --
> Robert C. Ramsdell III
> 5528 Middaugh Avenue
> Downers Grove, IL 60516
> (630) 435-1776
> [hidden email]
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
>

--
       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
       [hidden email]                        PGP key available
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user