Strange error while working on RPC backend
14 Mar 2001 15:39:42 -0500
Some more information on this. I seem to get this error in the RPC
server when I:
connect with a client
make some changes
save the changes
close the client
open a new client
try to open the same file again.
At this last step (notice that the rpc server was not restarted!) I
get that xml error. The error happens as a part of gnc_book_load().
Derek Atkins <warlord@MIT.EDU> writes:
> Dave Peticolas <firstname.lastname@example.org> writes:
> > That is an xml parser error. So I guess the error is that it is being
> > invoked at all.
> No, it's not an error that the xml parser is being invoked. The way
> I've currently implement RPC is that there is a Gnucash engine sitting
> at both the RPC-client and the RPC-server. Currently the client
> passes a book_id URI to the server, and the server just uses the
> standard engine operations to open that book.
> So, the client is using an URI of:
> The server sees a URI of:
> So the server opens a file: backend to access the file. I figured
> this would be a quick short-term way to test the RPC code before
> hooking the RPC directly to some other backend. Indeed, the backend's
> are all designed to work with an engine, so it wouldn't be easy to
> just call another backend.
> So, the question is why is the xml parser having problems? Another
> question is why can't I 'save' new transactions? I still haven't
> figured out the version number semantics.
> > dave
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> warlord@MIT.EDU PGP key available
> gnucash-devel mailing list
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available