<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Derek Atkins wrote:
<blockquote cite="midsjm64t22vlu.fsf@cliodev.pgp.com" type="cite">
<pre wrap="">Hi,
David Brock <a class="moz-txt-link-rfc2396E" href="mailto:david@tubits.com"><david@tubits.com></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">Info: gnc_session_begin: logpath=/home/dmbrock/GNUCash/Personal.dat
Enter: gnc_session_load_backend:
Enter: gnc_book_set_backend: book=0x8adb200 be=0x8adb480
Leave: gnc_session_load_backend:
Enter: file_session_begin:
Info: gnc_session_begin: Done running session_begin on backend
Leave: gnc_session_begin: backend error 6
</pre>
</blockquote>
<pre wrap=""><!---->
Backend error 6 means:
ERR_BACKEND_LOCKED, /* in use by another user (ETXTBSY) */
Did you have GnuCash running on your desktop at the time? This
would seem to imply that the cron job couldn't lock the database,
which USUALLY implies that someone already has it opened.
Just for kicks, did you try running the add-quotes command-line
from your terminal to see if it works there?
-derek
</pre>
</blockquote>
Derek:<br>
<br>
I was quite careful to verify that it wasn't running, so I don't
beleive that's the problem, but thanks for identifying the meaning of
that error- I'll check it very closely when I get home. I'll also
check for that lock file that's causing the "file in use" error when I
restart.<br>
<br>
"add-quotes command line from [my] terminal" - do you mean from the
session in which I'm running GC? I didn't know it was interactive! <br>
The debug output that I quoted came from running "gnucash
--add-price-quotes <filename>" from a shell. (note- this cron
job has not been created yet, I'm verifying it will run from the
command prompt first) It sounds like you're meaning something else.
Can you clarify?<br>
<br>
;-David<br>
</body>
</html>