On Tuesday 28 Elul 5771 12:26:25 Jean-Francois Dockes wrote:
> David Baron writes:
>  > Package: recoll
>  > Version: 1.16.0-1
>  > Severity: important
>  > 
>  > --- Please enter the report below this line. ---
>  > I am running recoll -t from a krunner plugin, i.e. forking it in the
>  > background. This worked fine while back. However, now (last few
>  > versions), using the -f (filename search) option returns no hits at
>  > all. Users of this plugin has also reported far too few hits on default
>  > searches.
>  > 
>  > Debugging code showed correct command string and then XFNONE, 0 results
>  > strings returned. Simply running the same command in a console works
>  > fine, allbeit it sometimes with differing results than in the GUI
>  > program.
>  > 
>  > Note that users had reported problems with permissions on multi-user
>  > systems so this may be a place to look.
> 
> Hello,
> 
> It would be very helpful to have the log files for running the command in a
> console and through krunner.
> 
> Please either set up recoll to log to a file, or arrange to retrieve stderr
> output, and set the debug level to 6, either through the config GUI or by
> editing ~/.recoll/recoll.conf:
> 
> logfilename=/some/file/name
> loglevel = 6
> 
> - Run the search in a console.
> - Save the log file (it will be erased at the next step)
> - Run the same search from krunner.
> - Save the log file.
> 
> Then please send both logs to me (jfd at recoll dot org).
> 
> More than permissions (which are there to be observed), one possible area
> of concern might be wildcard character expansion by the shell: use proper
> quoting when running in the console (ie: recoll -t -f 'there *re
> *ildcards'), and we'll probably have to check how krunner executes the
> command too, but this kind of issue should be visible in the log file
> anyway.
> 
> Regards,
> 
> jf

Log files enclosed:
console-log from console
krunner-log from krunner
:4:../common/rclinit.cpp:106:rclinit: idxflushmb=10, set XAPIAN_FLUSH_THRESHOLD to 10E6
:4:../rcldb/rcldb.cpp:593:Db::open: m_isopen 0 m_iswritable 0
:4:../rcldb/stoplist.cpp:52:StopList::StopList: file_to_string(/home/david/.recoll/stoplist.txt) failed: open/stat: errno: 2 : 
:4:../rcldb/rclquery.cpp:174:Query::setQuery:
:4:../rcldb/rcldb.cpp:1525:Rcl::Db::filenameWildExp: pattern: [*'Downloads'*]
:4:../rcldb/rcldb.cpp:1697:termMatch: initsec: [XSFN]
:4:../rcldb/rclquery.cpp:237:Query::SetQuery: Q: (XNONENoMatchingTerms)
:4:../rcldb/rclquery.cpp:315:Query::getResCnt: 0 mS
:4:../rcldb/rclquery.cpp:344:Fetching for first 0, count 50
:4:../rcldb/rclquery.cpp:355:enquire->get_mset: got empty result
:5:../rcldb/searchdata.cpp:394:SearchData::erase
:4:../rcldb/rcldb.cpp:572:Db::~Db: isopen 1 m_iswritable 0
:4:../rcldb/rcldb.cpp:687:Db::i_close(1): m_isopen 1 m_iswritable 0
:4:../common/rclinit.cpp:106:rclinit: idxflushmb=10, set XAPIAN_FLUSH_THRESHOLD to 10E6
:4:../rcldb/rcldb.cpp:593:Db::open: m_isopen 0 m_iswritable 0
:4:../rcldb/stoplist.cpp:52:StopList::StopList: file_to_string(/home/david/.recoll/stoplist.txt) failed: open/stat: errno: 2 : 
:4:../rcldb/rclquery.cpp:174:Query::setQuery:
:4:../rcldb/rcldb.cpp:1525:Rcl::Db::filenameWildExp: pattern: [Downloads]
:4:../rcldb/rcldb.cpp:1697:termMatch: initsec: [XSFNdownloads]
:4:../rcldb/rclquery.cpp:237:Query::SetQuery: Q: (XSFNdownloads)
:4:../rcldb/rclquery.cpp:315:Query::getResCnt: 0 mS
:4:../rcldb/rclquery.cpp:344:Fetching for first 3, count 50
:4:../rcldb/rclquery.cpp:355:enquire->get_mset: got empty result
:5:../rcldb/searchdata.cpp:394:SearchData::erase
:4:../rcldb/rcldb.cpp:572:Db::~Db: isopen 1 m_iswritable 0
:4:../rcldb/rcldb.cpp:687:Db::i_close(1): m_isopen 1 m_iswritable 0

Reply via email to