Closed
Description
conn.optimize()
File "C:\tools\Python27\lib\site-packages\pysolr.py", line 825, in optimize
return self._update(msg, waitFlush=waitFlush, waitSearcher=waitSearcher)
File "C:\tools\Python27\lib\site-packages\pysolr.py", line 359, in _update
return self._send_request('post', path, message, {'Content-type': 'text/xml; charset=utf-8'})
File "C:\tools\Python27\lib\site-packages\pysolr.py", line 278, in _send_request
raise SolrError(error_message % [url, self.timeout])
TypeError: not enough arguments for format string
bug fix: pysolr.py line: 278 should change to:
patch here:
-raise SolrError(error_message % [url, self.timeout])
+raise SolrError(error_message % (url, self.timeout))
Metadata
Metadata
Assignees
Labels
No labels