Open UHDPass opened 2 days ago
Already fixed - https://github.com/hacksider/Deep-Live-Cam/issues/597 .
Already fixed - #597 .
Highly doubt it. Since I've cloned the repo today and the issue is still there.
How to reproduce it?
How to reproduce it?
Using 3 displays: Display 1: 3840x2160 (150% scaling) Display 2 and 3: 1080x1920 (100% scaling)
python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 Exception in Tkinter callback Traceback (most recent call last): File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 1921, in call__ return self.func(args) File "C:\Users***\AppData\Local\Programs\Python\Python310\lib\tkinter__init__.py", line 839, in callit func(args) File "d:*\Deep-Live-Cam\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling window.block_update_dimensions_event() File "C:\Users****\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 2383, in getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'
Try upgrading customtkinter - pip install --upgrade customtkinter
Try upgrading customtkinter -
pip install --upgrade customtkinter
Try upgrading customtkinter -
pip install --upgrade customtkinter
Requirement already satisfied: customtkinter in d:\deep-live-cam\venv\lib\site-packages (5.2.2) Requirement already satisfied: darkdetect in d:\deep_live_cam\deep-live-cam\venv\lib\site-packages (from customtkinter) (0.8.0) Requirement already satisfied: packaging in d:*\deep-live-cam\venv\lib\site-packages (from customtkinter) (24.1)
Issue persists.
UI is shown after the error, but looks like this:
python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 Exception in Tkinter callback Traceback (most recent call last): File "C:\Users*_\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 1921, in call return self.func(args) File "C:\Users**\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 839, in callit func(args) File "d:__\Deep-Live-Cam\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling window.block_update_dimensions_event() File "C:\Users_\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 2383, in getattr return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'
Try upgrading customtkinter -
pip install --upgrade customtkinter
Try upgrading customtkinter -
pip install --upgrade customtkinter
Requirement already satisfied: customtkinter in d:\deep-live-cam\venv\lib\site-packages (5.2.2) Requirement already satisfied: darkdetect in d:\deep_live_cam\deep-live-cam\venv\lib\site-packages (from customtkinter) (0.8.0) Requirement already satisfied: packaging in d:*\deep-live-cam\venv\lib\site-packages (from customtkinter) (24.1)
Issue persists.
Both of these are different envs
python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 Exception in Tkinter callback Traceback (most recent call last): File "C:\Users*_\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 1921, in call return self.func(args) File "C:\Users**\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 839, in callit func(_args) File "d:___\Deep-Live-Cam\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling window.block_update_dimensions_event() File "C:\Users_\AppData\Local\Programs\Python\Python310\lib\tkinterinit.py", line 2383, in getattr return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'
Try upgrading customtkinter -
pip install --upgrade customtkinter
Try upgrading customtkinter -
pip install --upgrade customtkinter
Requirement already satisfied: customtkinter in d:\deep-live-cam\venv\lib\site-packages (5.2.2) Requirement already satisfied: darkdetect in d:\deep_live_cam\deep-live-cam\venv\lib\site-packages (from customtkinter) (0.8.0) Requirement already satisfied: packaging in d:*\deep-live-cam\venv\lib\site-packages (from customtkinter) (24.1) Issue persists.
Both of these are different envs
same venv just edited the path not to display full path Old version 1.3.x was working OK, did a pull error occured. Deleted everything re-cloned the repo same issue.
Because my editing of the path caused some confusion, I've did a new clone to a different folder. Results are as followed:
(venv) d:\test\Deep-Live-Cam>pip install --upgrade customtkinter Requirement already satisfied: customtkinter in d:\test\deep-live-cam\venv\lib\site-packages (5.2.2) Requirement already satisfied: darkdetect in d:\test\deep-live-cam\venv\lib\site-packages (from customtkinter) (0.8.0) Requirement already satisfied: packaging in d:\test\deep-live-cam\venv\lib\site-packages (from customtkinter) (24.1)
[notice] A new release of pip available: 22.2.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip
(venv) d:\test\Deep-Live-Cam>run-cuda.bat
(venv) d:\test\Deep-Live-Cam>python run.py --execution-provider cuda --execution-threads 60 --max-memory 60 Downloading: 56.0kB [00:00, 160kB/s] Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 1921, in call return self.func(*args) File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\tkinter\init.py", line 839, in callit func(*args) File "d:\test\Deep-Live-Cam\venv\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling window.block_update_dimensions_event() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\tkinter\init.py", line 2383, in getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'
Exception in Tkinter callback Traceback (most recent call last): \lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling \Python\Python310\lib\tkinter__init.py", line 2383, in getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'