flaree / flare-cogs

Various cogs written for Red-DiscordBot
MIT License
76 stars 69 forks source link

Giveaways not loading in Red 3.5.4 #202

Closed SickProdigy closed 1 year ago

SickProdigy commented 1 year ago

Describe the bug When trying to load giveaways throwing error for dateparser.

Output of [p]help CogName and [p]debuginfo

Logs: [2023-08-20 18:39:01] [ERROR] red: Package loading failed Traceback (most recent call last): File "/home/username/redenv/lib/python3.11/site-packages/redbot/core/core_commands.py", line 188, in _load await bot.load_extension(spec) File "/home/username/redenv/lib/python3.11/site-packages/redbot/core/bot.py", line 1680, in load_extension lib = spec.loader.load_module() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 605, in _check_name_wrapper File "", line 1120, in load_module File "", line 945, in load_module File "", line 290, in _load_module_shim File "", line 721, in _load File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/home/username/Documents/python-bots/red-discord-cog/cogs/CogManager/cogs/giveaways/init.py", line 1, in from .giveaways import Giveaways File "/home/username/Documents/python-bots/red-discord-cog/cogs/CogManager/cogs/giveaways/giveaways.py", line 15, in from .converter import Args File "/home/username/Documents/python-bots/red-discord-cog/cogs/CogManager/cogs/giveaways/converter.py", line 4, in import dateparser ModuleNotFoundError: No module named 'dateparser'

Debug Info for Red:

System Metadata:

CPU Cores: 8 (x86_64) RAM: 12.2GB/15.4GB (82.6%)

OS variables:

OS version: Debian GNU/Linux 12 User: username Python executable: /home/username/redenv/bin/python Python version: 3.11.2 (64bit) Pip version: 23.2.1 Red version: 3.5.4 Discord.py version: 2.3.2

Red variables:

Instance name: SickGamingBot Command line arguments: ['/home/username/redenv/bin/python', '-O', '-m', 'redbot', 'SickGamingBot', '--no-prompt'] Global prefix(es): '-' Owner(s): 228710499888398336 (sickprodigy) Disabled intents: None Storage type: JSON Data path: /home/username/Documents/python-bots/red-discord-cog Metadata file: /home/username/.config/Red-DiscordBot/config.json

flaree commented 1 year ago

Your bot failed to install the requirement, run [p]pipinstall dateparser