I have that error and also if I want check all errors through "Manage" ->
"Errors" I see error too. Web2py 2.18.5, python 3.7.3. That error repeats
in other projects(
Ticket ID
213.87.138.43.2019-06-18.09-16-19.f72752c4-8811-4910-b67f-6dc0ef26f964
<class 'UnicodeDecodeError'> 'ascii' codec can't decode byte 0xd0 in
position 0: ordinal not in range(128)Версия
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 3.7.3: C:\Python\python.exe (prefix: C:\Python)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
Traceback (most recent call last):
File ".\gluon\restricted.py", line 219, in restricted
exec(ccode, environment)
File "C:\inetpub\wwwroot\applications\webabit\models\db.py", line 12, in
<module>
session.connect(request, response, db_app, masterapp=None)
File ".\gluon\globals.py", line 971, in connect
session_data = pickle.loads(row['session_data'])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal
not in range(128)
Error snapshot [image: help]
<http://10.250.10.160/admin/ticket/webabit/213.87.138.43.2019-06-18.09-16-19.f72752c4-8811-4910-b67f-6dc0ef26f964#>
UnicodeDecodeError('ascii' codec can't decode byte 0xd0 in position 0:
ordinal not in range(128))
inspect attributes
Frames
-
*File C:\inetpub\wwwroot\gluon\restricted.py in restricted at line 219*
код аргументы переменные
-
*File C:\inetpub\wwwroot\applications\webabit\models\db.py in <module>
at line 12* код аргументы переменные
-
*File C:\inetpub\wwwroot\gluon\globals.py in connect at line 971* код
аргументы переменные
Function argument list
(self=<Storage {}>, request=<Storage {'env': <Storage
{'HTTP_CONNECTION': 'c...gi': <gluon.main.LazyWSGI object at 0x02B7EFD0>}>,
response=<Storage {'status': 200, 'headers': {'X-Powered-...,
modified_datetime, unique_key, session_data)>}>, db=<DAL
uri="sqlite://storage.sqlite">, tablename='web2py_session',
masterapp='webabit', migrate=True, separate=None, check_client=False,
cookie_key=None, cookie_expires=None, compression_level=None)
Code listing
966.
967.
968.
969.
970.
971.
972.
973.
974.
975.
row = table(record_id, unique_key=unique_key)
# Make sure the session data exists in the database
if row:
# rows[0].update_record(locked=True)
# Unpickle the data
session_data = pickle.loads(row['session_data'])
self.update(session_data)
response.session_new = False
else:
record_id = None
Variables
session_data undefined
global pickle <module 'pickle' from 'C:\\Python\\lib\\pickle.py'>
pickle.loads <built-in function loads>
row <Row {'id': 594, 'locked': False, 'client_ip': '...ue_key':
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/204ef4db-2da6-4d4d-9022-b59ee977bfb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.