gnucash 1.8.1 - Main Window Options Causes Crash on Apply or OK

Budman budman85 at adelphia.net
Fri Feb 21 19:59:23 CST 2003


Hi,

I downloaded the new version 1.8.1.  Updated all the dependencies.
g-wrap 1.3.4
guile 1.6.3
guppi 0.40.3
slib 2d5
No problem so far....  The make was successful.

Then when I try to run gnucash as a user, I get the following:

budman $ gnucash
ERROR: In procedure open-file:
ERROR: No such file or directory: "/usr/share/guile/1.6/slib/mklibcat"

Here is the permissions to the slibcat file:
budman $ ls -l /usr/share/guile/1.6/slibcat 
-rw-r--r--    1 root     root         6986 Feb 21 18:57
/usr/share/guile/1.6/slibcat

Here is the strace:
access("/usr/share/guile/1.6/slibcat", F_OK) = 0
open("/usr/share/guile/1.6/slibcat", O_RDONLY) = 5
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
lseek(5, 0, SEEK_CUR)                   = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=6986, ...}) = 0
read(5, ";\"slibcat\" SLIB catalog for guil"..., 4096) = 4096
read(5, "me-zone . \"/usr/share/guile/1.6/"..., 4096) = 2890
read(5, "", 4096)                       = 0
close(5)                                = 0
access("/usr/share/guile/1.6/slib/require.scm", F_OK) = 0
open("/usr/share/guile/1.6/slib/require.scm", O_RDONLY) = 5
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
lseek(5, 0, SEEK_CUR)                   = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=11469, ...}) = 0
brk(0x80c6000)                          = 0x80c6000
read(5, ";;;; Implementation of VICINITY "..., 4096) = 4096
close(5)                                = 0
access("/usr/share/guile/1.6/slib/require.scm", F_OK) = 0
open("/usr/share/guile/1.6/slib/mklibcat", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/guile/1.6/slib/mklibcat.scm", O_RDONLY) = 5
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
lseek(5, 0, SEEK_CUR)                   = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=8015, ...}) = 0
read(5, ";\"mklibcat.scm\" Build catalog fo"..., 4096) = 4096
read(5, "cro\")\n\t       (macros-that-work\t"..., 4096) = 3919
access("/usr/share/guile/1.6/slibcat", F_OK) = 0
unlink("/usr/share/guile/1.6/slibcat")  = -1 EACCES (Permission denied)
write(2, "ERROR", 5ERROR)                    = 5
write(2, ": ", 2: )                       = 2
write(2, "In procedure ", 13In procedure )           = 13
write(2, "open-file", 9open-file)                = 9
write(2, ":\n", 2:
)                      = 2
write(2, "ERROR", 5ERROR)                    = 5
write(2, ": ", 2: )                       = 2
write(2, "No such file or directory", 25No such file or directory) = 25

=============================
Then I ran it as root, at first complained about invalid argument, then
I exported the DISPLAY variable.  gnucash ran fine this time.

=============================
Then I ran as user - now gnucash ran! :)  Is there something that needs
to be created somewhere that the user may not have access too?  

===============
Now for the crashing part...  When I click on Options from the Main
Window to hide all accounts except Bank and Credit, when I click Apply
or OK,  gnucash crashes with: 
    ERROR: missing or extra expression

I checked over the configs, and renamed the older .gnucash directory,
just in case.
Tried again, same failure.  I then checked the older config files and
notices the Main Window section.  So I added it to the config-1.8.auto
file.  No difference, gnucash ignored the settings.

Note: Before I could add it to the config file, I noticed the file did
not exist. I then tried forcing a create by going into preferences,
changing some items, and then clicking OK.  I noticed the config file
had still not been created.  When I exited gnucash... then the config
file appeared.  Shouldn't the prefs be saved before exiting gnucash? 
Because if gnucash crashes, any changes made are lost.

Is there anything I can do to get the viewed accts displaying properly?


Thanks.
Regards,
Rich


-- 

http://www.amical.net - The Friendly IRC Network
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20030221/f7b76b30/attachment.htm


More information about the gnucash-devel mailing list