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

Checkbutton silently quits application (no exception log) #568

Open
electrovoyage opened this issue Apr 27, 2024 · 6 comments
Open

Checkbutton silently quits application (no exception log) #568

electrovoyage opened this issue Apr 27, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@electrovoyage
Copy link

Desktop (please complete the following information):

Ttkbootstrap version 1.10.1
OS: Windows 10

Describe the bug

Creating a Checkbutton and packing it causes a no-exception crash (I suppose something somewhere is calling quit() or sys.exit() for some reason). This is really annoying because checkbuttons are a very useful widget.

To Reproduce

  1. Create a window
  2. Create a checkbutton
  3. Call .pack on it
  4. Crash, no exception printed

Expected behavior

The Checkbutton should function as intended (i. e. not crash)

Screenshots

image

Additional context

It seemed to work fine before I pip installed an update, but I don't remember what the old version was so I can't revert it

@electrovoyage electrovoyage added the bug Something isn't working label Apr 27, 2024
@electrovoyage
Copy link
Author

Solutions i tried:

  • Removing parameters from checkbutton definition
  • Reinstalling ttkbootstrap
  • Commenting out custom themes

@electrovoyage
Copy link
Author

It also appears it's the actual Checkbutton that's causing the crash, commenting out .pack() did not help.

@DavidWild02
Copy link

I have the same issue. Under linux with python v3.10 it works, but on windows with python v3.12 it crashes. So either the version or the operating system is causing the issue (Maybe also the combination).
Were you able to solve the bug?

@electrovoyage
Copy link
Author

It seems like either a Python update or a ttkbootstrap update fixed this. Creating a checkbutton, launching ttkbootstrap and ttkcreator all work now.

@TotallyNotSethP
Copy link

I'm still having this issue on Windows 11 with Python 3.12.4 (the latest) and ttkbootstrap 1.10.1 (also latest)

@phamelin
Copy link

Same thing here on Windows 10 with Python 3.12.4 and ttkbootstrap 1.10.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants