Search functionality broken in RhodeCode 1.3.3

Issue #388 invalid
Former user created an issue

Just finished upgrading RhodeCode to the latest version. After running a full index with WhooshIndexer, any search returns:

There is no index to search in. Please run whoosh indexer.

I did run whoosh indexer ... several times actually. The index files are created just fine in the same location as they were before the upgrade. A comparison with the content of the files in the backup location shows that the newly created index files are pretty much identical with the ones created before the upgrade. Relevant log entries (on a CentOS 6 machine):

*** File: /var/log/httpd/access_log - - [03/Mar/2012:14:33:10 -0700] "GET /_admin/search?q=test&type=content HTTP/1.1" 200 2832 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"

*** File: /var/log/rhodecode.log

2012-03-03 14:33:11.469 ERROR [] Traceback (most recent call last): File "/data/www-data/rhodecode-venv/lib/python2.6/site-packages/rhodecode/controllers/", line 72, in index searcher = idx.searcher() File "/data/www-data/rhodecode-venv/lib/python2.6/site-packages/whoosh/", line 324, in searcher return Searcher(self.reader(), fromindex=self, '''kwargs) File "/data/www-data/rhodecode-venv/lib/python2.6/site-packages/whoosh/filedb/", line 356, in reader raise e

IOError: [Errno 22] Invalid argument

2012-03-03 14:33:11.469 ERROR [] Empty Index data 2012-03-03 14:33:11.475 INFO [rhodecode.lib.base] Request to /_admin/search time: 0.492s

I've noticed the same behavior (at least from an end-user's standpoint) in the "demo" version running at

Comments (3)

  1. Marcin Kuzminski repo owner

    How did you create the index ? the search is working fine.

    Try doing paster make-index <yourinifile>.ini -f --index-only=<one_example_repo>

    And check on that.

  2. Former user Account Deleted

    Upgrading Whoosh to the latest version (2.3.2) seems to have fixed the problem. Thanks!

  3. Log in to comment