Re: Make check fails in src/import-export

2015-01-12 Thread Mike Evans
On Sun, 11 Jan 2015 19:02:22 +0100
Geert Janssens  wrote:

> On Sunday 11 January 2015 09:43:48 John Ralls wrote:
> > > On Jan 11, 2015, at 9:33 AM, Mike Evans 
> > > wrote:
> > > 
> > > On Sun, 11 Jan 2015 09:16:19 -0800
> > > 
> > > John Ralls  wrote:
> > >>> On Jan 11, 2015, at 8:31 AM, Mike Evans 
> > >>> wrote:
> > >>> 
> > >>> With the following output snippet:
> > >>> 
> > >>> 
> > >>> make[2]: Entering directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' PASS:
> > >>> test-link
> > >>> Backtrace:
> > >>> In ../../../src/app-utils/gnucash/app-utils.scm:
> > >>> 29:  0* (use-modules (gnucash gettext))
> > >>> 29:  1  (eval-case (# # *unspecified*) (else #))
> > >>> 29:  2  (begin (process-use-modules (list (list #)))
> > >>> *unspecified*)
> > >>> 
> > >>> In unknown file:
> > >>>  ?:  3* [process-use-modules (((gnucash gettext)))]
> > >>>  ?:  4  (let* ((interfaces #)) (call-with-deferred-observers
> > >>>  (lambda () #))) ?:  5* [map #
> > >>>  (((gnucash gettext)))] ?:  6* [#
> > >>>  ((gnucash gettext))]
> > >>>  ?:  7* (or (apply resolve-interface mif-args) (error "no such
> > >>>  module" mif-args)) ?:  8* [apply # > >>>  (name . args)> ((gnucash gettext))] ?:  9  [resolve-interface
> > >>>  (gnucash gettext)]
> > >>>  
> > >>>   ...
> > >>>  
> > >>>  ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
> > >>>  ?: 11* (and (or (not module) (not public-i)) (error "no code for
> > >>>  module" name)) ?: 12  [error "no code for module" (gnucash
> > >>>  gettext)]
> > >>>  
> > >>>   ...
> > >>>  
> > >>>  ?: 13  [scm-error misc-error #f ...]
> > >>> 
> > >>> : In procedure scm-error in expression (scm-error
> > >>> (quote misc-error) #f ...): : no code for module
> > >>> (gnucash gettext)
> > >>> FAIL: test-import-parse
> > >>> ==
> > >>> 1 of 2 tests failed
> > >>> Please report to gnucash-devel@gnucash.org
> > >>> ==
> > >>> make[2]: *** [check-TESTS] Error 1
> > >>> make[2]: Leaving directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> > >>> make[1]: *** [check-am] Error 2
> > >>> make[1]: Leaving directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' make:
> > >>> *** [check-recursive] Error 1
> > >>> 
> > >>> 
> > >>> Thoughts?
> > >> 
> > >> Could be a problem with a cached .go. Try deleting ~/.cache/guile
> > >> and $PREFIX/share/gnucash/scm/ccache.
> > >> 
> > >> Regards,
> > >> John Ralls
> > > 
> > > Hi John.
> > > 
> > > rm -rf  /home/mikee/.cache/*
> > > rm -rf  /home/mikee/.ccache/*
> > > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/cache
> > > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/ccache
> > > 
> > > Still same results.
> > > 
> > > But from the backtrace, I have no
> > > ../../../src/app-utils/gnucash/app-utils.scm .  This file is at
> > > actually at ../../../src/app-utils/app-utils.scm  Where is this
> > > path defined?
> > Those links are made by the scm-links target in
> > src/app-utils/Makefile.am. Maybe you need to do a clean build.
> > 
> > Regards,
> > John Ralls
> > 
> > 
> > ___
> > gnucash-devel mailing list
> > gnucash-devel@gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
> Or remove the hidden file .scm-links
> 
> The links will then be regenerated.
> 
> Geert

Thanks Geert & John.  I did a fresh build and all was well again.  I've added 
tests for when the deposit or withdrawal fields are either empty or are just 
space(es).

MikeE

-- 
Anti NSA?  Use PGP.
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00CDB13500D7AB53  
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails in src/import-export

2015-01-11 Thread Geert Janssens
On Sunday 11 January 2015 09:43:48 John Ralls wrote:
> > On Jan 11, 2015, at 9:33 AM, Mike Evans 
> > wrote:
> > 
> > On Sun, 11 Jan 2015 09:16:19 -0800
> > 
> > John Ralls  wrote:
> >>> On Jan 11, 2015, at 8:31 AM, Mike Evans 
> >>> wrote:
> >>> 
> >>> With the following output snippet:
> >>> 
> >>> 
> >>> make[2]: Entering directory
> >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' PASS:
> >>> test-link
> >>> Backtrace:
> >>> In ../../../src/app-utils/gnucash/app-utils.scm:
> >>> 29:  0* (use-modules (gnucash gettext))
> >>> 29:  1  (eval-case (# # *unspecified*) (else #))
> >>> 29:  2  (begin (process-use-modules (list (list #)))
> >>> *unspecified*)
> >>> 
> >>> In unknown file:
> >>>  ?:  3* [process-use-modules (((gnucash gettext)))]
> >>>  ?:  4  (let* ((interfaces #)) (call-with-deferred-observers
> >>>  (lambda () #))) ?:  5* [map #
> >>>  (((gnucash gettext)))] ?:  6* [#
> >>>  ((gnucash gettext))]
> >>>  ?:  7* (or (apply resolve-interface mif-args) (error "no such
> >>>  module" mif-args)) ?:  8* [apply # >>>  (name . args)> ((gnucash gettext))] ?:  9  [resolve-interface
> >>>  (gnucash gettext)]
> >>>  
> >>>   ...
> >>>  
> >>>  ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
> >>>  ?: 11* (and (or (not module) (not public-i)) (error "no code for
> >>>  module" name)) ?: 12  [error "no code for module" (gnucash
> >>>  gettext)]
> >>>  
> >>>   ...
> >>>  
> >>>  ?: 13  [scm-error misc-error #f ...]
> >>> 
> >>> : In procedure scm-error in expression (scm-error
> >>> (quote misc-error) #f ...): : no code for module
> >>> (gnucash gettext)
> >>> FAIL: test-import-parse
> >>> ==
> >>> 1 of 2 tests failed
> >>> Please report to gnucash-devel@gnucash.org
> >>> ==
> >>> make[2]: *** [check-TESTS] Error 1
> >>> make[2]: Leaving directory
> >>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> >>> make[1]: *** [check-am] Error 2
> >>> make[1]: Leaving directory
> >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' make:
> >>> *** [check-recursive] Error 1
> >>> 
> >>> 
> >>> Thoughts?
> >> 
> >> Could be a problem with a cached .go. Try deleting ~/.cache/guile
> >> and $PREFIX/share/gnucash/scm/ccache.
> >> 
> >> Regards,
> >> John Ralls
> > 
> > Hi John.
> > 
> > rm -rf  /home/mikee/.cache/*
> > rm -rf  /home/mikee/.ccache/*
> > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/cache
> > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/ccache
> > 
> > Still same results.
> > 
> > But from the backtrace, I have no
> > ../../../src/app-utils/gnucash/app-utils.scm .  This file is at
> > actually at ../../../src/app-utils/app-utils.scm  Where is this
> > path defined?
> Those links are made by the scm-links target in
> src/app-utils/Makefile.am. Maybe you need to do a clean build.
> 
> Regards,
> John Ralls
> 
> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Or remove the hidden file .scm-links

The links will then be regenerated.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails in src/import-export

2015-01-11 Thread John Ralls

> On Jan 11, 2015, at 9:33 AM, Mike Evans  wrote:
> 
> On Sun, 11 Jan 2015 09:16:19 -0800
> John Ralls  wrote:
> 
>> 
>>> On Jan 11, 2015, at 8:31 AM, Mike Evans  wrote:
>>> 
>>> With the following output snippet: 
>>> 
>>> 
>>> make[2]: Entering directory 
>>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
>>> PASS: test-link
>>> Backtrace:
>>> In ../../../src/app-utils/gnucash/app-utils.scm:
>>> 29:  0* (use-modules (gnucash gettext))
>>> 29:  1  (eval-case (# # *unspecified*) (else #))
>>> 29:  2  (begin (process-use-modules (list (list #))) *unspecified*)
>>> In unknown file:
>>>  ?:  3* [process-use-modules (((gnucash gettext)))]
>>>  ?:  4  (let* ((interfaces #)) (call-with-deferred-observers (lambda () #)))
>>>  ?:  5* [map # (((gnucash gettext)))]
>>>  ?:  6* [# ((gnucash gettext))]
>>>  ?:  7* (or (apply resolve-interface mif-args) (error "no such module" 
>>> mif-args))
>>>  ?:  8* [apply # ((gnucash 
>>> gettext))]
>>>  ?:  9  [resolve-interface (gnucash gettext)]
>>>   ...
>>>  ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
>>>  ?: 11* (and (or (not module) (not public-i)) (error "no code for module" 
>>> name))
>>>  ?: 12  [error "no code for module" (gnucash gettext)]
>>>   ...
>>>  ?: 13  [scm-error misc-error #f ...]
>>> 
>>> : In procedure scm-error in expression (scm-error (quote 
>>> misc-error) #f ...):
>>> : no code for module (gnucash gettext)
>>> FAIL: test-import-parse
>>> ==
>>> 1 of 2 tests failed
>>> Please report to gnucash-devel@gnucash.org
>>> ==
>>> make[2]: *** [check-TESTS] Error 1
>>> make[2]: Leaving directory 
>>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
>>> make[1]: *** [check-am] Error 2
>>> make[1]: Leaving directory 
>>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
>>> make: *** [check-recursive] Error 1
>>> 
>>> 
>>> Thoughts?
>> 
>> Could be a problem with a cached .go. Try deleting ~/.cache/guile and 
>> $PREFIX/share/gnucash/scm/ccache.
>> 
>> Regards,
>> John Ralls
>> 
> 
> Hi John.
> 
> rm -rf  /home/mikee/.cache/*
> rm -rf  /home/mikee/.ccache/*
> rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/cache
> rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/ccache
> 
> Still same results.
> 
> But from the backtrace, I have no 
> ../../../src/app-utils/gnucash/app-utils.scm .  This file is at actually at  
> ../../../src/app-utils/app-utils.scm  Where is this path defined?  

Those links are made by the scm-links target in src/app-utils/Makefile.am. 
Maybe you need to do a clean build.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails in src/import-export

2015-01-11 Thread Mike Evans
On Sun, 11 Jan 2015 09:16:19 -0800
John Ralls  wrote:

> 
> > On Jan 11, 2015, at 8:31 AM, Mike Evans  wrote:
> > 
> > With the following output snippet: 
> > 
> > 
> > make[2]: Entering directory 
> > `/home/mikee/Projects/gnucash/build/src/import-export/test'
> > PASS: test-link
> > Backtrace:
> > In ../../../src/app-utils/gnucash/app-utils.scm:
> >  29:  0* (use-modules (gnucash gettext))
> >  29:  1  (eval-case (# # *unspecified*) (else #))
> >  29:  2  (begin (process-use-modules (list (list #))) *unspecified*)
> > In unknown file:
> >   ?:  3* [process-use-modules (((gnucash gettext)))]
> >   ?:  4  (let* ((interfaces #)) (call-with-deferred-observers (lambda () 
> > #)))
> >   ?:  5* [map # (((gnucash gettext)))]
> >   ?:  6* [# ((gnucash gettext))]
> >   ?:  7* (or (apply resolve-interface mif-args) (error "no such module" 
> > mif-args))
> >   ?:  8* [apply # ((gnucash 
> > gettext))]
> >   ?:  9  [resolve-interface (gnucash gettext)]
> >...
> >   ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
> >   ?: 11* (and (or (not module) (not public-i)) (error "no code for module" 
> > name))
> >   ?: 12  [error "no code for module" (gnucash gettext)]
> >...
> >   ?: 13  [scm-error misc-error #f ...]
> > 
> > : In procedure scm-error in expression (scm-error (quote 
> > misc-error) #f ...):
> > : no code for module (gnucash gettext)
> > FAIL: test-import-parse
> > ==
> > 1 of 2 tests failed
> > Please report to gnucash-devel@gnucash.org
> > ==
> > make[2]: *** [check-TESTS] Error 1
> > make[2]: Leaving directory 
> > `/home/mikee/Projects/gnucash/build/src/import-export/test'
> > make[1]: *** [check-am] Error 2
> > make[1]: Leaving directory 
> > `/home/mikee/Projects/gnucash/build/src/import-export/test'
> > make: *** [check-recursive] Error 1
> > 
> > 
> > Thoughts?
> 
> Could be a problem with a cached .go. Try deleting ~/.cache/guile and 
> $PREFIX/share/gnucash/scm/ccache.
> 
> Regards,
> John Ralls
> 

Hi John.

rm -rf  /home/mikee/.cache/*
rm -rf  /home/mikee/.ccache/*
rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/cache
rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/ccache

Still same results.

But from the backtrace, I have no ../../../src/app-utils/gnucash/app-utils.scm 
.  This file is at actually at  
 ../../../src/app-utils/app-utils.scm  Where is this path defined?  




MikeE


-- 
Anti NSA?  Use PGP.
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00CDB13500D7AB53  
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails in src/import-export

2015-01-11 Thread John Ralls

> On Jan 11, 2015, at 8:31 AM, Mike Evans  wrote:
> 
> With the following output snippet: 
> 
> 
> make[2]: Entering directory 
> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> PASS: test-link
> Backtrace:
> In ../../../src/app-utils/gnucash/app-utils.scm:
>  29:  0* (use-modules (gnucash gettext))
>  29:  1  (eval-case (# # *unspecified*) (else #))
>  29:  2  (begin (process-use-modules (list (list #))) *unspecified*)
> In unknown file:
>   ?:  3* [process-use-modules (((gnucash gettext)))]
>   ?:  4  (let* ((interfaces #)) (call-with-deferred-observers (lambda () #)))
>   ?:  5* [map # (((gnucash gettext)))]
>   ?:  6* [# ((gnucash gettext))]
>   ?:  7* (or (apply resolve-interface mif-args) (error "no such module" 
> mif-args))
>   ?:  8* [apply # ((gnucash 
> gettext))]
>   ?:  9  [resolve-interface (gnucash gettext)]
>...
>   ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
>   ?: 11* (and (or (not module) (not public-i)) (error "no code for module" 
> name))
>   ?: 12  [error "no code for module" (gnucash gettext)]
>...
>   ?: 13  [scm-error misc-error #f ...]
> 
> : In procedure scm-error in expression (scm-error (quote 
> misc-error) #f ...):
> : no code for module (gnucash gettext)
> FAIL: test-import-parse
> ==
> 1 of 2 tests failed
> Please report to gnucash-devel@gnucash.org
> ==
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory 
> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory 
> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> make: *** [check-recursive] Error 1
> 
> 
> Thoughts?

Could be a problem with a cached .go. Try deleting ~/.cache/guile and 
$PREFIX/share/gnucash/scm/ccache.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Make check fails in src/import-export

2015-01-11 Thread Mike Evans
With the following output snippet: 


make[2]: Entering directory 
`/home/mikee/Projects/gnucash/build/src/import-export/test'
PASS: test-link
Backtrace:
In ../../../src/app-utils/gnucash/app-utils.scm:
  29:  0* (use-modules (gnucash gettext))
  29:  1  (eval-case (# # *unspecified*) (else #))
  29:  2  (begin (process-use-modules (list (list #))) *unspecified*)
In unknown file:
   ?:  3* [process-use-modules (((gnucash gettext)))]
   ?:  4  (let* ((interfaces #)) (call-with-deferred-observers (lambda () #)))
   ?:  5* [map # (((gnucash gettext)))]
   ?:  6* [# ((gnucash gettext))]
   ?:  7* (or (apply resolve-interface mif-args) (error "no such module" 
mif-args))
   ?:  8* [apply # ((gnucash 
gettext))]
   ?:  9  [resolve-interface (gnucash gettext)]
...
   ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
   ?: 11* (and (or (not module) (not public-i)) (error "no code for module" 
name))
   ?: 12  [error "no code for module" (gnucash gettext)]
...
   ?: 13  [scm-error misc-error #f ...]

: In procedure scm-error in expression (scm-error (quote 
misc-error) #f ...):
: no code for module (gnucash gettext)
FAIL: test-import-parse
==
1 of 2 tests failed
Please report to gnucash-devel@gnucash.org
==
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory 
`/home/mikee/Projects/gnucash/build/src/import-export/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory 
`/home/mikee/Projects/gnucash/build/src/import-export/test'
make: *** [check-recursive] Error 1


Thoughts?

Mike E


-- 
Anti NSA?  Use PGP.
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00CDB13500D7AB53  
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel