Yea, this is DaveP's fault (and he's never come back to fix it). The
problem is that that the events interface assumes events are in the
"current book" and when you create a new book it gets confused
(because the new book's GUID is not in "current-book's" entity table.
One fix would be to turn off the create-event on book creation,
although Dave said "that would be bad", although I can't see why --
nothing seems to use it. This would basically mean turning off
the calls to gnc_engine_generate_event() in gnc-book.c.
The real fix would be to change the gnc-event interface to either:
a) take a book, b) take a session, or c) not use the "entity table."
At least, I assume this is the error you see.
-derek
David Hampton <[EMAIL PROTECTED]> writes:
> On Tue, 2002-10-08 at 06:24, Derek Atkins wrote:
> > Well, the Backend API _NEEDS_ to be fixed before 1.7.1... But I can't
> > think of any other major subsystem that _has_ to be fixed.
> >
> > -derek
>
> There's a problem with the engine (?) where running 'gnucash
> --add-price-quotes <file>' results in multiple error messages for each
> quote obtained. Something to do with the implementation of multiple
> book support or some such.
>
> David
>
--
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
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel