Register report crashes 2.3.7 on Win32

Derek Atkins warlord at MIT.EDU
Wed Nov 18 12:24:08 EST 2009


Phil,

Phil Longstaff <plongstaff at rogers.com> writes:

> On November 17, 2009 03:48:34 pm Christian Stimming wrote:
>> Am Dienstag, 17. November 2009 schrieb Phil Longstaff:
>> >  we're running into a problem when running the register report on win32
>> >  crashes because register-report-create-internal is not defined.  Easily
>> >  reproducible. I downloaded the latest build (svn r18412).  The report
>> >  files in /c/Program\
>> >  Files/gnucash/share/gnucash/guile-modules/gnucash/report/standard-
>> >  reports/*.scm all have module definitions:
>> >
>> >     (define-module (gnucash report register))
>> >
>> > The same files on my linux system have:
>> >
>> >     (define-module (gnucash report standard-reports register))
>> >
>> > and that is what the source files have.  Please check that the correct
>> >  files are getting into the build.
>> 
>> dear phil, thanks a lot for pointing this out. it turns out the build
>> directory only has outdated copies of the scheme files around, which get
>> installed erroneously instead of the up-to-date files from the source
>> directory. i#ve completely removed the build directory on the win32 build
>>  host so we should be fine for the next nightly build. thank you very much.
>
> Is the build process broken?  Why aren't the new report files copied to the 
> build directory?

I don't know if I'd call it broken per-se, but kinda, yeah..  The issue
is that "ln -s" doesn't work on Win32, so the windows code uses 'cp'
instead.  But the code is also designed to not perform the "LN_S"
multiple times, so it only performs the CP the first time...  Which
means it doesn't pick up changes.

I think the right answer is to change the code to not create the
.scm-links file on Win32 so the CP happens every time.

> Phil

-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