I have this problem using web2py 2.18 with pyrhon 3.8 and mysql. When I log in int the app it happens this error: <class 'KeyError'> 255
I don't know id it's an error regarding mysql.... Versione web2py™ Version 2.19.1-stable+timestamp.2020.03.21.21.49.28 Python Python 3.8.2: C:\Python38\python.exe (prefix: C:\Python38)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "C:\web2py\applications\gaweb\controllers/default.py", line 1720, in <module> File "C:\web2py\gluon\globals.py", line 422, in <lambda> self._caller = lambda f: f() File "C:\web2py\applications\gaweb\controllers/default.py", line 1701, in user return dict(form=auth()) File "C:\web2py\gluon\tools.py", line 1801, in __call__ return getattr(self, args[0])() File "C:\web2py\gluon\tools.py", line 2586, in login user = table_user(**{username: entered_username}) File "C:\web2py\gluon\packages\dal\pydal\objects.py", line 718, in __call__ self._db(query) File "C:\web2py\gluon\packages\dal\pydal\objects.py", line 2634, in select return adapter.select(self.query, fields, attributes) File "C:\web2py\gluon\packages\dal\pydal\adapters\base.py", line 878, in select return self._select_aux(sql, fields, attributes, colnames) File "C:\web2py\gluon\packages\dal\pydal\adapters\base.py", line 835, in _select_aux rows = self._select_aux_execute(sql) File "C:\web2py\gluon\packages\dal\pydal\adapters\base.py", line 829, in _select_aux_execute self.execute(sql) File "C:\web2py\gluon\packages\dal\pydal\adapters\__init__.py", line 65, in wrap if not args[0].connection: File "C:\web2py\gluon\packages\dal\pydal\connection.py", line 32, in connection return self.get_connection() File "C:\web2py\gluon\packages\dal\pydal\connection.py", line 65, in get_connection connection = self.connector() File "C:\web2py\gluon\packages\dal\pydal\adapters\mysql.py", line 61, in connector conn = self.driver.connect(**self.driver_args) File "C:\web2py\gluon\contrib\pymysql\__init__.py", line 90, in Connect return Connection(*args, **kwargs) File "C:\web2py\gluon\contrib\pymysql\connections.py", line 688, in __init__ self.connect() File "C:\web2py\gluon\contrib\pymysql\connections.py", line 905, in connect self._get_server_information() File "C:\web2py\gluon\contrib\pymysql\connections.py", line 1231, in _get_server_information self.server_charset = charset_by_id(lang).name File "C:\web2py\gluon\contrib\pymysql\charset.py", line 38, in by_id return self._by_id[id] KeyError: 255 -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ddbf4973-3890-4e17-9c60-424f562ef040%40googlegroups.com.