Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- E 2022-09-21 22:54:59,015 hikari.gateway.0: connection closed with code 1000 ()
- 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)
- Traceback (most recent call last):
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/ext/tasks/__init__.py", line 203, in _loop
- await maybe_coro
- File "/home/container/modules/subscription.py", line 166, in check_for_updates
- res, profilepic = await w.get_last_posts(i.username)
- File "/home/container/utils/twitter.py", line 16, in get_last_posts
- async with self.session.get(f"https://nitter.net/{username}") as r:
- File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in __aenter__
- self._resp = await self._coro
- File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client.py", line 560, in _request
- await resp.start(conn)
- File "/home/container/.local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 899, in start
- message, payload = await protocol.read() # type: ignore[union-attr]
- File "/home/container/.local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read
- await self._waiter
- aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
- I 2022-09-21 22:54:59,266 hikari.gateway.0: server has closed connection, will reconnect if possible [code:1000, reason:]
- E 2022-09-21 22:55:29,476 hikari.event_manager: an exception occurred handling an event (SlashCommandErrorEvent)
- Traceback (most recent call last):
- File "/home/container/modules/subscription.py", line 42, in subadd
- res, profilepic = await w.get_last_posts(username)
- File "/home/container/utils/tiktok.py", line 30, in get_last_posts
- await r.html.arender()
- File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 615, in arender
- self.browser = await self.session.browser
- File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 714, in browser
- self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 307, in launch
- return await Launcher(options, **kwargs).launch()
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 168, in launch
- self.browserWSEndpoint = get_ws_endpoint(self.url)
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
- raise BrowserError('Browser closed unexpectedly:\n')
- pyppeteer.errors.BrowserError: Browser closed unexpectedly:
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/app.py", line 1154, in invoke_application_command
- await context.invoke()
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 292, in invoke
- await self.command.invoke(self)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 217, in invoke
- await self._invoke_subcommand(context)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 81, in _invoke_subcommand
- await self._subcommands[cmd_option.name].invoke(context)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 544, in invoke
- await self(context, **kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 459, in __call__
- return await self.callback(context, **kwargs)
- File "/home/container/modules/subscription.py", line 44, in subadd
- return await err(ctx, "Incorrect url!", "The url you provided isnt correct!")
- File "/home/container/utils/responses.py", line 25, in err
- await ctx.respond(embed=embe, reply=True, **kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 525, in respond
- await self._interaction.create_initial_response(**kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/interactions/base_interactions.py", line 359, in create_initial_response
- await self.app.rest.create_interaction_response(
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 3455, in create_interaction_response
- await self._request(route, json=body, no_auth=True)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 817, in _request
- await self._handle_error_response(response)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 839, in _handle_error_response
- raise await net.generate_error_response(response)
- hikari.errors.NotFoundError: Not Found 404: (10062) 'Unknown interaction' for https://discord.com/api/v8/interactions/1022279646768803910/aW50ZXJhY3Rpb246MTAyMjI3OTY0Njc2ODgwMzkxMDpXc3Rnc3A0NlpCbXp3cVA0RkdBRkRQbFk3VHpmSUR0bk1nREpHdVM1U1haWEo0UXZ0OUhiZldjYlhKMmVvZGRaZTF2V2lNVUpSekR6eWM1Y0RYZ3czRnlvbkNWTFVkR2pZR0lDd3JueVpzaW5BRTIyWVQyUUVxTlptNXl2b2Fzbg/callback
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/home/container/modules/handler.py", line 19, in on_error
- raise event.exception
- lightbulb.errors.CommandInvocationError: An error occurred during command 'subcription' invocation
- E 2022-09-21 22:55:30,084 hikari.event_manager: an exception occurred handling an event (SlashCommandErrorEvent)
- Traceback (most recent call last):
- File "/home/container/modules/subscription.py", line 42, in subadd
- res, profilepic = await w.get_last_posts(username)
- File "/home/container/utils/tiktok.py", line 30, in get_last_posts
- await r.html.arender()
- File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 615, in arender
- self.browser = await self.session.browser
- File "/home/container/.local/lib/python3.10/site-packages/requests_html.py", line 714, in browser
- self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 307, in launch
- return await Launcher(options, **kwargs).launch()
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 168, in launch
- self.browserWSEndpoint = get_ws_endpoint(self.url)
- File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
- raise BrowserError('Browser closed unexpectedly:\n')
- pyppeteer.errors.BrowserError: Browser closed unexpectedly:
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/app.py", line 1154, in invoke_application_command
- await context.invoke()
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 292, in invoke
- await self.command.invoke(self)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 217, in invoke
- await self._invoke_subcommand(context)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/slash.py", line 81, in _invoke_subcommand
- await self._subcommands[cmd_option.name].invoke(context)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 544, in invoke
- await self(context, **kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/commands/base.py", line 459, in __call__
- return await self.callback(context, **kwargs)
- File "/home/container/modules/subscription.py", line 44, in subadd
- return await err(ctx, "Incorrect url!", "The url you provided isnt correct!")
- File "/home/container/utils/responses.py", line 25, in err
- await ctx.respond(embed=embe, reply=True, **kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/lightbulb/context/base.py", line 525, in respond
- await self._interaction.create_initial_response(**kwargs)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/interactions/base_interactions.py", line 359, in create_initial_response
- await self.app.rest.create_interaction_response(
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 3455, in create_interaction_response
- await self._request(route, json=body, no_auth=True)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 817, in _request
- await self._handle_error_response(response)
- File "/home/container/.local/lib/python3.10/site-packages/hikari/impl/rest.py", line 839, in _handle_error_response
- raise await net.generate_error_response(response)
- hikari.errors.NotFoundError: Not Found 404: (10062) 'Unknown interaction' for https://discord.com/api/v8/interactions/1022279722274660502/aW50ZXJhY3Rpb246MTAyMjI3OTcyMjI3NDY2MDUwMjpoVEpVMXBtRXc2bjhGTlM2UlVCc0dMMko2aXN2dldoSEx1ZENZOW1NaVdFRUU3aFlJdHJHMGlmSU95bzNLemI0R3AxQ1lPbm1hcGZyb1haTzl1WVZ2YUNkN3JUa1BGcVFuTG5ZcDVmbTlZR0lQeFJZcXlLb3NMbFNqejJOclhLeQ/callback
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/home/container/modules/handler.py", line 19, in on_error
- raise event.exception
- lightbulb.errors.CommandInvocationError: An error occurred during command 'subcription' invocation
Advertisement
Add Comment
Please, Sign In to add comment