"cannot open journal" error message in GnuCash 1.4.11

Steven Murdoch steven@murdomedia.net
Sat, 27 Oct 2001 22:56:11 +0100


At 13:46 27/10/01 -0700, Dave Peticolas wrote:
>On Sat, 2001-10-27 at 06:13, Steven Murdoch wrote:
> > I receive the following error message multiple times, printed out to 
> stderr
> > while using GnuCash v1.4.11:
> > Error: xaccOpenLog(): cannot open journal
> >       2 No such file or directory
>
>This seems to indicate it can't create the log file for
>some reason. Does the directory where you store your
>data file have permissions that allow you to create
>new files?

Thanks for you reply.

Yes it does and GnuCash is able to create it's normal files without any 
problem. I did a system call trace on GnuCash and found something interesting:
open("/home/murdocsj/home/murdocsj/personal/finance/gnucash/accounts.20011027224344.log", 
O_WRONLY|O_APPEND|O_CREAT, 0666) = -1 ENOENT (No such file or directory)

I would assume this is causing the error, but it is odd that GnuCash is 
trying to create this file since my accounts live 
in  "/home/murdocsj/personal/finance/gnucash/accounts" so I have no idea 
where the extra "/home/murdocsj/" is coming from. Perhaps it could be 
something to do with the file originally being in "/home/murdocsj/" before 
I moved it. Or maybe it is something completely different?

Steven Murdoch.

--
email: steven@murdomedia.net
web: http://www.murdomedia.net/
PGP/GnuPG keys: http://www.murdomedia.net/keys.html