Advertisement
banjax

.weather

Jan 13th, 2014
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. 01:58:14 #metal <banjax> .weather
  2. Unhandled exception in thread started by <function run at 0x7f7170fada28>
  3. Traceback (most recent call last):
  4. File "core/main.py", line 68, in run
  5. out = func(input.inp, **kw)
  6. File "plugins/weather.py", line 44, in weather
  7. response = http.get_json(request_url)
  8. File "plugins/util/http.py", line 51, in get_json
  9. return json.loads(get(*args, **kwargs))
  10. File "plugins/util/http.py", line 31, in get
  11. return open(*args, **kwargs).read()
  12. File "plugins/util/http.py", line 84, in open
  13. return opener.open(request)
  14. File "/usr/lib/python2.7/urllib2.py", line 404, in open
  15. response = self._open(req, data)
  16. File "/usr/lib/python2.7/urllib2.py", line 422, in _open
  17. '_open', req)
  18. File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
  19. result = func(*args)
  20. File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
  21. return self.do_open(httplib.HTTPConnection, req)
  22. File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
  23. r = h.getresponse(buffering=True)
  24. File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
  25. response.begin()
  26. File "/usr/lib/python2.7/httplib.py", line 409, in begin
  27. version, status, reason = self._read_status()
  28. File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
  29. line = self.fp.readline(_MAXLINE + 1)
  30. File "/usr/lib/python2.7/socket.py", line 476, in readline
  31. data = self._sock.recv(self._rbufsize)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement