Nerogar / OneTrainer

OneTrainer is a one-stop solution for all your stable diffusion training needs.
GNU Affero General Public License v3.0
1.67k stars 137 forks source link

UI gets stuck in a transparent mode #90

Open bash-j opened 9 months ago

bash-j commented 9 months ago

Hello, using OneTrainer on Windows 11. I remote into my workstation from a laptop.

I was running a fine tune job overnight, and in the morning the UI was in this transparent mode. I can still interact with the app, but it's hard to see the interface like this. I've seen this before a few times and just assumed the app had frozen, but this morning I noticed it's still working fine, just transparent.

image

Nerogar commented 8 months ago

Please update and check if this still happens.

bash-j commented 8 months ago

Yes the problem is fixed now. Thank you!

KyuubiFox commented 2 months ago

apparently this is still an issue it just happened to me

vgaggia commented 2 months ago

Please update and check if this still happens.

Hey @Nerogar, i saw this printout when it happened to me, it seems to be only on remote desktop sessions where it does this too, i'm on the latest main branch currently, it seems to happen when minimizing a remote desktop session or closing and re-opening it (the rdc i mean), but not always?

Traceback (most recent call last): | 17322/43929 [10:08:52<15:06:32, 2.04s/it, loss=0.0292, smooth loss=0.0543] File "C:\Users\REDACTED\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 1921, in call return self.func(args) File "C:\Users\REDACTED\AppData\Local\Programs\Python\Python310\lib\tkinter__init__.py", line 839, in callit func(args) File "C:\Users\REDACTED\Desktop\OneTrainer\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 187, in check_dpi_scaling cls.update_scaling_callbacks_for_window(window) File "C:\Users\REDACTED\Desktop\OneTrainer\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 64, in update_scaling_callbacks_for_window set_scaling_callback(cls.window_dpi_scaling_dict[window] * cls.widget_scaling, File "C:\Users\REDACTED\Desktop\OneTrainer\venv\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 193, in _set_scaling self._configure_menu_for_platforms() File "C:\Users\REDACTED\Desktop\OneTrainer\venv\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 66, in _configure_menu_for_platforms super().configure(tearoff=False, File "C:\Users\REDACTED\AppData\Local\Programs\Python\Python310\lib\tkinter__init__.py", line 1675, in configure return self._configure('configure', cnf, kw) File "C:\Users\REDACTED\AppData\Local\Programs\Python\Python310\lib\tkinter\init__.py", line 1665, in _configure self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) _tkinter.TclError: invalid command name ".!ctkframe2.!ctktabview.!ctkframe5.!ctkframe.!canvas.!ctkscrollableframe.!ctkf