CodeRida

Untitled

Sep 21st, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.58 KB | None | 0 0
  1.  
  2. E 2022-09-21 22:54:59,015 hikari.gateway.0: connection closed with code 1000 ()
  3. E 2022-09-21 22:54:59,016 lightbulb.ext.tasks: Error occurred during task execution and was not handled. Task will be cancelled after 2 more consecutive failure(s)
  4. Traceback (most recent call last):
  5. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/ext/tasks/__init__.py", line 203, in _loop
  6. await maybe_coro
  7. File "/home/container/modules/subscription.py", line 166, in check_for_updates
  8. res, profilepic = await w.get_last_posts(i.username)
  9. File "/home/container/utils/twitter.py", line 16, in get_last_posts
  10. async with self.session.get(f"https://nitter.net/{username}") as r:
  11. File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in __aenter__
  12. self._resp = await self._coro
  13. File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client.py", line 560, in _request
  14. await resp.start(conn)
  15. File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 899, in start
  16. message, payload = await protocol.read() # type: ignore[union-attr]
  17. File "/home/container/.local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read
  18. await self._waiter
  19. aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
  20. I 2022-09-21 22:54:59,266 hikari.gateway.0: server has closed connection, will reconnect if possible [code:1000, reason:]
  21. E 2022-09-21 22:55:29,476 hikari.event_manager: an exception occurred handling an event (SlashCommandErrorEvent)
  22. Traceback (most recent call last):
  23. File "/home/container/modules/subscription.py", line 42, in subadd
  24. res, profilepic = await w.get_last_posts(username)
  25. File "/home/container/utils/tiktok.py", line 30, in get_last_posts
  26. await r.html.arender()
  27. File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 615, in arender
  28. self.browser = await self.session.browser
  29. File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 714, in browser
  30. self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
  31. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 307, in launch
  32. return await Launcher(options, **kwargs).launch()
  33. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 168, in launch
  34. self.browserWSEndpoint = get_ws_endpoint(self.url)
  35. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
  36. raise BrowserError('Browser closed unexpectedly:\n')
  37. pyppeteer.errors.BrowserError: Browser closed unexpectedly:
  38.  
  39.  
  40. During handling of the above exception, another exception occurred:
  41.  
  42. Traceback (most recent call last):
  43. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/app.py", line 1154, in invoke_application_command
  44. await context.invoke()
  45. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 292, in invoke
  46. await self.command.invoke(self)
  47. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 217, in invoke
  48. await self._invoke_subcommand(context)
  49. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 81, in _invoke_subcommand
  50. await self._subcommands[cmd_option.name].invoke(context)
  51. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 544, in invoke
  52. await self(context, **kwargs)
  53. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 459, in __call__
  54. return await self.callback(context, **kwargs)
  55. File "/home/container/modules/subscription.py", line 44, in subadd
  56. return await err(ctx, "Incorrect url!", "The url you provided isnt correct!")
  57. File "/home/container/utils/responses.py", line 25, in err
  58. await ctx.respond(embed=embe, reply=True, **kwargs)
  59. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 525, in respond
  60. await self._interaction.create_initial_response(**kwargs)
  61. File "/home/container/.local/lib/python3.10/site-packages/hikari/interactions/base_interactions.py", line 359, in create_initial_response
  62. await self.app.rest.create_interaction_response(
  63. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 3455, in create_interaction_response
  64. await self._request(route, json=body, no_auth=True)
  65. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 817, in _request
  66. await self._handle_error_response(response)
  67. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 839, in _handle_error_response
  68. raise await net.generate_error_response(response)
  69. hikari.errors.NotFoundError: Not Found 404: (10062) 'Unknown interaction' for https://discord.com/api/v8/interactions/1022279646768803910/aW50ZXJhY3Rpb246MTAyMjI3OTY0Njc2ODgwMzkxMDpXc3Rnc3A0NlpCbXp3cVA0RkdBRkRQbFk3VHpmSUR0bk1nREpHdVM1U1haWEo0UXZ0OUhiZldjYlhKMmVvZGRaZTF2V2lNVUpSekR6eWM1Y0RYZ3czRnlvbkNWTFVkR2pZR0lDd3JueVpzaW5BRTIyWVQyUUVxTlptNXl2b2Fzbg/callback
  70.  
  71. The above exception was the direct cause of the following exception:
  72.  
  73. Traceback (most recent call last):
  74. File "/home/container/modules/handler.py", line 19, in on_error
  75. raise event.exception
  76. lightbulb.errors.CommandInvocationError: An error occurred during command 'subcription' invocation
  77. E 2022-09-21 22:55:30,084 hikari.event_manager: an exception occurred handling an event (SlashCommandErrorEvent)
  78. Traceback (most recent call last):
  79. File "/home/container/modules/subscription.py", line 42, in subadd
  80. res, profilepic = await w.get_last_posts(username)
  81. File "/home/container/utils/tiktok.py", line 30, in get_last_posts
  82. await r.html.arender()
  83. File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 615, in arender
  84. self.browser = await self.session.browser
  85. File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 714, in browser
  86. self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
  87. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 307, in launch
  88. return await Launcher(options, **kwargs).launch()
  89. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 168, in launch
  90. self.browserWSEndpoint = get_ws_endpoint(self.url)
  91. File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
  92. raise BrowserError('Browser closed unexpectedly:\n')
  93. pyppeteer.errors.BrowserError: Browser closed unexpectedly:
  94.  
  95.  
  96. During handling of the above exception, another exception occurred:
  97.  
  98. Traceback (most recent call last):
  99. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/app.py", line 1154, in invoke_application_command
  100. await context.invoke()
  101. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 292, in invoke
  102. await self.command.invoke(self)
  103. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 217, in invoke
  104. await self._invoke_subcommand(context)
  105. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 81, in _invoke_subcommand
  106. await self._subcommands[cmd_option.name].invoke(context)
  107. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 544, in invoke
  108. await self(context, **kwargs)
  109. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 459, in __call__
  110. return await self.callback(context, **kwargs)
  111. File "/home/container/modules/subscription.py", line 44, in subadd
  112. return await err(ctx, "Incorrect url!", "The url you provided isnt correct!")
  113. File "/home/container/utils/responses.py", line 25, in err
  114. await ctx.respond(embed=embe, reply=True, **kwargs)
  115. File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 525, in respond
  116. await self._interaction.create_initial_response(**kwargs)
  117. File "/home/container/.local/lib/python3.10/site-packages/hikari/interactions/base_interactions.py", line 359, in create_initial_response
  118. await self.app.rest.create_interaction_response(
  119. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 3455, in create_interaction_response
  120. await self._request(route, json=body, no_auth=True)
  121. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 817, in _request
  122. await self._handle_error_response(response)
  123. File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 839, in _handle_error_response
  124. raise await net.generate_error_response(response)
  125. hikari.errors.NotFoundError: Not Found 404: (10062) 'Unknown interaction' for https://discord.com/api/v8/interactions/1022279722274660502/aW50ZXJhY3Rpb246MTAyMjI3OTcyMjI3NDY2MDUwMjpoVEpVMXBtRXc2bjhGTlM2UlVCc0dMMko2aXN2dldoSEx1ZENZOW1NaVdFRUU3aFlJdHJHMGlmSU95bzNLemI0R3AxQ1lPbm1hcGZyb1haTzl1WVZ2YUNkN3JUa1BGcVFuTG5ZcDVmbTlZR0lQeFJZcXlLb3NMbFNqejJOclhLeQ/callback
  126.  
  127. The above exception was the direct cause of the following exception:
  128.  
  129. Traceback (most recent call last):
  130. File "/home/container/modules/handler.py", line 19, in on_error
  131. raise event.exception
  132. lightbulb.errors.CommandInvocationError: An error occurred during command 'subcription' invocation
Advertisement
Add Comment
Please, Sign In to add comment