GnuCash 1.8.1-4 and RedHat 9: Error in main.scm

Francis K Shim belfrancis2001 at yahoo.ca
Thu Apr 10 23:41:15 CDT 2003


 > First, do you have the gnucash-docs package installed?

I checked by doing a "rpm -q gnucash-docs" and it is not there, but it 
appears that in the RedHat 9 pacakge that the gnucash-docs are 
integrated into the gnucash rpm.  A "rpm -q --list gnucash" shows the 
/usr/share/gnucash/doc subtree.

 > Also, what locale are you using?

Well, that was the point that I was puzzled about.  My LANG environment 
variable was not set; hence, I was thinking that gnucash would use a 
default locale (ie: "C" or "POSIX").  After sending my e-mail in, I 
decided to set the LANG to "en_US.UTF8" which is a widely accepted glib 
related favourite.  It worked.  To test it, I then unset LANG and tried 
it again with the same error result as before.  Although this problem is 
a configuration problem, I have to ask the question as to whether 
gnucash should have I more graceful way of handling this problem?

Thanks for the response.

Frank


Francis K Shim <belfrancis2001 at yahoo.ca> writes:

> > Hello everyone... I have just joined the GnuCash community and would
> > like to start by saying that I am very glad that there is an
> > alternative to Quicken and QuickBooks.  Being a Linux fan I have been
> > frustrated with having to hang on to legacy os'es just to run my
> > QuickBooks software.  I was hoping that "wine" would be mature enough
> > now to be able to migrate my QuickBooks data unto a Linux platform,
> > but I am not confident with the current version of wine; hence, my
> > examining GnuCash.
> > 
> > I have just installed via RPMs GnuCash 1.8.1-4
> > (gnucash-1.8.1-4.i386.rpm) unto my RedHat 9 distro.   I also have the
> > following:
> > 
> > guile-1.6.0-4
> > g-wrap-1.3.4-3
> > umb-scheme-3.2-29
> > 
> > Once the dependencies were satisfied, I started gnucash, it came up
> > with the the splash screen, then the hint screen and then a
> > radio-button menu with the 3 choices: to setup new accounts; import
> > QIF file; or to start the tutorial.  I clicked the tutorial.  A help
> > window with a tree-menu popped up then disappeared with gnucash
> > reporting the following error:
> > 
> > Backtrace:
> > In unknown file:
> >     ?: 0* [gnc:find-doc-file "help-search-index.db"]
> >     ?: 1* [gnc:find-localized-file "help-search-index.db" #]
> >     ?: 2  (letrec ((locale-prefixes #)) (letrec (#) (loop #
> > base-directories)))
> >     ...
> >     ?: 3  [loop ...
> > In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> >   329: 4*  [locale-prefixes]
> >   319: 5   (let* ((locale #) (strings #)) (reverse (cons "C" strings)))
> >   321: 6*  (cond ((not (string? locale)) ()) ((equal? locale "C") ()) ...)
> > 
> > /usr/share/gnucash/guile-modules/gnucash/main.scm:321:21: In
> > expression (cond (# ()) (# ()) ...):
> > /usr/share/gnucash/guile-modules/gnucash/main.scm:321:21: missing or
> > extra expression
> > 
> > 
> > Now I am new to scheme, but as far as I can gather I am guessing that
> > I have to set up my locale correctly for gnucash to work.  Can anyone
> > give me any encouragements or further insights?
> > 
> > Regards,
> > Frank



More information about the gnucash-user mailing list