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

Fifo loading problem #233

Open
Gcuje opened this issue Nov 25, 2023 · 0 comments
Open

Fifo loading problem #233

Gcuje opened this issue Nov 25, 2023 · 0 comments
Assignees
Labels

Comments

@Gcuje
Copy link

Gcuje commented Nov 25, 2023

Hello i try to load the fifo cog but i have this error :


Nov 25 01:16:42 ora-vps-2 python3.11[880749]: [2023-11-25 01:16:42] [ERROR] red: Package loading failed
Nov 25 01:16:42 ora-vps-2 python3.11[880749]: Traceback (most recent call last):
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/redenv/lib/python3.11/site-packages/redbot/core/core_commands.py", line 188, in _load
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     await bot.load_extension(spec)
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/redenv/lib/python3.11/site-packages/redbot/core/bot.py", line 1686, in load_extension
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     await lib.setup(self)
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/.local/share/Red-DiscordBot/data/redbot/cogs/CogManager/cogs/fifo/__init__.py", line 19, in setup
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     await cog.initialize()
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/.local/share/Red-DiscordBot/data/redbot/cogs/CogManager/cogs/fifo/fifo.py", line 130, in initialize
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     await self.jobstore.load_from_config()
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/.local/share/Red-DiscordBot/data/redbot/cogs/CogManager/cogs/fifo/redconfigjobstore.py", line 43, in load_from_config
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     job = await self._decode_job(job)
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:   File "/home/ubuntu/.local/share/Red-DiscordBot/data/redbot/cogs/CogManager/cogs/fifo/redconfigjobstore.py", line 86, in _decode_job
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:     job_state = pickle.loads(base64.b64decode(job_state))
Nov 25 01:16:42 ora-vps-2 python3.11[880749]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 25 01:16:42 ora-vps-2 python3.11[880749]: ModuleNotFoundError: No module named 'backports.zoneinfo'

What can i do? Thank you!

@Gcuje Gcuje added the bug label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants