Gnucash 1.6.6 on RedHat 7.3 only starts as root

Peter T. Abplanalp pta@psaconsultants.com
Fri, 30 Aug 2002 16:39:04 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Aug 30, 2002 at 04:35:31PM -0600, Peter T. Abplanalp wrote:
> On Sat, Aug 31, 2002 at 12:19:48AM +0200, Daniel Brahneborg wrote:
> > On Fri, Aug 30, 2002 at 04:03:51PM -0600, Peter T. Abplanalp wrote:
> > > 
> > > your data file is probably also owned by root.  in the directory where
> > > you keep your datafile execute the following as root: chown <user> *
> > > then try again.
> > 
> > Done that, but it makes no difference.
> > 
> > > the reason you get a blank screen is that (this is a theory) if
> > > gnucash can't open or can't find the data file it last used, it starts
> > > with no data file.  you can then go to the file menu and pick open
> > > file, surf to your datafile and open it.  subsequently it should work.
> > 
> > Well... That would be easier if I actually had a window with a file
> > menu, but I don't get that either.  ;)
> > 
> > I get absolutely nothing.  No window, no dialogs, no error messages on
> > the console, no nothing.  If the files are owned by root I get a dialog
> > where it complains about not being able to lock the database, but when I
> > close that dialog, I get nothing more.
> > 
> > It's as if has tried to read a window definition file of some sort,
> > found nothing (or wasn't able to read it, or something), but forgot to
> > check this and just assumed that something would get shown.  This is
> > just speculation on my part though.
> 
> well, you've exhausted my idea mill.  what does strace say?
> 
> actually, one other thing to try.  rm -rf ~/.gnucash, start
> gnucash and (hopefully) pick file->open and choose your datafile.

you may want to save any config stuff you have there.  i think the
important thing is to remove ~/.gnucash/books.  maybe just mv
~/.gnucash ~/.gnucash.old.

sometimes a react to harshly and rm isn't really called for :-)

- -- 
Peter Abplanalp

Email:   pta@psaconsultants.com
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b/QIggA8sH0iRXQRAm8nAJ9OrrAilQEZDvYg5hCCY7gRytgCcACfff1O
6Ba7Byvw0fhHIOgv5X0lNHs=
=BTvx
-----END PGP SIGNATURE-----