[GNC] Custom invoices don't work after upgrade

Christopher Lam christopher.lck at gmail.com
Sat Jun 2 21:41:10 EDT 2018


try

Sent from Mail for Windows 10

From: Jordan and Reidun Staudinger
Sent: Saturday, 2 June 2018 11:17 PM
To: Christopher Lam
Subject: Re: [GNC] Custom invoices don't work after upgrade

Thanks for your help with this, I really appreciate it. The new one you sent back gives a different error:

An error occurred when processing the template:
ERROR: In procedure car: Wrong type (expecting pair): #<collectable-swig-pointer Timespec * 5348fc0>
In ice-9/eval.scm:
 432: 8 [eval # #]
 432: 7 [eval # #]
 436: 6 [eval # #]
In unknown file:
   ?: 5 [sort-list (# #) #]
In ice-9/eval.scm:
 387: 4 [eval # #]
In unknown file:
   ?: 3 [car #]


Something in the invoice needs to be tweaked a bit, I'm guessing.

Thanks again,
Reidun
On 06/01/2018 08:43 PM, Christopher Lam wrote:
Try this one... unfortunately most of the report uses eguile which I can't understand.
The Gnucash API does change from time to time and usually it'd best to ask the report creator for an update.

On 2 June 2018 at 07:33, Jordan and Reidun Staudinger <jordanandreidun at harewaves.net> wrote:
Here they are. Thanks!

On 06/01/2018 05:11 PM, Christopher Lam wrote:
Could you send these customised invoices as an attachment?

On Sat, 2 Jun 2018, 02:34 Jordan and Reidun Staudinger <jordanandreidun at harewaves.net> wrote:
Hi, I have had some pretty decent looking custom invoices set up in 
GnuCash for a few years now, and I've been quite happy with them. 
However, after the last update, I now get the following message when I 
try to load one of the saved invoice reports:


            An error occurred when processing the template:

            ERROR: Unbound variable: qof-book-get-slots
            In ice-9/eval.scm:
              432: 7 [eval # #]
              411: 6 [eval # #]
              386: 5 [eval #)> (() # # # ...)]
              393: 4 [eval # (() # # # ...)]
            In unknown file:
                ?: 3 [memoize-variable-access! # #]


In order to get the invoices working previously, I had to put custom 
.css and .scm files in the 
/usr/share/gnucash/guile-modules/gnucash/report/ folder, which I now see 
no longer exists. So I did some poking around, and found that the files 
are now in /usr/share/gnucash/scm/gnucash/report/. They were already 
there without me adding them. Not sure if this is the reason for the 
error or not.

Any help would be greatly appreciated, as this is preventing me from 
sending invoices to my customers.

Thanks much, Reidun



-- 
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------

Teach CanIt if this mail (ID 01VRuwM0D) is spam:
Spam:        
Not spam:    
Forget vote: 
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS

_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.









Spam
Not spam
Forget previous vote

-------------- next part --------------
A non-text attachment was scrubbed...
Name: GBM Invoice.eguile.scm
Type: application/octet-stream
Size: 19145 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20180603/68b1450b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 017A2033F96B45C58ACCE4DCB89DC126.png
Type: image/png
Size: 148 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20180603/68b1450b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C76B0E3C32B142A5B6F424D7F673645A.png
Type: image/png
Size: 148 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20180603/68b1450b/attachment-0001.png>


More information about the gnucash-user mailing list