Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with version number #88

Open
Vampouille opened this issue Jun 30, 2017 · 2 comments
Open

Problem with version number #88

Vampouille opened this issue Jun 30, 2017 · 2 comments

Comments

@Vampouille
Copy link

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'
@alexeyklyukin
Copy link
Contributor

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.

@elthariel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants