Re: Fwd: World friendlier printable invoices

2007-10-05 Thread Josh Sled
Stuart D. Gathman [EMAIL PROTECTED] writes: On Wed, 3 Oct 2007, Josh Sled wrote: 3/ it sucks. 3 is not very specific :-) Let me help. IMO the main problem with PHP is its strength - the string subsitution model. Shell programming has I think it is neither a very good programming language

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread Bryan Cebuliak
Dear Derek, Attached please find output of svn diff re gnucash business invoice reports. Sounds like you may be right about changing the options. When I get time I will attempt a test crash by reverting to old reports and opening a gnucash printable invoice, saving then closing gnucash, copying

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread P. Christeas
Josh Sled wrote: Chris Shoemaker [EMAIL PROTECTED] writes: Instead, if there is anyone interested, I would recommend that they adapt the swig .i files to the popular scripting language of their preference, and use the popular templating system of their choice. This is a far better

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread Bryan Cebuliak
Dear Derek, OK. I tried to crash the program as I previously described using the 2.2.1 latest stable gnucash for Debian Sid. Plus, I tried with an open invoice. IT WILL NOT CRASH. Maybe I fixed the problem by properly localising the Total ex Tax code with those mystery underscore thingies. Maybe

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread Josh Sled
Bryan Cebuliak [EMAIL PROTECTED] writes: copying new onto old reports then restarting gnucash. Any hints on how to get useful log or debugging output here? Take a look at the logging functions at src/scm/main.scm:165 . In anticipation, why does it have to crash? Can this be fixed to allow

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread Josh Sled
P. Christeas [EMAIL PROTECTED] writes: Lurking in this list, I have only read the last postings, so excuse me if I'm wrong: Would it pay to let PHP access the invoice data (sth. like a PHP module with bindings to gnc model) ? Then, PHP, widely adopted for html templating, could handle all

Re: Fwd: World friendlier printable invoices

2007-10-03 Thread Stuart D. Gathman
On Wed, 3 Oct 2007, Josh Sled wrote: As for picking PHP as that language, I think it has some important marks in its 'Con' column. 1/ it appears to be a very large dependency (relative to perl or python) 2/ it's not already installed on system- or desktop- boxes (in the way perl or

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Derek Atkins
Hi, Bryan Cebuliak [EMAIL PROTECTED] writes: Pardon me, I am really very new at this. Would you like me to do that now with the files or have you already done it? Will just a plain diff file.scm filenew.scm diffoutfile do the trick? Usually the way to do it would be: svn diff

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Derek Atkins
Subject: Re: Fwd: World friendlier printable invoices Hi, Bryan Cebuliak [EMAIL PROTECTED] writes: Pardon me, I am really very new at this. Would you like me to do that now with the files or have you already done it? Will just a plain diff file.scm filenew.scm diffoutfile do the trick

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Monte Jewell
: World friendlier printable invoices Hi, Bryan Cebuliak [EMAIL PROTECTED] writes: Pardon me, I am really very new at this. Would you like me to do that now with the files or have you already done it? Will just a plain diff file.scm filenew.scm diffoutfile do the trick? Usually the way to do

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Chris Shoemaker
Message- From: Derek Atkins [EMAIL PROTECTED] Date: Tue, 02 Oct 2007 10:09:56 To:Bryan Cebuliak [EMAIL PROTECTED] Cc:gnucash-devel@gnucash.org Subject: Re: Fwd: World friendlier printable invoices Hi, Bryan Cebuliak [EMAIL PROTECTED] writes: Pardon me, I am really very new

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Derek Atkins
Quoting Josh Sled [EMAIL PROTECTED]: Just for the record, and because, as you point out, this has been repeated several times... I agree that the solution is an html templating system. However, there are many better examples than eguile, if one is willing to use a scripting language other

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Josh Sled
Chris Shoemaker [EMAIL PROTECTED] writes: On Tue, Oct 02, 2007 at 11:03:29AM -0400, Derek Atkins wrote: As I've said over and over, the REAL answer is to integrate e-guile and then invoices could be an HTML-template with embedded guile, instead of a scheme program that happens to generate

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Bryan Cebuliak
Thanks, Derek. I will have to read up on how to work subversion. Then I will run diff for the second time ever. In the mean time, you have the complete code and the knowledge to fix the crash problem. Ah, but the time? At least I have solved my own little problem about editing gnucash invoice

Re: Fwd: World friendlier printable invoices

2007-10-02 Thread Josh Sled
Bryan Cebuliak [EMAIL PROTECTED] writes: I will run diff for the second time ever. In the mean time, you have the complete code and the knowledge to fix the crash problem. Ah, but The identity of reports is by name, so you may care to use a different name for the report (at least during