[Xapian-discuss] some problems and prefixes
Olly Betts
olly at survex.com
Tue Jun 23 12:59:45 BST 2009
On Sat, Jun 20, 2009 at 11:00:08PM +0200, Rafi wrote:
> I've tested ruby binding (with using acts_as_xapian plugin, and there
> after flushing I got error like "DatabaseError: Error reading from
> file".
That means a read system call failed. It would be useful to know what
the errno value was - if you call get_description() on the error object
it should include this information.
> I've Ubuntu on VirtualBox (hosting on XP), Im trying to save
> files under ubuntu, but this is shared dir with windows,
I wouldn't be totally surprised if that didn't work since the shared
directory is probably FAT or NTFS and I'd guess fcntl locking isn't
supported there, but that should fail to open the database for writing.
> I've tried to put into /tmp/ (which is not shared) but eithr this
> cannot be flushed
Does this give the same error?
What does "mount" report from a command line on Ubuntu in VirtualBox?
> On another computer with straight debian lenny - its working fine.
> If you tell me, how I can check (trace) what is going on when xapian
> tries to flush, than I'll send you feedback.
The answers to the questions above would be useful.
Also, does this fail (simpleindex is in xapian-core/examples):
echo test|simpleindex tmp.db
Cheers,
Olly
More information about the Xapian-discuss
mailing list