Closed GoogleCodeExporter closed 9 years ago
It seems Hotot doesn't work well in python 2.7
You can use python 2.6 to run Hotot temporarily。
Original comment by 5h3l...@gmail.com
on 26 Feb 2011 at 5:22
Original comment by 5h3l...@gmail.com
on 11 Jun 2011 at 2:57
Should I permanently use python 2.6 for this?
Original comment by garrett....@gmail.com
on 11 Jun 2011 at 3:08
I have same problem with Python 2.7 on Fedora 16.
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/site-packages/hotot/agent.py", line 201, in request
result = _post(url, params, headers, files, additions)
File "/usr/lib/python2.7/site-packages/hotot/agent.py", line 261, in _post
ret = urlopen(request, timeout=req_timeout).read()
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1168, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 955, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 989, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 809, in _send_output
msg += message_body
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 378:
invalid start byte
Original comment by gotenc...@gmail.com
on 2 Dec 2011 at 1:21
I also have that problem with python-2.7.2.
Original comment by reload.k...@gmail.com
on 11 Feb 2012 at 12:23
Same issues on both Ubuntu/Mint (with Hotot ppa) and Fedora 16. Python is at
version 2.7.2 I believe, Hotot is at version 0.9.7
Original comment by gmanue...@gmail.com
on 28 Feb 2012 at 7:43
Using hotot from ubuntu 12.04 - having the same problem - anyone got any fixes
yet?
Original comment by Snigepi...@gmail.com
on 11 Nov 2012 at 12:38
Original issue reported on code.google.com by
garrett....@gmail.com
on 23 Feb 2011 at 8:36