[Twisted-Python] Re: [Xapian-discuss] Twisted + Xapian WriteableDatabase leaves db_lock file on exit.

jarrod roberson jarrod at vertigrated.com
Wed May 3 09:26:21 MDT 2006


On 5/3/06, Olly Betts <olly at survex.com> wrote:
>
> On Tue, May 02, 2006 at 11:25:25PM -0400, jarrod roberson wrote:
> > xapian and xapian bindings 0.9.2 svn 6532
>
> That's rather old - is this reproducible with 0.9.5?
>
> > It leaves the db_lock file everytime and I don't know what else it might
> not
> > be cleaning up correctly either.
>
> The db_lock file gets deleted when the C++ WritableDatabase destructor
> is called.  So if it's not deleted, then the destructor isn't being
> called.
>
> If you can reproduce with the latest release in a simple example
> (ideally without twisted being involved), I can try to investigate.
>
> Cheers,
>     Olly
>

yes, just upgraded and it does the same thing with 0.9.5

the problem is I can't reproduce it outside of Twisted.

all my command line tools that I have written ( all in Python ) that use the
exact same code exit and close properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20060503/6c5736d0/attachment.html>


More information about the Twisted-Python mailing list