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

Exception in Tkinter callback Traceback (most recent call last): #690

Closed
cts85 opened this issue Oct 3, 2024 · 2 comments
Closed

Exception in Tkinter callback Traceback (most recent call last): #690

cts85 opened this issue Oct 3, 2024 · 2 comments

Comments

@cts85
Copy link

cts85 commented Oct 3, 2024

After purchasing the Deep-Live-Cam Zero-Installation kit and installing it, I am facing the following error.

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter_init_.py", line 839, in callit
func(*args)
File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling
window.block_update_dimensions_event()
File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter_init_.py", line 2383, in getattr
return getattr(self.tk, attr)
AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'

The program did start after this error, but almost invisible in my screen. Please see the attached screenshot.
I did manage to make it work but the program is absurdly slow, like I can't even run it and the face swapped image result is too large and zoomed in, and I can't reduce it.
I had the 1.3 version of the software before and it ran smoothly, never had any problems with it. Can someone please help?

Below are my computer specS for reference:
Processor: 13th Gen Intel Core i9
Graphics: NVIDIA GeForce RTX 4090 16GB VRAM
RAM: 32GB

error

@KRSHH KRSHH closed this as completed Oct 3, 2024
@KRSHH
Copy link
Collaborator

KRSHH commented Oct 3, 2024

#656

@KRSHH
Copy link
Collaborator

KRSHH commented Oct 3, 2024

Solution

Open terminal in Deep-Live-Cam folder, enter these two commands -

.\venv\Scripts\Activate
python -m pip install --force-reinstall https://github.com/KRSHH/FileStorage/raw/refs/heads/main/customtkinter-5.2.2-py3-none-any.whl

@KRSHH KRSHH reopened this Oct 3, 2024
@KRSHH KRSHH closed this as completed Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants