gnucash 2.0.0 on Solaris 9

pjama pjama at optusnet.com.au
Wed Jul 12 21:39:53 EDT 2006



Josh Sled wrote:
> On Wed, 2006-07-12 at 20:53 +1000, pjama wrote:
>> Well it's running, I've had a fish around and most things seems to
>> open and close etc (read: I've no idea what I'm doing yet).
> 
> Are you able to open a register?

Umm... what's a register? If you mean account register then no. I don't have any as yet but I'm working on that. I can import a quicken file from my bank and get some sort of stuff on the screen if that helps.

> 
> 
>> A couple of small problems:
>> On start I get "/dev/dsp: No such file or directory" ... is this the
>> audio dev on linux?
> 
> Yeah.  I wonder what's trying to open that.  Running `gnucash 2>&1 |
> grep "dsp"` here doesn't have any output... you might try something
> similar.

I suspect it's a problem with esd on my system. Extract from truss -f gnucash:
1383:   open("/opt/csw/etc/esd.conf", O_RDONLY)         = 3
1383:   fstat64(3, 0xFFBFEE48)                          = 0
1383:   brk(0x00032A58)                                 = 0
1383:   brk(0x00034A58)                                 = 0
1383:   fstat64(3, 0xFFBFECF0)                          = 0
1383:   ioctl(3, TCGETA, 0xFFBFEDD4)                    Err#25 ENOTTY
1383:   read(3, " [ e s d ]\n a u t o _ s".., 8192)     = 77
1383:   read(3, 0x00031674, 8192)                       = 0
1383:   llseek(3, 0, SEEK_CUR)                          = 77
1383:   close(3)                                        = 0
1383:   open("/home/peter/.esd.conf", O_RDONLY)         Err#2 ENOENT
1383:   mkdir("/tmp/.esd", 01777)                       = 0
1383:   chmod("/tmp/.esd", 01777)                       = 0
1383:   so_socket(PF_UNIX, SOCK_STREAM, 0, "", 1)       = 3
1383:   fcntl(3, F_SETFD, 0x00000001)                   = 0
1383:   setsockopt(3, SOL_SOCKET, SO_REUSEADDR, 0xFFBFF2D4, 4, 1) = 0
1383:   connect(3, 0xFFBFF264, 18, 1)                   Err#2 ENOENT
1383:   unlink("/tmp/.esd/socket")                      Err#2 ENOENT
1383:   so_socket(PF_UNIX, SOCK_STREAM, 0, "", 1)       = 4
1383:   fcntl(4, F_SETFL, 0x00000080)                   = 0
1383:   setsockopt(4, SOL_SOCKET, SO_LINGER, 0xFFBFF3AC, 8, 1) = 0
1383:   setsockopt(4, SOL_SOCKET, SO_REUSEADDR, 0xFFBFF3A8, 4, 1) = 0
1383:   umask(0)                                        = 022
1383:   bind(4, 0xFFBFF338, 18, 3)                      = 0
1383:   umask(022)                                      = 0
1383:   listen(4, 16, 1)                                = 0
1383:   open("/dev/dsp", O_WRONLY|O_NONBLOCK)           Err#2 ENOENT
1383:   write(2, " / d e v / d s p", 8)                 = 8
1383:   write(2, " :  ", 2)                             = 2
1383:   write(2, " N o   s u c h   f i l e".., 25)      = 25
1383:   write(2, "\n", 1)                               = 1
1383:   write(17, "\0", 1)                              = 1
1383:   unlink("/tmp/.esd/socket")                      = 0
1383:   rmdir("/tmp/.esd")                              = 0
1383:   _exit(2)

I don't consider this as critical as I can't imagine audio being important in an accounting package. What does it play? Cash register sounds? :)

> 
> 
>> When I try to open edit/preferences the app dies. Is there any way I
>> can get any log or debug or cause as to why this is happening?
> 
> /tmp/gnucash.trace should have some logs ... and you should save
> whatever's printed to stdout when you run gnucash (from a terminal.  If
> it crashes, you might also run in a debugger to trap the termination and
> get a backtrace.
> 

The only thing printed to stdout is:
bash-2.05$ gnucash
/dev/dsp: No such file or directory
/dev/dsp: No such file or directory
bash-2.05$


Contents of trace file is below after opening edit/preferences and crashing. I obviously have a few problems here to look at.
#####
bash-2.05$ cat /tmp/gnucash.trace
gnucash: ld.so.1: gnucash-bin: fatal: /opt/csw/lib/libgnc-backend-postgres.so: open failed: No such file or directory

failed to load gnc-backend-postgres from /opt/csw/lib

loading system configuration
looking for /opt/csw/etc/gnucash/config
trying to load /opt/csw/etc/gnucash/config
loading user configuration
looking for /.gnucash/config-2.0.user
looking for /.gnucash/config-1.8.user
looking for /.gnucash/config-1.6.user
looking for /.gnucash/config.user
loading auto configuration
looking for /.gnucash/config-2.0.auto
looking for /.gnucash/config-1.8.auto
looking for /.gnucash/config-1.6.auto
looking for /.gnucash/config.auto
loading saved reports
looking for /.gnucash/saved-reports-2.0
looking for /.gnucash/saved-reports-1.8
loading stylesheets
looking for /.gnucash/stylesheets-2.0
Error: gnc_gnome_help(): Unable to find the help files in either /opt/csw/share/gnucash/gnome/help/gnucash/gnucash or /opt/csw/share/gnome/help/gnucash.  Please check your installation
gnc_main_window_attach_to_book: assertion `session' failed
bash-2.05$   
#####



More information about the gnucash-user mailing list