pg_view icon indicating copy to clipboard operation
pg_view copied to clipboard

Problem with version number

Open Vampouille opened this issue 8 years ago • 3 comments

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'

Vampouille avatar Jun 30 '17 08:06 Vampouille

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.

alexeyklyukin avatar Jun 30 '17 16:06 alexeyklyukin

I've just tried running using the suggested branch, and the result is the same

elthariel avatar Apr 21 '23 20:04 elthariel