On Wednesday 10 September 2008 14:12, Julien Cornuwel wrote: > Matthew Toseland a ?crit : > > > > Have you tried storing each sub-object, and fetching them? On what > > object does it choke? > > As you will see, I commented most of the code in WoT class, in order to > debug this, with no success so far. > > I've tried with a Config object and an Identity object with the same > result. Config has a reference to db, so saces suggested this might be > the problem. But Identity just has an Arraylist and an Hashmap. > > > The web of trust plugin is critical for a wide range of UI changes that > > we're going to need in the near future. I will attempt to debug this > > later today. Right now I have some hardware issues to deal with. Thanks. > > Glad to hear it :-) I'm currently re-installing my system on a brand new > hard drive so I might not be able to work on it until tonight.
It turns out you need to create an index on the value you're querying for. See the committed changes. > > > PS : Once the database problem is solved, there is another one that > would need attention from an experimented freenet dev : > https://bugs.freenetproject.org/view.php?id=2561 Try closing the OutputStream before doing the insert. > > Saces introduced that code to avoid creating temp files on disk for > identity insertion, which is good. But I don't understand how it works > and therefore, can't debug it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080911/70239db1/attachment.pgp>
