Hi,
In Tryton 4.0 with python3 in virtualenv to install simplejson break
reports with this message:
31494 139829593347840 [2017-06-03 20:33:44,431] ERROR werkzeug Error on
request:
Traceback (most recent call last):
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/werkzeug/serving.py",
line 209, in run_wsgi
execute(self.server.app)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/werkzeug/serving.py",
line 197, in execute
application_iter = app(environ, start_response)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/werkzeug/wsgi.py",
line 600, in __call__
return self.app(environ, start_response)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/trytond/wsgi.py",
line 90, in __call__
return self.wsgi_app(environ, start_response)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/trytond/wsgi.py",
line 80, in wsgi_app
response = cls.response(data, request)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/trytond/protocols/jsonrpc.py",
line 160, in response
return Response(json.dumps(response, cls=JSONEncoder),
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/simplejson/__init__.py",
line 397, in dumps
**kw).encode(obj)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/simplejson/encoder.py",
line 291, in encode
chunks = self.iterencode(o, _one_shot=True)
File
"/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/simplejson/encoder.py",
line 373, in iterencode
return _iterencode(o, 0)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 15:
invalid continuation byte
Remove simplejson from virtualenv solved the problem, "$pip uninstall
simplejson", so it maybe must to remove recommends install simplejson of
install docs?
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton-dev/1bd89448-ddcb-5f4d-ad1a-eb22c615efb7%40gmail.com.