Re: [GNC] Custom invoices don't work after upgrade

2020-07-03 Thread Geert Janssens
Op vrijdag 3 juli 2020 15:11:13 CEST schreef lo...@clickworkorange.com: > On Fri, 2020-07-03 at 12:25 +, Christopher Lam wrote: > > Here you go. Seems to be a nice css template. You should submit for > > inclusion ^_^ > > Oh, many thanks! In a previous life I did CSS for a living, so it feels

Re: [GNC] Custom invoices don't work after upgrade

2020-07-03 Thread lomax
On Fri, 2020-07-03 at 12:25 +, Christopher Lam wrote: > Here you go. Seems to be a nice css template. You should submit for > inclusion ^_^ Oh, many thanks! In a previous life I did CSS for a living, so it feels a lot more familiar than Guile... Still stuck on where to put the cwo-

Re: [GNC] Custom invoices don't work after upgrade

2020-07-03 Thread Christopher Lam
Here you go. Seems to be a nice css template. You should submit for inclusion ^_^ On Fri, 3 Jul 2020 at 11:24, wrote: > Still locked in battle with my invoice template. While testing a few > changes I noticed they weren't being picked up - because I was editing > the wrong file. A search

Re: [GNC] Custom invoices don't work after upgrade

2020-07-03 Thread lomax
Still locked in battle with my invoice template. While testing a few changes I noticed they weren't being picked up - because I was editing the wrong file. A search revealed no less than five(!) different locations where I had copies of the template files: ~/.local/share/gnucash/

Re: [GNC] Custom invoices don't work after upgrade

