Advertisement
Guest User

Untitled

a guest
May 12th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. Ignoring exception in command setstatus:
  2. Traceback (most recent call last):
  3. File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  4. ret = await coro(*args, **kwargs)
  5. File "C:/Users/justi/Google Drive/PythonBot/bot.py", line 66, in setstatus
  6. writeToJSON(path, fileName, data)
  7. File "C:/Users/justi/Google Drive/PythonBot/bot.py", line 34, in writeToJSON
  8. old_data = pickle.load(handle)
  9. _pickle.UnpicklingError: invalid load key, '{'.
  10.  
  11. The above exception was the direct cause of the following exception:
  12.  
  13. Traceback (most recent call last):
  14. File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
  15. await ctx.command.invoke(ctx)
  16. File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
  17. await injected(*ctx.args, **ctx.kwargs)
  18. File "C:\Users\justi\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
  19. raise CommandInvokeError(exc) from exc
  20. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: UnpicklingError: invalid load key, '{'.
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement