a guest Jan 24th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\", line 580, in _load_from_module_spec
  3.     setup(self)
  4.   File "C:\Koding\Python\johann\commands\cogs\unupc\", line 147, in setup
  5.     bot.add_cog(unupc(bot))
  6.   File "C:\Koding\Python\johann\commands\cogs\unupc\", 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\", 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.
  12. The above exception was the direct cause of the following exception:
  14. Traceback (most recent call last):
  15.   File "C:\Koding\Python\johann\", line 22, in <module>
  16.     bot.load_extension('') #pins a given message to a channel
  17.   File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\", line 621, in load_extension
  18.     lib = importlib.import_module(name)
  19.   File "C:\Users\halva\AppData\Local\Programs\Python\Python36\lib\importlib\", 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\", line 3, in <module>
  28.     from tradecentralbot import checkifmod
  29.   File "C:\Koding\Python\johann\", 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\", 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\", 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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand