Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 580, in _load_from_module_spec
  3. setup(self)
  4. File "C:\Koding\Python\johann\commands\cogs\unupc\unupc.py", line 147, in setup
  5. bot.add_cog(unupc(bot))
  6. File "C:\Koding\Python\johann\commands\cogs\unupc\unupc.py", line 14, in __init__
  7. self.refreshprices_loop.start() # pylint: disable=no-member
  8. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\tasks\__init__.py", line 128, in start
  9. raise RuntimeError('Task is already launched and is not completed.')
  10. RuntimeError: Task is already launched and is not completed.
  11.  
  12. The above exception was the direct cause of the following exception:
  13.  
  14. Traceback (most recent call last):
  15. File "C:\Koding\Python\johann\tradecentralbot.py", line 22, in <module>
  16. bot.load_extension('commands.cogs.pin.pin') #pins a given message to a channel
  17. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 621, in load_extension
  18. lib = importlib.import_module(name)
  19. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
  20. return _bootstrap._gcd_import(name[level:], package, level)
  21. File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  22. File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  23. File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  24. File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  25. File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  26. File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  27. File "C:\Koding\Python\johann\commands\cogs\pin\pin.py", line 3, in <module>
  28. from tradecentralbot import checkifmod
  29. File "C:\Koding\Python\johann\tradecentralbot.py", line 17, in <module>
  30. bot.load_extension('commands.cogs.unupc.unupc') #unusual price check command
  31. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 625, in load_extension
  32. self._load_from_module_spec(lib, name)
  33. File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 584, in _load_from_module_spec
  34. raise errors.ExtensionFailed(key, e) from e
  35. discord.ext.commands.errors.ExtensionFailed: Extension 'commands.cogs.unupc.unupc' raised an error: RuntimeError: Task is already launched and is not completed.
  36. Bot crashed, restarting in 5 seconds
  37.  
  38. Waiting for 3 seconds, press a key to conti
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement