bespoke reports and compiling
Alex
mcmurchy1917-gnucash at yahoo.co.uk
Wed Aug 19 11:22:23 EDT 2015
I seem to have solved the problem by hacking out some more use-modules
statements that were only relevant to 2.4.11 and introducing a
use-module statement that seemed to be applicable to the 2.6 series of
gnucash.
Alex
On 19/08/15 13:36, Alex wrote:
> Hi All
>
> I'm a Linux user.
>
> I've just moved from 2.4.11 to 2.6.6. Now having to address problems
> with my bespoke reports no longer working. I've now got to the stage
> where the reports work with a bit of prompting and starting from the
> command line.
>
>> touch /home/alex/.gnucash/acompany-balsheet-eg.scm
>> gnucash
>
> I see these messages on the command line -
>
>> ;;; note: source file /home/alex/.gnucash/acompany-balsheet-eg.scm
>> ;;; newer than compiled
>> /home/alex/.cache/guile/ccache/2.0-LE-4-2.0/home/alex/.gnucash/acompany-balsheet-eg.scm.go
>> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
>> ;;; or pass the --no-auto-compile argument to disable.
>> ;;; compiling /home/alex/.gnucash/acompany-balsheet-eg.scm
>> ;;; compiled
>> /home/alex/.cache/guile/ccache/2.0-LE-4-2.0/home/alex/.gnucash/acompany-balsheet-eg.scm.go
>
>
> gnucash starts successfully and I can find the report in the Reports
> menu and use it. If I then close gnucash and restart from the command
> line
>
>> gnucash
>
> I get no messages on the command line.
> I get a message box pop up with
>
> "Report Failed! One of your previously opened reports has failed to
> open. The template on which it was based: acompany Balance Sheet
> (eguile), was not found."
>
> gnucash starts successfully but the report cannot be found in the
> Reports menu.
>
>
> If I then close gnucash and restart doing
>
>> touch /home/alex/.gnucash/acompany-balsheet-eg.scm
>> gnucash
> I can see and then use the report again.
>
> It would appear to use the report successfully I have to touch the
> report's source file each time so that it gets recompiled.
>
> I've searched the web for a solution without success. Do I need to
> export a variable containing path or flag?
>
> Has anyone got any suggestions?
>
> Alex
>
>
> _______________________________________________
> 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