AttributeError: 'PGDialect_psycopg2' object has no attribute 'dbapi_type_map'
AttributeError: 'PGDialect_psycopg2' object has no attribute 'dbapi_type_map'
更新 python 服务器上的所有插件后,现在会引发
File "D:\Python362\lib\site-packages\aiopg\utils.py", line 72, in __await__
resp = yield from self._coro
File "D:\Python362\lib\site-packages\aiopg\sa\connection.py", line 116, in _execute
return ResultProxy(self, cursor, self._dialect, result_map)
File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 234, in __init__
self._metadata = ResultMetaData(self, cursor.description)
File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 103, in __init__
typemap = dialect.dbapi_type_map
AttributeError: 'PGDialect_psycopg2' object has no attribute 'dbapi_type_map'
Plugins List
都是关于 sqlalchemy 的,降级到 1.1.15 解决了问题。
更新 python 服务器上的所有插件后,现在会引发
File "D:\Python362\lib\site-packages\aiopg\utils.py", line 72, in __await__
resp = yield from self._coro
File "D:\Python362\lib\site-packages\aiopg\sa\connection.py", line 116, in _execute
return ResultProxy(self, cursor, self._dialect, result_map)
File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 234, in __init__
self._metadata = ResultMetaData(self, cursor.description)
File "D:\Python362\lib\site-packages\aiopg\sa\result.py", line 103, in __init__
typemap = dialect.dbapi_type_map
AttributeError: 'PGDialect_psycopg2' object has no attribute 'dbapi_type_map'
Plugins List
都是关于 sqlalchemy 的,降级到 1.1.15 解决了问题。