I have projects which was created on python 2.7.10. Now I want to update python to version 3.7.2 it is aim. Python 2.7.11, 2.7.12 - work. Python 2.7.13 couldn't connect to database. When I open project I heve error link. When I want to see error message I see "Admin panel is switched-off becouse it is impossible to get access to the file with passwords". After that I need to clear cache for login in web2py admin panel. Error in app:
> <type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: > Traceback (most recent call last): File > "C:\inetpub\wwwroot\gluon\packages\dal\pydal\base.py", line 455, in > __init__ self._adapter = adapter(**kwargs) File > "C:\inetpub\wwwroot\gluon\packages\dal\pydal\adapters\__init__.py", line > 40, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) > File "C:\inetpub\wwwroot\gluon\packages\dal\pydal\adapters\base.py", line > 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File > "C:\inetpub\wwwroot\gluon\packages\dal\pydal\adapters\base.py", line 53, in > __init__ self.reconnect() File > "C:\inetpub\wwwroot\gluon\packages\dal\pydal\connection.py", line 172, in > reconnect self.connection = self.connector() File > "C:\inetpub\wwwroot\gluon\packages\dal\pydal\adapters\firebird.py", line > 47, in connector return self.driver.connect(**self.driver_args) File > "C:\Python27\lib\site-packages\fdb\fbcore.py", line 784, in connect > load_api(fb_library_name) File > "C:\Python27\lib\site-packages\fdb\fbcore.py", line 220, in load_api > setattr(sys.modules[__name__], 'api', ibase.fbclient_API(fb_library_name)) > File "C:\Python27\lib\site-packages\fdb\ibase.py", line 1396, in __init__ > fb_library = WinDLL(fb_library_name) File > "C:\Python27\lib\ctypes\__init__.py", line 362, in __init__ self._handle = > _dlopen(self._name, mode) TypeError: LoadLibrary() argument 1 must be > string, not unicode My connection to database: db = DAL('firebird://myrole:mypassw...@192.168.xxx.xxx/D:/DB/DBNAME.fdb', ignore_field_case=True, entity_quoting=False, pool_size=1, migrate_enabled= False) -- 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. For more options, visit https://groups.google.com/d/optout.