GNOME Bugzilla – Bug 489083
Crash on startup with budget report open
Last modified: 2018-06-29 21:52:43 UTC
Steps to reproduce: 1. unknown 2. 3. Stack trace: wharp@pdcit:~$ gnucash gnc.bin-Message: main: binreloc relocation support was disabled at configure time. Found Finance::Quote version 1.13 Backtrace: In current input: 1: 0* (let ((options #)) (let (#) (# option)) (let (#) (# option)) ...) 1: 1* (let ((option #)) ((lambda # #) option)) 1: 2 [#<procedure #f (option)> #("General" "Budget" "a" ...)] ... 1: 3 [#<procedure #f args> #f] In /usr/share/gnucash/scm/options.scm: 88: 4* [apply #<procedure #f (x)> (#f)] In unknown file: ?: 5 [#<procedure #f (x)> #f] In /usr/share/gnucash/scm/options.scm: 341: 6* (set! value (budget->guid x)) 341: 7* [budget->guid #f] 315: 8 (if (string? budget) budget (gncBudgetGetGUID budget)) 317: 9 [gncBudgetGetGUID #f] /usr/share/gnucash/scm/options.scm:317:9: In procedure gncBudgetGetGUID in expression (gncBudgetGetGUID budget): /usr/share/gnucash/scm/options.scm:317:9: Wrong type argument in position 1: #f wharp@pdcit:~$ Other information: I edited ~/.gnucash/books/datafile to remove the following: [Page 4] PageType=GncPluginPageReport PageName=Budget Report SchemeOptions=(let ((options (gnc:report-template-new-options/name "Budget Report"))) (let ((option (gnc:lookup-option options "General" "Budget"))) ((lambda (option) (if option ((gnc:option-setter option) '#f))) option)) (let ((option (gnc:lookup-option options "General" "Stylesheet"))) ((lambda (option) (if option ((gnc:option-setter option) 'No-links))) option)) (gnc:restore-report 0 "Budget Report" options)) I did recently create an additional budget in gnucash which may have had something to do with this.
When I open the Budget section it prompts me to set up listings and when I hit anything - default or try to set something up - the program closes immediately.
Happened to me too. Removing the budget pages from .gnucash/books/filname (and adjusting the numbers of pages after them) allows to reopen the data file (tip from warlord-afk).
I can't reproduce this with 2.2.9. Is it still happening for you?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=489083. Please update any external references or bookmarks.