2020-07-03 Thread lomax
On Fri, 2020-07-03 at 10:04 +0800, Christopher Lam wrote: > Going forward, it will be useful to attach your custom invoice and we > can offer better feedback. Sure, I just didn't want to expose anyone else to this mess - but if you're feeling brave... /* Stylesheet for cwo-invoice.scm --

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread Geert Janssens
I'm sorry your distro pulled the rug from under you at this crucial moment. However if it's that crucial perhaps you should revert your system to a backup before the upgrade, do your invoice work and then when the pressure is off, look at upgrading again and what's needed to get your custom

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread Frank H. Ellenberger
Am 02.07.20 um 18:29 schrieb John Ralls: > you have two choices: Never upgrade or don't use custom reports. IMHO there is always a third choice: Submit your customization as an enhancement request. If the team agrees, probably after further modification, you will have no issues with upgrades.

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread John Ralls
> On Jul 2, 2020, at 8:37 AM, Frank H. Ellenberger > wrote: > > Hi, > > Am 02.07.20 um 17:01 schrieb lo...@clickworkorange.com: >> On Thu, 2020-07-02 at 13:32 +0100, lo...@clickworkorange.com wrote: >>> My custom invoice template that I've used for many years stopped >>> working after

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread lomax
On Thu, 2020-07-02 at 17:37 +0200, Frank H. Ellenberger wrote: > Hi, > > Am 02.07.20 um 17:01 schrieb > lo...@clickworkorange.com > : > > On Thu, 2020-07-02 at 13:32 +0100, > > lo...@clickworkorange.com > > wrote: > > > My custom invoice template that I've used for many years stopped > > >

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread Frank H. Ellenberger
Hi, Am 02.07.20 um 17:01 schrieb lo...@clickworkorange.com: > On Thu, 2020-07-02 at 13:32 +0100, lo...@clickworkorange.com wrote: >> My custom invoice template that I've used for many years stopped >> working after upgrading to 3.4 as part of a dist-upgrade. I had to >> remove a few things such

[GNC] Custom invoices don't work after upgrade

2020-07-02 Thread lomax
My custom invoice template that I've used for many years stopped working after upgrading to 3.4 as part of a dist-upgrade. I had to remove a few things such as (use-modules (gnucash gnc-module)) (use-modules (gnucash printf)) in order for the template to compile, but I now get

Re: [GNC] Custom invoices don't work after upgrade

2020-07-02 Thread lomax
On Thu, 2020-07-02 at 13:32 +0100, lo...@clickworkorange.com wrote: > My custom invoice template that I've used for many years stopped > working after upgrading to 3.4 as part of a dist-upgrade. I had to > remove a few things such as > >(use-modules (gnucash gnc-module)) >(use-modules

[GNC] Custom invoices don't work after upgrade

2020-07-02 Thread lomax
My custom invoice template that I've used for many years stopped working after upgrading to 3.4 as part of a dist-upgrade. I had to remove a few things such as (use-modules (gnucash gnc-module)) (use-modules (gnucash printf)) in order for the template to compile, but I now get

Re: [GNC] Custom invoices don't work after upgrade

2019-05-21 Thread Derek Atkins
Hi, JB writes: > Hi, > I have the same exact issue. > An error occurred when processing the template: > > Unbound variable: qof-book-get-slots [snip] > > Is it possible to post the diff regarding(slots > (qof-book-get-slots book)) ? The slots are now hidden under the

Re: [GNC] Custom invoices don't work after upgrade

2019-05-21 Thread JB
Hi, I have the same exact issue. An error occurred when processing the template: Unbound variable: qof-book-get-slots In ice-9/boot-9.scm: 829:9 4 (catch _ _ # _) In eguile-gnc.scm: 187:6 3 (eval-input) 187:6 2 (lp) 191:13 1 (loop) In ice-9/eval.scm: 619:8 0 (_ #(#(#(#(#)

Re: [GNC] Custom invoices don't work after upgrade

2018-06-06 Thread Derek Atkins
Hi, On Wed, June 6, 2018 8:15 am, Christopher Lam wrote: > It's an unholy mix of tags and snippets, mixed together > that's not intelligible to any of the IDEs I've used, and cannot be > beautified in by any sane indenting rules. There's no clear beginning nor > end, and unclear where code or

Re: [GNC] Custom invoices don't work after upgrade

2018-06-06 Thread Christopher Lam
It's an unholy mix of tags and snippets, mixed together that's not intelligible to any of the IDEs I've used, and cannot be beautified in by any sane indenting rules. There's no clear beginning nor end, and unclear where code or text lies. It begins with a doctype, yet is an .scm, is not

Re: [GNC] Custom invoices don't work after upgrade

2018-06-05 Thread Derek Atkins
Christopher Lam writes: > Try this one... unfortunately most of the report uses eguile which I can't > understand. I'm curious -- what about e-guile don't (can't) you understand? > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All.

Re: [GNC] Custom invoices don't work after upgrade

2018-06-02 Thread Christopher Lam
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

Re: [GNC] Custom invoices don't work after upgrade

2018-06-02 Thread Geert Janssens
Op zaterdag 2 juni 2018 06:18:54 CEST schreef Adrien Monteleone: > Just an FYI, the “qof-” ’interface’ will be phased out as development > progresses on moving to a proper db based application, so I wouldn’t rely > on it if at all possible. That particular variable/function very well might > be a

Re: [GNC] Custom invoices don't work after upgrade

2018-06-01 Thread Adrien Monteleone
Just an FYI, the “qof-” ’interface’ will be phased out as development progresses on moving to a proper db based application, so I wouldn’t rely on it if at all possible. That particular variable/function very well might be a now deprecated part of the API. See the roadmap article on the wiki

Re: [GNC] Custom invoices don't work after upgrade

2018-06-01 Thread Christopher Lam
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 < jordanandrei...@harewaves.net> wrote: > Here

Re: [GNC] Custom invoices don't work after upgrade

2018-06-01 Thread Christopher Lam
Could you send these customised invoices as an attachment? On Sat, 2 Jun 2018, 02:34 Jordan and Reidun Staudinger < jordanandrei...@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. >

[GNC] Custom invoices don't work after upgrade

2018-06-01 Thread Jordan and Reidun Staudinger
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