[GNC] Balsheet-eg.scm problem

Christopher Lam christopher.lck at gmail.com
Thu Aug 23 11:04:27 EDT 2018


I can confirm loading of eguile reports is different. Hence I could not
trigger loading. Hence there's no test for them.

Off they go, please!

On Thu, 23 Aug 2018, 21:20 Derek Atkins <warlord at mit.edu> wrote:

> Hi,
>
> "Stephen M. Butler" <kg7je at arrl.net> writes:
>
> > I tripped over a few more typos that seemingly were unrelated to the
> > errors produced.
> >
> > I can get this set of files to work usurping the balsheet-eg.scm
> > report.  If I change that back to balsheet-fmtd.scm (and fix the name
> > dependencies in the file), it isn't seen by GNC.
> >
> > Moving the files down to standard-reports throws other errors that I
> > can't figure out.  So, what has to happen to get the report to load
> > independent of balsheet-eg?
>
> [snip]
> >>>> 3068: 9 [try-module-autoload (gnucash report business-reports) #f]
> >>>> 2404: 8 [save-module-excursion #<procedure 55a8a488cc90 at
> >>>> ice-9/boot-9.scm:3069:17 ()>]
> >>>> 3088: 7 [#<procedure 55a8a488cc90 at ice-9/boot-9.scm:3069:17 ()>]
> >>>> In unknown file:
> >>>>    ?: 6 [primitive-load-path "gnucash/report/business-reports" ...]
> >>>> In business-reports.scm:
> >>>>  123: 5 [#<procedure 55a8a470a7c0 ()>]
> >>>> In ice-9/boot-9.scm:
> >>>> 3589: 4 [process-use-modules (((gnucash report balsheet-eg)))]
> >>>>  705: 3 [map #<procedure 55a8a3761d40 at ice-9/boot-9.scm:3589:25
> >>>> (mif-args)> ((#))]
> >>>> 3590: 2 [#<procedure 55a8a3761d40 at ice-9/boot-9.scm:3589:25
> >>>> (mif-args)> (#)]
> >>>> 2870: 1 [resolve-interface (gnucash report balsheet-eg) #:select ...]
> >>>> In unknown file:
> >>>>    ?: 0 [scm-error misc-error #f ...]
> >>>>
> >>>> ERROR: In procedure scm-error:
> >>>> ERROR: no code for module (gnucash report balsheet-eg)
>
> Basically, the issue being reported is that it is trying to find "gnucash
> report balsheet-eg" but it can't.  WHY it thinks there is "no code for
> module" is a different question.  One possibility is caching -- you
> should definitely clear your guile cache.  You can also "touch" the .scm
> files to make them look newer so they get recompiled.
>
> I was under the impression that all the files in standard-reports get
> auto-loaded.  So just pulling a new report in there should be
> sufficient.  HOWEVER the e-guile reports MIGHT be different.
>
> Also, ensure the file name and path matches the module name.
>
> -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
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> 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