SolrResponse throws exceptions.AttributeError when printed

Bug #707518 reported by Esteve Fernandez
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
txsolr
Fix Committed
Low
Manuel Cerón

Bug Description

When printing a SolrResponse object, an AttributeError exception is raised due to an unknown instance variable (self.rawResponse):

 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
    result = g.send(result)
  File "/tmp/foo.py", line 10, in bar
    print res
  File "/home/esteve/fluidinfo/src/dependencies/source-dependencies/txsolr/trunk/txsolr/response.py", line 172, in __repr__
    return 'SolrResponse: %s' % repr(self.rawResponse)
exceptions.AttributeError: 'JSONSolrResponse' object has no attribute 'rawResponse'

Manuel Cerón (ceronman)
Changed in txsolr:
assignee: nobody → Manuel Cerón (ceronman)
status: New → In Progress
importance: Undecided → Low
Manuel Cerón (ceronman)
Changed in txsolr:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.