Advertisement
Guest User

Mysearch error

a guest
Nov 2nd, 2015
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. web.Server Traceback (most recent call last):
  2. exceptions.AttributeError: 'module' object has no attribute '_URI'
  3. /usr/lib/python2.7/dist-packages/twisted/web/server.py:189 in process
  4. 188 self._encoder = encoder
  5. 189 self.render(resrc)
  6. 190 except:
  7. /usr/lib/python2.7/dist-packages/twisted/web/server.py:238 in render
  8. 237 try:
  9. 238 body = resrc.render(self)
  10. 239 except UnsupportedMethod as e:
  11. /usr/lib/python2.7/dist-packages/twisted/web/resource.py:250 in render
  12. 249 raise UnsupportedMethod(allowedMethods)
  13. 250 return m(request)
  14. 251
  15. /home/michel/mysearch/mysearch/mysearch.py:349 in render_GET
  16. 348
  17. 349 search_request = SearchRequest(request, query, locale, backend_name, more_results)
  18. 350
  19. /home/michel/mysearch/mysearch/mysearch.py:139 in __init__
  20. 138 self.backends_to_wait += 1
  21. 139 d = search_backend.search(self.query, self.locale, self.more_results)
  22. 140 d.addCallback(self.store_results, datatype)
  23. /home/michel/mysearch/mysearch/backends.py:185 in search
  24. 184 agent = onion.OnionAgent(reactor, use_relay = self.use_relay )
  25. 185 d = agent.request('GET',self.get_query_url(), Headers({'User-Agent': [self.get_user_agent()]}), None)
  26. 186 d.addCallback(download_body)
  27. /home/michel/mysearch/mysearch/onion.py:299 in request
  28. 298
  29. 299 parsedURI = client._URI.fromBytes(uri)
  30. 300
  31. /usr/lib/python2.7/dist-packages/twisted/python/deprecate.py:399 in __getattribute__
  32. 398 # deprecated, there's no warning to issue.
  33. 399 value = getattr(state._module, name)
  34. 400 if name == '__path__':
  35. exceptions.AttributeError: 'module' object has no attribute '_URI'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement