You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot is online
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 179, in wrapped
ret = await coro(args, **kwargs)
File "C:\Users\nitin\OneDrive\New folder\bot\EinsteinBot\cogs\main.py", line 35, in search
answerRaw = await cheinsteinpy.answer(url, self.cookie, self.userAgent)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\cheinsteinpy\api.py", line 47, in answer
htmlRaw = requestPage.requestChapter(url, cookieStr, userAgent, htmlData)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\cheinsteinpy\requestPage.py", line 42, in requestChapter
chapter_id = str(re.search(r'?id=(\d+).?isbn', html).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 352, in _run_event
await coro(*args, **kwargs)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 375, in on_message
await self.process_commands(message)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 372, in process_commands
await self.invoke(ctx)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 339, in invoke
await ctx.command.dispatch_error(ctx, exc)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 537, in dispatch_error
await injected(cog, ctx, error)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 165, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\nitin\OneDrive\New folder\bot\EinsteinBot\cogs\main.py", line 122, in searchError
raise error
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 335, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 916, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 188, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered:
Bot is online
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 179, in wrapped
ret = await coro(args, **kwargs)
File "C:\Users\nitin\OneDrive\New folder\bot\EinsteinBot\cogs\main.py", line 35, in search
answerRaw = await cheinsteinpy.answer(url, self.cookie, self.userAgent)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\cheinsteinpy\api.py", line 47, in answer
htmlRaw = requestPage.requestChapter(url, cookieStr, userAgent, htmlData)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\cheinsteinpy\requestPage.py", line 42, in requestChapter
chapter_id = str(re.search(r'?id=(\d+).?isbn', html).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\client.py", line 352, in _run_event
await coro(*args, **kwargs)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 375, in on_message
await self.process_commands(message)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 372, in process_commands
await self.invoke(ctx)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 339, in invoke
await ctx.command.dispatch_error(ctx, exc)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 537, in dispatch_error
await injected(cog, ctx, error)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 165, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\nitin\OneDrive\New folder\bot\EinsteinBot\cogs\main.py", line 122, in searchError
raise error
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\bot.py", line 335, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 916, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\nitin\AppData\Roaming\Python\Python38\site-packages\discord\ext\commands\core.py", line 188, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered: