You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it looks tike there are eventually only 2 problems:
File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/sqlalchemy/testing/plugin/plugin_base.py", line 567, in <genexpr>
for config_obj in config.Config.all_configs()
TypeError: 'NoneType' object is not iterable
ValueError: unsupported format character ''' (0x27) at index 71
File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/sqlalchemy/testing/plugin/plugin_base.py", line 567, in <genexpr>
for config_obj in config.Config.all_configs()
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
Implement _get_server_version_info on the Dialect class to prevent this error, this is my recent implementation to fix the error myself, hope it helps:
def _get_server_version_info(self, connection):
"""Get the version of the HANA server used by a connection.
Returns a tuple of (`major`, `minor`, `service pack`, `patch`, `build`)
"""
db_version = connection.execute("SELECT VERSION FROM SYS.M_DATABASE").scalar()
m = re.match(r"(\d+).(\d+).(\d+).(\d+).(\d+)", db_version)
if m:
return tuple(int(x) for x in m.group(1, 2, 3, 4, 5))
else:
return None
Sorry, my change is for SAP HANA dialect, I don't know what the equivalent query is for MonetDB - I don't have the repo cloned or an instance to try with, I just came across your comment when I was Googling for the error.
but it looks tike there are eventually only 2 problems:
The text was updated successfully, but these errors were encountered: