israel-dryer / ttkbootstrap

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
MIT License
1.78k stars 358 forks source link

Ttkbootstrap and Ttkcreator crash with no error message when launched from command line #553

Open TPEcool opened 3 months ago

TPEcool commented 3 months ago

Desktop (please complete the following information):

ttkbootstrap 1.10.1 OS: Windows 10

Describe the bug

When py -m ttkbootstrap or py -m ttkcreator is run at the command line, it does something for a couple of seconds and then crashes silently (no error message). Weirdly, ttkbootstrap still works when imported as a module.

To Reproduce

  1. Open command prompt
  2. Enter py -m ttkcreator or py -m ttkbootstrap
  3. Press Enter
  4. Crash without an error message

Expected behavior

Ttkcreator and ttkbootstrap should run

Screenshots

image

Additional context

No response

TPEcool commented 3 months ago

Already tried fix from #497, didn't help

TPEcool commented 3 months ago

image Ttkcreator appears to crash somewhere around here

TPEcool commented 3 months ago

It actually seems like it crashes even earlier now

TPEcool commented 3 months ago

Nevermind, still seems to crash somewhere inside DemoWidgets

TPEcool commented 2 months ago

This appears to be caused by https://github.com/israel-dryer/ttkbootstrap/issues/568