#788: 'FacetCollector' object has no attribute 'offset'
----------------------+------------------------------------
  Reporter:  olemis   |      Owner:  nobody
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  Release 8
 Component:  search   |    Version:  0.8.0dev
Resolution:           |   Keywords:  whoosh collector facet
----------------------+------------------------------------

Comment (by olemis):

 After upgrading whoosh , now I get another issue

 ==== How to Reproduce ====

 While doing a GET operation on `/bhsearch`, Trac issued an internal error.

 context is the same as description ...

 Request parameters:
 {{{#!py
 {'q': u'jquery ui'}
 }}}

 User agent: `Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16`

 ==== System Information ====
 || '''`Trac`''' || `1.0.1` [[br]] `` ||
 || '''`Babel`''' || `0.9.6` ||
 || '''`Bloodhound Trac`''' || `1.0.1` ||
 || '''`Genshi`''' || `0.7 (with speedups)` ||
 || '''`Mercurial`''' || `2.6.2` ||
 || '''`mod_wsgi`''' || `3.3 (WSGIProcessGroup bloodhound_net
 WSGIApplicationGroup %{GLOBAL})` ||
 || '''`psycopg2`''' || `2.5` ||
 || '''`Pygments`''' || `1.6` ||
 || '''`Python`''' || `2.7.3 (default, Aug  1 2012, 05:25:23) ` [[br]]
 `[GCC 4.6.3]` ||
 || '''`pytz`''' || `2013b` ||
 || '''`RPC`''' || `1.1.2` ||
 || '''`setuptools`''' || `0.6` ||
 || '''`jQuery`''' || `1.7.2` ||

 ==== Enabled Plugins ====
 || '''`BloodhoundDashboardPlugin`''' || `0.8.0dev` ||
 || '''`BloodhoundLabs`''' || `0.1.0` ||
 || '''`BloodhoundMultiProduct`''' || `0.8.0dev` ||
 || '''`BloodhoundRelationsPlugin`''' || `0.8.0dev` ||
 || '''`BloodhoundRPC`''' || `1.1.2` ||
 || '''`BloodhoundSearchPlugin`''' || `0.8.0dev` ||
 || '''`BloodhoundTheme`''' || `0.8.0dev` ||
 || '''`TracAccountManager`''' || `0.4.3` ||
 || '''`TracGViz`''' || `1.4.2` ||
 || '''`TracIncludeMacro`''' || `3.0.0dev` ||
 || '''`TracMercurial`''' || `1.0.0.3dev` ||
 || '''`TracPermRedirect`''' || `3.0` ||
 || '''`TracThemeEngine`''' || `2.2.2dev-r13718` ||
 || '''`TracTocMacro`''' || `11.0.0.3` ||

 ==== Python Traceback ====
 {{{#!pycon
 Traceback (most recent call last):
   File "/path/to/bh/trac/trac/web/main.py", line 477, in _dispatch_request
     dispatcher.dispatch(req)
   File "/path/to/bh/trac/trac/web/main.py", line 214, in dispatch
     resp = chosen_handler.process_request(req)
   File "/path/to/bh/bloodhound_search/bhsearch/web_ui.py", line 350, in
 process_request
     context=request_context,
   File "/path/to/bh/bloodhound_search/bhsearch/api.py", line 300, in query
     parsed_query = self.parser.parse(query, context)
   File "/path/to/bh/trac/trac/config.py", line 703, in __get__
     self.section, self.name))
 AttributeError: Cannot find an implementation of the "IQueryParser"
 interface named "DefaultQueryParser".  Please update the option
 bhsearch.query_parser in trac.ini.
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/788#comment:8>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to