GNOME Bugzilla – Bug 410407
Report error
Last modified: 2018-06-29 21:27:31 UTC
Please describe the problem: If an invoice is associated with a job, you cannot print it or generate a fancy invoice. Steps to reproduce: 1. Create a customer 2. Create a job 3. Create an invoice using the job 4. Post it 5. Attempt to print it Actual results: It simply reads: An error occurred while running the report. Expected results: Does this happen every time? Yes Other information: Output on command line: In /usr/local/share/gnucash/scm/report.scm: 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* [reg-renderer #] In unknown file: ?: 18 (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...))) ... ?: 19 (letrec ((add-order #)) (if (not #) (begin # # ...)) ...) In /usr/local/share/gnucash/guile-modules/gnucash/report/invoice.scm: 655: 20* (if (not (null? invoice)) (let (#) (set! table #) ...) ...) 656: 21 (let ((book #)) (set! table (make-entry-table invoice # ...)) ...) 689: 22* [gnc:html-document-add-object! # ... 691: 23* [make-client-table #<swig-pointer GncOwner * 855ad98> ()] 542: 24 (let ((table #)) (gnc:html-table-set-style! table "table" ...) ...) 548: 25* [gnc:html-table-append-row! # ... 550: 26* [list ... 551: 27* [string-expand ... 551: 28* [gnc:owner-get-name-and-address-dep #<swig-pointer GncOwner * 855ad98>] In /usr/local/share/gnucash/guile-modules/gnucash/business-core.scm: 64: 29 (let ((name #) (addr #)) (if (> # 0) (string-append name " " addr) addr)) 64: 30* [gnc:owner-get-name-dep #<swig-pointer GncOwner * 855ad98>] In unknown file: ?: 31 (letrec ((just-name (lambda # #))) (let ((type #)) (cond (# #) (#t #)))) In /usr/local/share/gnucash/guile-modules/gnucash/business-core.scm: ... 41: 32 [gnc:owner-get-name-dep ... 41: 33* (gnc:job-get-owner (gncOwnerGetJob owner)) /usr/local/share/gnucash/guile-modules/gnucash/business-core.scm:41:32: In expression (gnc:job-get-owner (gncOwnerGetJob owner)): /usr/local/share/gnucash/guile-modules/gnucash/business-core.scm:41:32: Unbound variable: gnc:job-get-owner
Created attachment 83044 [details] GnuCash file Attached is a file that triggers this bug.
Fixed in r15640. Thanks for the report!
I recognize that this bug has been closed, but I am still having the problem. I am running the windows binary gnucash-2.0.99-svn-r15667-setup.exe. I had hoped that this would fix the problem.
I have compiled my own binary from svn-r15673. Now I can print. Thanks.
I'm having this problem under linux with gnucash 2.2.1-1ubuntu4 (r16462). It seems to be related to Tax & Jobs (see http://wiki.gnucash.org/wiki/Windows/Old_Notes)
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=410407. Please update any external references or bookmarks.