Created
July 15, 2011 20:15
-
-
Save fredrick/1085467 to your computer and use it in GitHub Desktop.
Seat-Python, Python 3.x.x compatibility issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: http://bugs.python.org/issue10976 | |
EEEEEEE | |
====================================================================== | |
ERROR: test_database_exists (__main__.testSeat) | |
Database exists | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_document_delete (__main__.testSeat) | |
DELETE document | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_document_get (__main__.testSeat) | |
GET document | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_document_put (__main__.testSeat) | |
PUT document | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_document_update (__main__.testSeat) | |
Update existing document | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_view_create (__main__.testSeat) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
====================================================================== | |
ERROR: test_view_query (__main__.testSeat) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 86, in __send | |
result = json.loads(request.read()) | |
File "/usr/lib/python3.1/json/__init__.py", line 291, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python3.1/json/decoder.py", line 325, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
TypeError: can't use a string pattern on a bytes-like object | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test/test_seat.py", line 18, in setUp | |
self.database.put() | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 131, in put | |
return self.__send('PUT', doc) | |
File "/usr/local/lib/python3.1/dist-packages/seat.py", line 87, in __send | |
except JSONDecodeError: | |
NameError: global name 'JSONDecodeError' is not defined | |
---------------------------------------------------------------------- | |
Ran 7 tests in 0.038s | |
FAILED (errors=7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment