After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 489083 - Crash on startup with budget report open
Crash on startup with budget report open
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: Reports
2.2.x
Other All
: Normal critical
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2007-10-22 16:43 UTC by wesleyharp
Modified: 2018-06-29 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description wesleyharp 2007-10-22 16:43:52 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.
Comment 1 Tammy Laforet 2008-04-29 02:30:41 UTC
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.
Comment 2 Daniel Vainsencher 2008-06-21 07:11:08 UTC
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).
Comment 3 Phil Longstaff 2009-06-04 22:03:21 UTC
I can't reproduce this with 2.2.9.  Is it still happening for you?
Comment 4 Christian Stimming 2009-09-14 07:45:21 UTC
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!
Comment 5 John Ralls 2018-06-29 21:52:43 UTC
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.