Error in advanced portfolio report after swigification
Sigve Indregard
sigve.indregard at gmail.com
Wed Oct 18 16:56:59 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With the current HEAD I get the following error when trying to view
the Advanced Portfolio. I got an error at compile-time related to
xaccTransGetSplitsGL, but I fixed that through "make uninstall" before
I make'd. I also struggled to install because the intl-scm/ Makefile
tried to get all *.scm files, including those in g-wrapped/
directories. After deleting those directories, installation went
smoothly. But the report does not work.
I'm on Ubuntu Dapper Drake with swig 1.3.29 installed from source.
Here's the output:
In /usr/local/share/gnucash/scm/report.scm:
417: 13 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
420: 14* (set! doc (if template (let* # # # ...) #f))
420: 15* (if template (let* # # # ...) #f)
421: 16 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc
stylesheet) ...)
423: 17* [advanced-portfolio-renderer #]
In
/usr/local/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
179: 18 (let (# # #) (letrec # # #))
...
553: 19 (let (# # # ...) (gnc:html-document-set-title! document #) ...)
593: 20* (if (not (null? accounts)) (let* (# # # ...) (if show-symbol
#) ...) ...)
595: 21 (let* (# # # # ...) (if show-symbol #) (if show-listing #) ...)
649: 22* [table-add-stock-rows # # # ...]
287: 23 (let ((share-print-info #)) (letrec (#) (set! work-to-do #)
...))
...
294: 24 (let* (# # # # ...) (for-each # #) (set! use-txn #) ...)
334: 25* [for-each #<procedure #f (split)> (#<swig-pointer Split *
85be348>)]
In unknown file:
?: 26 (if (null? rest) (letrec ((lp #)) (lp list1)) ...)
...
?: 27 (begin (f (car l)) (lp (cdr l)))
?: 28* [#<procedure #f (split)> #<swig-pointer Split * 85be348>]
In
/usr/local/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
338: 29 (let ((parent #)) (if (gnc:timepair-le # to-date) (begin # # #)))
...
340: 30 (begin (for-each # #) (set! basis-list #) (for-each # #))
341: 31* [for-each #<procedure #f (s)> ...
364: 32* (xaccTransGetSplits parent)
/usr/local/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:364:25:
In expression (xaccTransGetSplits parent):
/usr/local/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:364:25:
Unbound variable: xaccTransGetSplits
- --
Sigve Indregard
Student, Oslo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFNpUbSgvfpVbsmAIRAv/nAJ9oOJMs3kBfQhQqP6hSJZ4hNO/RsACcDiKU
WZgYH3kpUY20RwsFSDJDi1A=
=ePtV
-----END PGP SIGNATURE-----
More information about the gnucash-devel
mailing list