Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 580, in _load_from_module_spec
- setup(self)
- File "C:\Koding\Python\johann\commands\cogs\unupc\unupc.py", line 147, in setup
- bot.add_cog(unupc(bot))
- File "C:\Koding\Python\johann\commands\cogs\unupc\unupc.py", line 14, in __init__
- self.refreshprices_loop.start() # pylint: disable=no-member
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\tasks\__init__.py", line 128, in start
- raise RuntimeError('Task is already launched and is not completed.')
- RuntimeError: Task is already launched and is not completed.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Koding\Python\johann\tradecentralbot.py", line 22, in <module>
- bot.load_extension('commands.cogs.pin.pin') #pins a given message to a channel
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 621, in load_extension
- lib = importlib.import_module(name)
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
- return _bootstrap._gcd_import(name[level:], package, level)
- File "<frozen importlib._bootstrap>", line 994, in _gcd_import
- File "<frozen importlib._bootstrap>", line 971, in _find_and_load
- File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
- File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
- File "<frozen importlib._bootstrap_external>", line 678, in exec_module
- File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
- File "C:\Koding\Python\johann\commands\cogs\pin\pin.py", line 3, in <module>
- from tradecentralbot import checkifmod
- File "C:\Koding\Python\johann\tradecentralbot.py", line 17, in <module>
- bot.load_extension('commands.cogs.unupc.unupc') #unusual price check command
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 625, in load_extension
- self._load_from_module_spec(lib, name)
- File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 584, in _load_from_module_spec
- raise errors.ExtensionFailed(key, e) from e
- discord.ext.commands.errors.ExtensionFailed: Extension 'commands.cogs.unupc.unupc' raised an error: RuntimeError: Task is already launched and is not completed.
- Bot crashed, restarting in 5 seconds
- Waiting for 3 seconds, press a key to conti
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement