gnucash-2.x crashes on reading 1.8.x datafile
Christian Stimming
stimming at tuhh.de
Fri Jan 6 09:21:09 EST 2006
Martin Klaffenboeck wrote:
> When opening the old 1.8 data file, gnucash crashes.
> (console output below)
Ooops! This must not happen. I hope you can help us a little bit to find
out the exact cause of your crash, because it would be quite a
showstopper not being able to open the 1.8.x data file in gnucash-2.
So, first
- What happens if you start the SVN-gnucash with the option --nofile ?
Does it start correctly?
- If yes, what happens if you then open your file by "File" -> "open";
do you now get your crash again?
- If yes: Do you have many or at least one report windows open in your
1.8-gnucash?
- If yes, how many and which ones? The settings for those opened reports
are saved from session to session in a file below ~/.gnucash/books/; in
this particular case this seems to be the file
/home/martin/.gnucash/books/%2Fhome%2Fmartin%2Fwork%2FFinanzielles%2Fgnucash%2Ffamilie-2005
(an URL-encoded form of the absolute path name of your gnucash data file)
- Can you temporarily rename that file to a different name/location?
Then start gnucash-SVN again. Does it still crash or did the crash
disappear? If it disappears, can you post a gzip's version of the
~/.gnucash/books/ file to here (it doesn't contain any of your financial
data, only the GUIDs of the selected accounts) so that we can reproduce
that crash for ourselves?
Thanks a lot,
Christian
>
> Dankeschön,
> Martin
>
>
> Anhang:
>
>
> Diese Version befindet sich noch in Entwicklung.
> Sie kann funktionieren, muss aber nicht.
> Fehler und andere Probleme werden auf gnucash-devel at gnucash.org
> diskutiert.
> Fehlerberichte können auf http://bugzilla.gnome.org eingeschickt werden.
> Die letzte stabile Version war GnuCash 1.8.12
> Die nächste stabile Version wird sein: GnuCash 2.0
>
> gnucash: [W] "failure loading ""/home/martin/.gnucash/config-1.8.auto"
> gnucash: [W] "report-menu-setup"
> gnucash: [W] "failure loading ""/home/martin/.gnucash/books/%2Fhome%
> 2Fmartin%2Fwork%2FFinanzielles%2Fgnucash%2Ffamilie-2005"
> Backtrace:
> In current input:
> 1: 0* [gnc:main]
> ?: 1 (letrec ((handle-batch-mode-item (lambda # #)))
> (gnc:startup-pass-1) ...)
> In /home/martin/Projects/gnucash-bin//share/gnucash/guile-modules/gnucash/main.scm:
> 595: 2* (if (null? gnc:*batch-mode-things-to-do*) (begin # #) ...)
> 597: 3 (begin # #)
> 599: 4 (let* (# #) (set! gnc:*command-line-remaining* #) (if # #
> #) ...)
> 616: 5* [gnc:start-ui-event-loop]
> In unknown file:
> ?: 6* [gnc:main-window-book-open-handler #<gw:wcp <gnc:Session*>
> 0x83ec680>] ?: 7* (letrec ((try-load #)) (let* (# # #) (if
> conf-file-name #) ...))
> In /home/martin/Projects/gnucash-bin//share/gnucash/scm/main-window.scm:
> 73: 8 (let* (# # #) (if conf-file-name #) (hash-fold # #t
> *gnc:_reports_*))
> 80: 9 [hash-fold #<procedure #f (key val prior-result)> #t ...]
> In unknown file:
> ?: 10* [#<procedure #f #> 0 # #t]
> In /home/martin/Projects/gnucash-bin//share/gnucash/scm/main-window.scm:
> 81: 11* [gnc:main-window-open-report 0 #f]
> In unknown file:
> ?: 12* [gnc:report-name #]
> In /home/martin/Projects/gnucash-bin//share/gnucash/scm/report.scm:
> 309: 13* [gnc:option-value ...
> 310: 14* [gnc:lookup-option #f "General" "Report name"]
> In /home/martin/Projects/gnucash-bin//share/gnucash/scm/options.scm:
> 1459: 15 ((options (quote lookup)) section name)
> 1459: 16* (options (quote lookup))
>
> /home/martin/Projects/gnucash-bin//share/gnucash/scm/options.scm:1459:4:
> In expression (options (quote lookup)):
> /home/martin/Projects/gnucash-bin//share/gnucash/scm/options.scm:1459:4:
> Wrong type to apply: #f
More information about the gnucash-devel
mailing list