pg_view
pg_view copied to clipboard
Problem with version number
Traceback (most recent call last):
File "pg_view.py", line 6, in <module>
main()
File "/pg_view/pg_view/__init__.py", line 211, in main
if not establish_user_defined_connection(instance, conn, clusters):
File "/pg_view/pg_view/models/db_client.py", line 113, in establish_user_defined_connection
dbver = dbversion_as_float(pgcon)
File "/pg_view/pg_view/utils.py", line 102, in dbversion_as_float
return float('{0}.{1}'.format(version_num / 100, version_num % 100))
ValueError: could not convert string to float: '9.0507.5.07000000000005'
The issue is related to running pg_view under python3. #89 should fix it, you can check if it solves the issue on your system.
I've just tried running using the suggested branch, and the result is the same