[GNC] Balsheet-eg.scm problem

Stephen M. Butler kg7je at arrl.net
Thu Aug 23 11:59:03 EDT 2018


On 08/23/2018 08:04 AM, Christopher Lam wrote:
> 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!

Ach!  OK.  So what language should I learn this winter?  Anything that
looks like:  COBOL, BASIC, Fortran, PL/SQL, Pascal (just a smidgen),
Transact, SPL (HP-3000)?  I have been thinking that putting C under my
belt might be useful -- then I retired!

--Steve


> 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
>> _______________________________________________

-- 
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8



More information about the gnucash-user mailing list