[Opensim-dev] modifying the SQLite DBs while the sim is running...impossible ?
Sean Dague
sean at dague.net
Mon Sep 17 20:29:28 UTC 2007
On Sun, Sep 16, 2007 at 05:45:33AM +0200, Dalien Talbot wrote:
> Probably this is mostly a Q for Sean...
>
>
> I tried to write a small ruby hack to update the user/inventory db while the
> sim is running - but seems like it does not want to pick up the changes, and
> also upon the quit it complains:
>
>
> ** ERROR **: file marshal.c: line 4399 (mono_marshal_get_runtime_invoke):
> assertion failed: (ret == 0)
> aborting...
>
> (I am not sure if this is relevant for SQLite, or it is something else - but
> it appeared each time i tweaked the databases "outside").
>
> Am I doing something wrong or the sim is caching the data => hence the
> "outside" access to the databases is a no-no ? (in which case we should
> think how we fix it at some point)
Right now, this isn't going to pick up correctly because we basically
have a "load at boot, keep in cache" model for data. However, it is
on my list of things to support after the 0.4 release.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20070917/24d47177/attachment-0001.pgp>
More information about the Opensim-dev
mailing list