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

[Leveler] Bug report #219

Open
zarigata opened this issue May 28, 2023 · 0 comments · May be fixed by #196
Open

[Leveler] Bug report #219

zarigata opened this issue May 28, 2023 · 0 comments · May be fixed by #196
Labels
bug pls fix

Comments

@zarigata
Copy link

Describe the bug
i am unable to run leveler on my Red-Bot

To Reproduce
load the repo
install the cog
ask to load

Expected behavior
run?

Bot's logs
object NoneType can't be used in 'await' expression
[21:42:41] ERROR [red] Package loading failed
╭─────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────╮
│ /home/pi/venv/lib/python3.11/site-packages/redbot/core/core_commands.py:188 in _load │
│ ❱ 188 await bot.load_extension(spec) │
│ /home/pi/venv/lib/python3.11/site-packages/redbot/core/bot.py:1680 in load_extension │
│ ❱ 1680 lib = spec.loader.load_module() │
│ in _check_name_wrapper:605 │
│ in load_module:1120 │
│ in load_module:945 │
│ in _load_module_shim:290 │
│ in _load:721 │
│ in _load_unlocked:690 │
│ in exec_module:940 │
│ in _call_with_frames_removed:241 │
│ /home/pi/.local/share/Red-DiscordBot/data/rhbot/cogs/CogManager/cogs/leveler/init.py:4 in │
│ ❱ 4 from .leveler import Leveler │
│ /home/pi/.local/share/Red-DiscordBot/data/rhbot/cogs/CogManager/cogs/leveler/leveler.py:9 in │
│ ❱ 9 from .abc import CompositeMetaClass │
│ /home/pi/.local/share/Red-DiscordBot/data/rhbot/cogs/CogManager/cogs/leveler/abc.py:8 in │
│ ❱ 8 from motor.motor_asyncio import AsyncIOMotorClient, AsyncIOMotorDatabase │
│ /home/pi/.local/share/Red-DiscordBot/data/rhbot/cogs/Downloader/lib/motor/motor_asyncio.py:18 in │
│ ❱ 18 from .frameworks import asyncio as asyncio_framework │
│ /home/pi/.local/share/Red-DiscordBot/data/rhbot/cogs/Downloader/lib/motor/frameworks/asyncio/init.py:28 in │
│ ❱ 28 from asyncio import coroutine # For framework interface. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name 'coroutine' from 'asyncio' (/usr/lib/python3.11/asyncio/init.py)

Red version
3.5.1

Additional context
seens to be hapenning in a lot of other cogs...

@zarigata zarigata added the bug pls fix label May 28, 2023
@fixator10 fixator10 linked a pull request Jun 1, 2023 that will close this issue
43 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pls fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant