Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ignoring exception in command setstatus:
- Traceback (most recent call last):
- File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "C:/Users/justi/Google Drive/PythonBot/bot.py", line 66, in setstatus
- writeToJSON(path, fileName, data)
- File "C:/Users/justi/Google Drive/PythonBot/bot.py", line 34, in writeToJSON
- old_data = pickle.load(handle)
- _pickle.UnpicklingError: invalid load key, '{'.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
- await ctx.command.invoke(ctx)
- File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
- await injected(*ctx.args, **ctx.kwargs)
- File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
- raise CommandInvokeError(exc) from exc
- discord.ext.commands.errors.CommandInvokeError: Command raised an exception: UnpicklingError: invalid load key, '{'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement