[v3] - Invalid version number. #1742

Closed
opened 2018-05-30 03:02:43 +02:00 by Kio-td · 3 comments
Kio-td commented 2018-05-30 03:02:43 +02:00 (Migrated from github.com)

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.

# Other bugs <!-- Did you find a bug with something other than a command? Fill out the following: --> #### 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? ```[29/05/2018 20:59] ERROR events on_error 181: Exception in on_ready 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 commented 2018-05-30 04:30:59 +02:00 (Migrated from github.com)

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.

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 commented 2018-05-30 22:54:48 +02:00 (Migrated from github.com)

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

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 commented 2018-06-03 00:36:59 +02:00 (Migrated from github.com)

Temporarily fixed with #1770

Temporarily fixed with #1770
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#1742
No description provided.