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

pSub crashing on server connection #12

Closed
neoromantique opened this issue Jul 10, 2020 · 1 comment
Closed

pSub crashing on server connection #12

neoromantique opened this issue Jul 10, 2020 · 1 comment

Comments

@neoromantique
Copy link

neoromantique commented Jul 10, 2020

Testing Server Connection
https://USERNAME@SERVER  (No passwd in this URI)
Traceback (most recent call last):
  File "/home/david/.local/bin/pSub", line 8, in <module>
    sys.exit(cli())
  File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 1236, in invoke
    return Command.invoke(self, ctx)
  File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/david/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/david/.local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 615, in cli
    test_ok = ctx.obj.test_config()
  File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 90, in test_config
    ping = self.make_request(url=self.create_url('ping'))
  File "/home/david/.local/lib/python3.8/site-packages/pSub.py", line 114, in create_url
    if version.parse(self.api) < version.parse("1.13.0"):
  File "/home/david/.local/lib/python3.8/site-packages/packaging/version.py", line 56, in parse
    return Version(version)
  File "/home/david/.local/lib/python3.8/site-packages/packaging/version.py", line 275, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object
david@zeitgeist:[~/Build/psub]$ 

Same result with venv.

@neoromantique
Copy link
Author

wrong API version was specified

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

1 participant