[Xapian-discuss] Using xapian-tcpsrv for both indexing and searching

Miki Tebeka miki at fattoc.com
Thu May 7 00:22:12 BST 2009


Hello James,

> > However when I try to connect in another process for searching, I get:
> >     xapian.DatabaseLockError: REMOTE:Unable to acquire database write lock on
> >     db: already locked
> > (Using Python bindings).
> 
> Are you trying to create a WriteableDatabase? You can only have one
> writer open at once, but this shouldn't prevent what you're
> attempting.
I'm just calling 'xapian.remote_open("localhost", 9191)'. The first one
succeeds but any connection after it gets the above error.

All the best,
--
Miki Tebeka
miki at fattoc.com



More information about the Xapian-discuss mailing list