scarletcafe / jishaku

A debugging and testing cog for discord.py rewrite bots.
https://jishaku.readthedocs.io/en/latest/
MIT License
543 stars 183 forks source link

AttributeError: 'PaginatorInterface' object has no attribute '_View__timeout_task' #171

Closed syricium closed 2 years ago

syricium commented 2 years ago

Summary

Whenever I try to run jishaku shell I get that error, I have had this for a while now and updating discord.py and jishaku didn’t help

Reproduction steps

Run a bot with python 3.9.12, discord.py 2.0.0a4084+g1e4908b and 2.3.2a391+g046189f and try to run any code with jishaku shell

Expected results

Normally executes the code and sends the result

Actual Result

The bot DM's me

Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/jishaku/features/shell.py", line 46, in jsk_shell interface = PaginatorInterface(ctx.bot, paginator, owner=ctx.author) File "/usr/local/lib/python3.9/dist-packages/jishaku/shim/paginator_200.py", line 73, in __init__ self.timeout = kwargs.pop('timeout', 7200) File "/usr/local/lib/python3.9/dist-packages/discord/ui/view.py", line 247, in timeout if self.__timeout_task is not None: AttributeError: 'PaginatorInterface' object has no attribute '_View__timeout_task'

Checklist

System information

Discord.py version 2.0.0a4084+g1e4908b and jishaku version 2.3.2a391+g046189f

scarletcafe commented 2 years ago

This is a duplicate of #160 and it is already fixed. Update jishaku as per the repo instructions.