Budget report with a different format
Phil Longstaff
plongstaff at rogers.com
Tue Dec 7 10:46:29 EST 2010
For now, I've just been copying the report to the standard-reports directory
each time. Hmmm... Makes sense that there should be another place that is
looked, maybe under the gnucash config dir (.gnucash on linux,
~/Library/Application Support/Gnucash on OSX).
Phil
---------
I used to be a hypochondriac AND a kleptomaniac. So I took something for it.
________________________________
From: David T. <sunfish62 at yahoo.com>
To: Daniel Trezub <daniel3ub at gmail.com>; Phil Longstaff <plongstaff at rogers.com>
Cc: gnucash-user <gnucash-user at lists.gnucash.org>
Sent: Mon, December 6, 2010 2:53:09 PM
Subject: Re: Budget report with a different format
Phil--
Keep in mind that I am on Mac OS X (and that I am truly proof of the adage that
a little knowledge is a dangerous thing).
Gnucash runs correctly without your report.
Following wiki.gnucash.org/wiki/Custom_Reports, I put the report in
~/Library/Application Support/Gnucash, that is, in the same folder as the
saved-reports-2.4 file. I have a config.user file in that folder that loads the
report.
If I comment out the report load line, Gnucash runs fine. If I reactivate the
command, it crashes.
Looking at that wiki page, the command used in the example is "load", but for
some reason the command I put in my cofig.user was "load-from-path". I am sure
this came from direction on the lists at some time. Could that the problem?
Personally, I think that it would be preferable that this report be placed in
the same spot as other non-distribution reports (i.e. .gnucash, or OS X's
~/Library/ ... folder), rather than in the distributed application. If for some
reason I need to reinstall, then your report will get clobbered. I will test to
see whether moving it there would make a difference.
David
--- On Mon, 12/6/10, Phil Longstaff <plongstaff at rogers.com> wrote:
From: Phil Longstaff <plongstaff at rogers.com>
Subject: Re: Budget report with a different format
To: "David T." <sunfish62 at yahoo.com>, "Daniel Trezub" <daniel3ub at gmail.com>
Cc: "gnucash-user" <gnucash-user at lists.gnucash.org>
Date: Monday, December 6, 2010, 6:04 AM
Just looking at that stack, I don't see how my report is the cause.
Does gnucash run correctly without my report, but when you add it, it crashes?
I realized I didn't indicate it should be added. It should be placed into
share/gnucash/guile-modules/gnucash/reports/standard-reports under your gnucash
directory and then gnucash needs to be restarted. It will then appear under
Reports/Budget Reports.
Phil
---------
I used to be a hypochondriac AND a kleptomaniac. So I took something for it.
From:
David T. <sunfish62 at yahoo.com>
To: Phil Longstaff <plongstaff at rogers.com>; Daniel Trezub <daniel3ub at gmail.com>
Cc: gnucash-user <gnucash-user at lists.gnucash.org>
Sent: Mon, December 6, 2010 12:48:12 AM
Subject: Re: Budget report with a different format
Phil--
I've now tried your modified budget report under 2.3.17, without success.
Gnucash crashes on startup, with the following:
Backtrace:
In current input:
1: 0* [gnc:main]
In
/Applications/Gnucash-2.3.17.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm:
208: 1* (gnc:initialize-config-vars)
/Applications/Gnucash-2.3.17.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm:208:3:
In expression
(gnc:initialize-config-vars):
/Applications/Gnucash-2.3.17.app/Contents/Resources/share/gnucash/guile-modules/gnucash/main.scm:208:3:
Unbound variable: gnc:initialize-config-vars
--- On Mon, 11/29/10, Daniel Trezub <daniel3ub at gmail.com> wrote:
> From: Daniel Trezub <daniel3ub at gmail.com>
> Subject: Re: Budget report with a different format
> To: "Phil Longstaff" <plongstaff at rogers.com>
> Cc: "gnucash-user" <gnucash-user at lists.gnucash.org>
> Date: Monday, November 29, 2010, 4:03 PM
> Phil, I love the idea!
> But... how do I install/use
it?
> I am using GC 2.2.9 in a Ubuntu 10.04
>
> Thanks!
> =====
> Daniel Trezub
> http://www.gameblogs.com.br
>
>
> On 27 November 2010 17:08, Phil Longstaff <plongstaff at rogers.com>
> wrote:
>
> > I have been playing around with the budget report to
> provide the info I
> > want in the format I want. For now, I've just
> called it "PSL
> > Budget" (my initials). I don't know what bugs
> there might be.
> >
> > The format. There are 3 sets of columns.
> Each set of columns can have
> > budget/actual/diff values. The three sets of
> columns are (1) current
> > month (2) all months up to and including this one (3)
>
full year. This
> > allows me to see budget room (or over-budget) for the
> month, accumulated
> > budget room (or over-budget) from past months and
> budget room (or
> > over-budget for the year).
> >
> > In the general tab of the report options, you can
> select which month is
> > the current one. I haven't tied this in to the
> date yet.
> >
> > I don't know what bugs there are or if this will make
> it into 2.4.0.
> > I'm interested in any feedback.
> >
> > For any developers who might want to tweak this or
> create budget reports
> > which combine columns: Under the surface, I've done
> some work in how
> > budget columns are specified, so that a column set
> spec is given to the
> > budget report engine. Look at lines
> 500/501. This is where the
column
> > sets are specified. The spec is a list. If
> a list item is a number,
> > the column set is the budget/actual/diff for that
> period. If the list
> > item is a list of numbers, the column set is the sum
> of
> > budget/actual/diff for those periods. Thus, (10
> (0 1 2 3 4 5 6 7 8 9
> > 10) (0 1 2 3 4 5 6 7 8 9 10 11)) specifies first set =
> november, 2nd set
> > = jan-nov, 3rd set = whole year (indexes start at
> 0). You could have
> > ((0 1 2) (3 4 5) (6 7 8) (9 10 11)) for 4 sets, each
> one being a
> > quarter. Eventually, I'd like to see the report
> engines take a row
> > specification (what accounts and how to subtotal/total
> them) and a
> > column spec (what columns and how to subtotal/total
> them), both of which
> > are
user-definable.
> >
> > Phil
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> >
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
More information about the gnucash-user
mailing list