scarletcafe / jishaku

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

PaginatorInterface issue #160

Closed Motzumoto closed 2 years ago

Motzumoto commented 2 years ago

Summary

Anything that requires a paginator does not work

Reproduction steps

use any command that requires a paginator

Expected results

I expect the command to work and the paginator to function

Actual results

I get an error traceback

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

Checklist

System information

Name: jishaku Version: 2.3.2a391+g046189f.master Summary: A discord.py extension including useful tools for bot development and debugging. Home-page: https://github.com/Gorialis/jishaku Author: Devon (Gorialis) R Author-email: None License: MIT Location: /home/ubuntu/.local/lib/python3.9/site-packages Requires: braceexpand, import-expression, importlib-metadata, click Required-by:

Name: discord.py Version: 2.0.0a4007+ga0618ef7 Summary: A Python wrapper for the Discord API Home-page: https://github.com/Rapptz/discord.py Author: Rapptz Author-email: None License: MIT Location: /home/ubuntu/.local/lib/python3.9/site-packages Requires: aiohttp Required-by: wavelink, topggpy, discord-ext-menus, discord-argparse, dblpy, buttons

Calciumcarbonate321 commented 2 years ago

I have this same issue

Iinksafe commented 2 years ago

Can reproduce. image