You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Python 2 (Python 2.7.14, PostgreSQL 9.6.6) this causes:
ERROR:newt.db.jsonpickle:Failed pickle load, oid: 0, pickle starts: '\x80\x03cpersistent.mapping\nPersistentMapping\nq\x01.\x80\x03}q\x02U\x04'
Traceback (most recent call last):
File "/home/svelte/venv/lib/python2.7/site-packages/newt/db/jsonpickle.py", line 509, in __call__
state = unpickler.load()
File "/home/svelte/venv/lib/python2.7/site-packages/newt/db/jsonpickle.py", line 227, in load
for op, arg, pos in self.ops:
File "/usr/lib64/python2.7/pickletools.py", line 1851, in genops
code))
ValueError: at position 28, opcode 'C' unknown
Under Python 3 (Python 2 (Python 3.6.3, PostgreSQL 9.6.6) I get no output as expected. Everything looks correct in psql:
Has newtdb dropped Python 2 support? I get a serialization error with a very simple test case under Python 2, but not Python 3:
Under Python 2 (Python 2.7.14, PostgreSQL 9.6.6) this causes:
Under Python 3 (Python 2 (Python 3.6.3, PostgreSQL 9.6.6) I get no output as expected. Everything looks correct in psql:
The only virtualenv difference is Python 2 having
trollius
andfutures
.Output of
pip freeze
for Python 2:Output of
pip freeze
for Python 3:The text was updated successfully, but these errors were encountered: