Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal exception when maximizing or minimizing sidebar #666

Open
evannjohnson opened this issue Nov 9, 2024 · 0 comments
Open

Internal exception when maximizing or minimizing sidebar #666

evannjohnson opened this issue Nov 9, 2024 · 0 comments
Labels

Comments

@evannjohnson
Copy link

evannjohnson commented Nov 9, 2024

Describe the bug
When I try to maximize or minimize the sidebar, it causes a (safely caught) internal exception. This results in a pop-up, and the sidebar is not maximized or minimized.

To Reproduce
Steps to reproduce the behavior:

  1. Run pudb
  2. Focus the sidebar (by pressing V, S, or B)
  3. Maximize the sidebar by pressing =, instead of maximizing, an exception traceback will pop up
  4. Similar exception should occur when minimizing sidebar by pressing _

Expected behavior
The sidebar maximizes or minimizes, and does not cause an exception pop-up.

Screenshots
pudb-exception-maxsidebar

Additional context
Regular increasing/decreasing sidebar size with +/- is working.

Versions
This seems to be occurring for me in any version of pudb >=v2023.1, including the latest release "v2024.1.3". v2022.1.3 does not have this issue.

Using bisect, it seems the first commit that causes sidebar max/min to break for me is "a5df21ceb426cc650bb294aa5e4a8b93f287234c".

I have tested with Python 3.8.4, 3.11.2, and 3.12.4, and behavior seems the same in all of them.

I tried Urwid 2.2.0 as well, and behavior seemed the same.

I am on macOS, but I tried this in a Debian 12 VM and received the same behavior. The attached traceback below is from Debian, but it looks identical to the tracebacks generated in my testing on macOS.

traceback.txt

Wondering if anyone else is able to reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant