[Xapian-discuss] Searching multiple databases with omega

Frank J Bruzzaniti frank.bruzzaniti at gmail.com
Tue Feb 24 13:34:00 GMT 2009


Jim wrote:
> Olly Betts wrote:
>   
>> On Fri, Feb 20, 2009 at 07:00:45PM +1030, Frank J Bruzzaniti wrote:
>>   
>>     
>>> I did the cat but got noting.
>>>     
>>>       
>> That means you can read it directly then.
>>
>>   
>>     
>>> I altered the patch and now receive the following error:
>>>
>>> Failed to open flint version file for reading: 
>>> /opt/omega/data/scanned_documents/iamflint
>>>     
>>>       
>> You've not reapplied the patch or not recompiled then - you should now
>> see "DatabaseOpeningError" at the start and the errno message at the
>> end.
>>
>>   
>>     
>>> What puzzles me is that default and scanned documents are both created 
>>> by omindex, live in the same dir but only one is readable.
>>>     
>>>       
>> Me too!
>>
>>   
>>     
>>> Both iamflint files in default and scanned documents are identical:
>>>
>>> db39353dd1d8dec502f4075513d3df7d /opt/omega/data/default/iamflint
>>> db39353dd1d8dec502f4075513d3df7d /opt/omega/data/scanned_documents/iamflint
>>>     
>>>       
>> That's as expected - it contains a "magic" ID string and a flint format
>> version number.
>>
>> Cheers,
>>     Olly
>>
>>   
>>     
> This is off the wall but try this:
>  
> ls -bl /opt/omega/data/scanned_documents/iamflint
>
> Jim.
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>   

I found the issue, I had forgotten I'd created an AppArmour profile for 
omega. Works now.
Thanks for the help troubleshooting it.

Frank




More information about the Xapian-discuss mailing list