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 410407 - Report error
Report error
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
git-master
Other All
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-02-21 14:58 UTC by Bastiaan
Modified: 2018-06-29 21:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GnuCash file (41.26 KB, text/plain)
2007-02-21 15:00 UTC, Bastiaan
Details

Description Bastiaan 2007-02-21 14:58:32 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
Comment 1 Bastiaan 2007-02-21 15:00:59 UTC
Created attachment 83044 [details]
GnuCash file

Attached is a file that triggers this bug.
Comment 2 Andreas Köhler 2007-02-21 18:47:34 UTC
Fixed in r15640.  Thanks for the report!
Comment 3 Paul Crown 2007-02-27 21:19:06 UTC
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.
Comment 4 Paul Crown 2007-02-27 23:43:10 UTC
I have compiled my own binary from svn-r15673.  Now I can print.  Thanks.
Comment 5 Robin Gower 2008-01-28 11:01:23 UTC
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)
Comment 6 John Ralls 2018-06-29 21:27:31 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=410407. Please update any external references or bookmarks.