libopenhbci2 incompatible with Finance::Quote

David Hampton hampton at employees.org
Thu Mar 4 17:28:38 CST 2004


I've tripped across a problem trying to run a hbci enabled version of
gnucash.  This problem recently appeared when I updated from using
openhbci to openhbci2.  The error occurs when gnucash runs
finance-quote-check and then waits for the process to finish.  I
consistently get the following errors at this point:

=====

5:2004/03/04 15-11-52:(null):process.c:  129: No information about
process "17568" available
Backtrace:
In unknown file:
   ?: 0* [kill-program]
In
/opt/gnucash/devel/share/gnucash/guile-modules/gnucash/price-quotes.scm:
 242: 1* (and program (let ((pid #)) (close-input-port (cadr program))
...))
 243: 2  (let ((pid (car program))) (close-input-port (cadr program))
...)
In /opt/gnucash/devel/share/gnucash/guile-modules/gnucash/process.scm:
   ...
  98: 3  [loop ...
  98: 4*  [waitpid 17568 3]

/opt/gnucash/devel/share/gnucash/guile-modules/gnucash/process.scm:98:21: In procedure waitpid in expression (waitpid pid waitopt):
/opt/gnucash/devel/share/gnucash/guile-modules/gnucash/process.scm:98:21: No child processes

=====

Gnucash then summarily quits.  Thanks to a suggestion from Derek, I
tracked the problem back to the GWEN_Process_ModuleInit() function in
gwenhywfar-0.9.6 (a prerequisite of openhbci2).  This function installs
a signal handler to catch the SIGCHLD signal, apparently overriding the
guile signal handler.  Guile doesn't accept this situation, thus the
problem.  If one of the hbci developers on the list would work with the
gwenhywfar developers to resolve this problem, I would appreciate it.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20040304/ca2debfd/attachment.pgp


More information about the gnucash-devel mailing list