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 651982 - Wrong type argument in position 1: #<undefined>
Wrong type argument in position 1: #<undefined>
Status: RESOLVED DUPLICATE of bug 651981
Product: GnuCash
Classification: Other
Component: General
2.2.9
Other Linux
: Normal critical
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2011-06-06 09:41 UTC by strk
Modified: 2018-06-29 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description strk 2011-06-06 09:41:27 UTC
When starting gnucash, pointed at my datafile, I get this printed on stdout:
{{{

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

Found Finance::Quote version 1.17
In /usr/share/gnucash/scm/report.scm:
 482: 13  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
 485: 14* (set! doc (if template (let* # # # ...) #f))
 485: 15* (if template (let* # # # ...) #f)
 486: 16  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...)
 488: 17* [#<procedure #f #> #]
In /usr/share/gnucash/guile-modules/gnucash/report/net-barchart.scm:
 426: 18  [net-renderer # #f]
    ...

 152: 19  (let* (# # # # ...) (letrec # # # ...))
 188: 20* [gnc:decompose-accountlist (# # # # ...)]
In /usr/share/gnucash/scm/report-utilities.scm:
  82: 21  [map #<procedure #f (x)> ((2 2 0 ...) (4 4 12 ...) (10 10) ...)]
In unknown file:
    ...
   ?: 22  (let ((ret (list #))) (letrec ((lp #)) (lp (cdr ls) ret)))
   ?: 23* [list ...
   ?: 24*  [#<procedure #f (x)> (2 2 0 1 14 15 16 11 5 ...)]
In /usr/share/gnucash/scm/report-utilities.scm:
  82: 25   [cons 2 ...
  84: 26*   [gnc:filter-accountlist-type (2 0 1 14 ...) (# # # # ...)]
  72: 27    [filter #<procedure #f (a)> (# # # # ...)]
In unknown file:
      ...
   ?: 28    [filiter #<procedure #f (a)> (# # # # ...) ...
   ?: 29*    (cond ((pred (car rest)) (cons (car rest) result)) (#t result))
   ?: 30*    [#<procedure #f (a)> #<undefined>]
In /usr/share/gnucash/scm/report-utilities.scm:
  73: 31     [member ...
  73: 32*     [xaccAccountGetType #<undefined>]
/usr/share/gnucash/scm/report-utilities.scm:73:21: In procedure xaccAccountGetType in expression (xaccAccountGetType a):

/usr/share/gnucash/scm/report-utilities.scm:73:21: Wrong type argument in position 1: #<undefined>
}}}

This is gnucash 2.2.9 built from r17949M on 2010-03-23
Comment 1 strk 2011-06-06 09:45:41 UTC
Oops, after closing the file, I get the behaviour documented in bug #651981
https://bugzilla.gnome.org/show_bug.cgi?id=651981

So I'm guessing this error message is the cause for the latter...
Comment 2 strk 2011-06-06 09:48:33 UTC
this becomes critical, given the consequences (can't open the file again)
Comment 3 strk 2011-06-06 09:59:48 UTC
Removing ~/.gnucash/books/budget.gnucash fixed this issue for me, on both machines. Can't tell if that book was there on the second machine at time of opening the file for the first time. But I do see the file getting back afterwards (when everything works).

It may have to do with the fact that I recently changed some account names and hierarchy (parents).
Comment 4 Geert Janssens 2011-06-07 15:46:38 UTC

*** This bug has been marked as a duplicate of bug 651981 ***
Comment 5 John Ralls 2018-06-29 22:58:46 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=651982. Please update any external references or bookmarks.