We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
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...
The text was updated successfully, but these errors were encountered: