Fwd: World friendlier printable invoices

Bryan Cebuliak bryan.cebuliak at gmail.com
Wed Oct 3 04:32:01 EDT 2007


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 it is a problem specific to the 2.0 branch. Dunno.
So, unless someone else would like to test it first, can you load the
new code into trunk?
This will do me until some deus ex machina gives us HTML templates for
printable invoices.

Best regards to all,
Your bleeding user,
Bryan Cebuliak
Brisbane Oz

On 10/3/07, Bryan Cebuliak <bryan.cebuliak at gmail.com> wrote:
> 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 new onto old reports then restarting gnucash. Any hints on how
> to get useful log or debugging output here? In anticipation, why does
> it have to crash? Can this be fixed to allow a more graceful, user
> friendly failure?
> Bryan
>
> On 10/3/07, Derek Atkins <warlord at mit.edu> wrote:
> > Hi,
> >
> > "Bryan Cebuliak" <bryan.cebuliak at gmail.com> 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
> >
> > > Attached please file the diff output files including the total ex tax
> > > localisation changes.
> >
> > Unfortunately you:
> >
> > a) ran diff manually
> > b) didn't use '-u' to create a unified diff
> >
> > > Also, do you have an idea why opening gnucash with a saved
> > > fancy-invoice report in the old format using the new fancy-invoice.scm
> > > etc crashes gnucash? The same may happen with the the other files. Not
> > > tested yet. This is avoided if the old report tab is closed prior to
> > > saving before upgrading the invoice files. This is a show stopper if
> > > it happened with a gnucash upgrade.
> >
> > Umm... Without really seeing your changes (while my brain can process
> > a unified diff, I can't really process a non-context/non-unified diff)
> > I can only guess.  My first guess is that you changed the available
> > options so that when gnucash reloads the options into the report it
> > fails.  But I don't know without seeing the code and seeing the
> > crash backtrace.
> >
> > It would be "allowed" in a major release change, but certainly not
> > within a stable release.  E.g., this happened between 1.6 -> 1.8
> > and again from 2.0 -> 2.2.  (It might have happened from 1.8 -> 2.0
> > too, but I don't recall).
> >
> > -derek
> > --
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord at MIT.EDU                        PGP key available
> >
>
>


More information about the gnucash-devel mailing list