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

[v3] - Invalid version number. #1742

Closed
Kio-td opened this issue May 30, 2018 · 3 comments · Fixed by #1770
Closed

[v3] - Invalid version number. #1742

Kio-td opened this issue May 30, 2018 · 3 comments · Fixed by #1770
Labels
Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

Comments

@Kio-td
Copy link
Contributor

Kio-td commented May 30, 2018

Other bugs

What were you trying to do?

Load the bot

What were you expecting to happen?

Bot stays quiet, or shows a splash

What actually happened?

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discord/client.py", line 224, in _run_event
    yield from coro(*args, **kwargs)
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/redbot/core/events.py", line 125, in on_ready
    if StrictVersion(data["info"]["version"]) > StrictVersion(red_version):
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/distutils/version.py", line 40, in __init__
    self.parse(vstring)
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/distutils/version.py", line 137, in parse
    raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '3.0.0b15.post2'

How can we reproduce this issue?

Unsure. I just loaded the bot on a fresh and clean server.

@Tobotimus Tobotimus added Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. V3 labels May 30, 2018
@Tobotimus
Copy link
Member

We apologise for this issue, and we are working to solve it, however for now the best workaround would be to downgrade back to beta 15 with pip install --force-reinstall red-discordbot==3.0.0b15. However, please note that installing this version requires a C compiler to be installed on your system.

If you would rather not have to install a C compiler, you can install beta 15 without fuzzy command search with pip install -U --force-reinstall --no-cache-dir https://github.com/mikeshardmind/Red-DiscordBot/archive/no-fuzz.zip#egg=red-discordbot.

@mikeshardmind
Copy link
Contributor

Note that none of the above options (b15post2, downgrading to b15, or using the non-supported branch without fuzzysearch) will work using the launcher. The launcher attempts a version comparison to see if an update is available, and will continue not working until b16 hits pypi

@tekulvw
Copy link
Member

tekulvw commented Jun 2, 2018

Temporarily fixed with #1770

@tekulvw tekulvw closed this as completed Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants