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 Core] Backup TypeError #2094

Closed
Zephyrkul opened this issue Sep 3, 2018 · 1 comment
Closed

[V3 Core] Backup TypeError #2094

Zephyrkul opened this issue Sep 3, 2018 · 1 comment
Labels
Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Milestone

Comments

@Zephyrkul
Copy link
Contributor

Command bugs

Command name

backup

What cog is this command from?

Core

What were you expecting to happen?

Dunno, I was testing to see what backup does, but an error is likely not expected behavior.

What actually happened?

For whatever reason I get two of the same error for every run of [p]backup. Only one bot is running.

[03/09/2018 20:59] ERROR events on_command_error 205: Exception in command 'backup'
Traceback (most recent call last):
  File "/home/zephyrkul/.pyenv/versions/red/lib/python3.7/site-packages/discord/ext/commands/core.py", line 61, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/zephyrkul/.pyenv/versions/red/lib/python3.7/site-packages/redbot/core/core_commands.py", line 1087, in backup
    m = Mongo("Core", **basic_config["STORAGE_DETAILS"])
TypeError: __init__() missing 1 required positional argument: 'identifier'
[03/09/2018 20:59] ERROR events on_command_error 210: Exception in command 'backup'
Traceback (most recent call last):
  File "/home/zephyrkul/.pyenv/versions/red/lib/python3.7/site-packages/discord/ext/commands/core.py", line 61, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/zephyrkul/.pyenv/versions/red/lib/python3.7/site-packages/redbot/core/core_commands.py", line 1087, in backup
    m = Mongo("Core", **basic_config["STORAGE_DETAILS"])
TypeError: __init__() missing 1 required positional argument: 'identifier'

How can we reproduce this issue?

Run [p]backup on a mongodb backend.

@Tobotimus Tobotimus added Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. V3 Status: Accepted We want this labels Sep 4, 2018
@Tobotimus Tobotimus added this to the RC 1 milestone Sep 7, 2018
@Tobotimus Tobotimus modified the milestones: RC 1, RC 2 Oct 1, 2018
Tobotimus added a commit to Tobotimus/Red-DiscordBot that referenced this issue Oct 8, 2018
Resolves Cog-Creators#2094.

This command needs some more fixing and cleaning up than this, this is just a simple bugfix which gets it mostly working for now.

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
@Tobotimus Tobotimus added Status: In Progress There's a PR open to deal with this, or an org member is working on this internally and removed Status: Accepted We want this labels Oct 8, 2018
Tobotimus added a commit that referenced this issue Oct 9, 2018
Resolves #2094.

This command needs some more fixing and cleaning up than this, this is just a simple bugfix which gets it mostly working for now.

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
@Tobotimus
Copy link
Member

Resolved by #2210.

@Tobotimus Tobotimus removed the Status: In Progress There's a PR open to deal with this, or an org member is working on this internally label Oct 9, 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

No branches or pull requests

2 participants