Closed scarecr0w12 closed 1 year ago
Looks like it's looking for a non-existing file, seems to be a reoccuring issue after I moved a file.
Try reinstalling the cog and repo.
[p]cog uninstall ai_user
[p]repo delete bz-cogs
then reinstall
[p]repo add bz-cogs https://github.com/zhaobenny/bz-cogs
[p]cog install bz-cogs ai_user
Try updating again too, I pushed some changes to hopefully resolve it.
Now im getting:
[2023-05-09 17:46:12] [ERROR] red: Package loading failed
Traceback (most recent call last):
File "/root/redenv/lib/python3.11/site-packages/redbot/core/core_commands.py", line 187, in _load
self._cleanup_and_refresh_modules(spec.name)
File "/root/redenv/lib/python3.11/site-packages/redbot/core/core_commands.py", line 266, in _cleanup_and_refresh_modules
importlib._bootstrap._exec(lib.__spec__, lib)
File "<frozen importlib._bootstrap>", line 621, in _exec
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/root/.local/share/Red-DiscordBot/data/LittleBot/cogs/CogManager/cogs/ai_user/prompts/embed_prompt.py", line 8, in <module>
from ai_user.constants import MAX_MESSAGE_LENGTH
ModuleNotFoundError: No module named 'ai_user'
This is after doing a full uninstall and reinstall of Repo and cog
All files are in place btw, compared Git to what I have locally.
Resolved by restarting Redbot
Hello, Recent updates are giving me the error now at load time: