Can't open book after upgrading to GnuCash 2.4.2
Geert Janssens
janssens-geert at telenet.be
Wed Feb 16 05:09:20 EST 2011
On woensdag 16 februari 2011, Stein Erik Berget wrote:
> $ gnucash --version
> gnc.bin-Message: main: binreloc relocation support was disabled at
> configure time.
>
> GnuCash 2.4.2
> Built 2011-02-15 from r20253
>
> I've tried to open a book 'prepared earlier' after upgrading. The book
> when I closed down GnuCash did have a few tabs open. It stops when it
> tries to render one of the reports, namely the "Budget Balance Sheet".
> I've tried to start without opening the 'previous file', then the program
> itself starts up fine. But when I open up the before mentioned book it
> stops when it tries to open that same report. When I start the program
> from the command line I get the following in the console:
>
> $ gnucash
> gnc.bin-Message: main: binreloc relocation support was disabled at
> configure time.
>
> Found Finance::Quote version 1.17
>
> ;;; WARNING (gnc:make-report-anchor: No such report: Assets Over Time)
>
> ;;; WARNING (gnc:make-report-anchor: No such report: Liabilities Over
> Time)
>
> ;;; WARNING (gnc:make-report-anchor: No such report: Assets Over Time)
>
> ;;; WARNING (gnc:make-report-anchor: No such report: Liabilities Over
> Time)
> In current input:
> 1: 0* (let ((options #)) (let (#) (# option)) (let (#) (# option))
> ...) 1: 1* [gnc:report-template-new-options/report-guid
> "1d241609fd4644caad765c95be20$
> In /usr/share/gnucash/scm/report.scm:
> 197: 2 (let ((templ #)) (if templ (gnc:report-template-new-options
> templ) #f))
> ...
> 267: 3 (let (#) (or # #) (or # #) ...)
> 268: 4* (if (procedure? generator) (or # #) (gnc:new-options))
> 269: 5 (or (gnc:backtrace-if-exception generator) (begin # #))
> 269: 6* [gnc:backtrace-if-exception #<procedure options-generator ()>]
> In unknown file:
> ?: 7 (letrec ((dumper #)) (catch (quote ignore) (lambda () #) (lambda
> # #f)))
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 139: 8 [catch ignore #<procedure #f ()> #<procedure #f (key . args)>]
> In unknown file:
> ?: 9* [#<procedure #f ()>]
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 142: 10* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key .
> args)>]
> In unknown file:
> ?: 11* [#<procedure #f ()>]
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 143: 12* [apply #<procedure options-generator ()> ()]
> In unknown file:
> ?: 13 [options-generator]
> In
> /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/price-scat
> ter.scm: 59: 14 (let* # # # ...)
> 75: 15* [#<procedure #f (new-option)> ...
> 76: 16* [gnc:make-commodity-option "Price" "Price of Commodity" ... ...
> 80: 17* (gnc-locale-default-iso-currency-code)
> /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/price-scat
> ter.scm:80:7: In expression (gnc-locale-default-iso-currency-code):
> /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/price-scat
> ter.scm:80:7: Unbound variable: gnc-locale-default-iso-currency-code
>
>
> Is there a way to stop GnuCash to recreate the previously opened tabs?
> I've checked all the menues, but are not able to find it. I hope you guys
> (and girls) are able to help me out here.
>
> Thank you for your great work on this software!
There is no nice gui way for that as far as I know. But there is another way
indeed.
GnuCash keeps track of which tabs are open in a file stored in
$HOME/.gnucash/books/
There will be one file for each book you ever opened and these files are named
after the books' names, with some special character sanitizing. You have two
choices now:
- if you don't care at all which tabs were open, you can completely remove the
file associated to your book from the books directory.
- alternatively, if you only wish to close the report tab, open the file in an
editor and only remove the section that describes the open report.
Hopefully this helps.
Geert
More information about the gnucash-user
mailing list