Aeonss / BubbleBlaster

Bubble Blaster removes text from speech bubbles in mangas/manhwas, made for Scanlations groups.
MIT License
94 stars 11 forks source link

_tkinter.TclError: unknown color name "transparent" #4

Closed Niptlox closed 1 year ago

Niptlox commented 1 year ago

Traceback (most recent call last): File "D:\PythonProjects\MangoEditer\BubbleBlaster\bubbleblaster.py", line 265, in app = App() File "D:\PythonProjects\MangoEditer\BubbleBlaster\bubbleblaster.py", line 39, in init self.inputFrame = ctk.CTkFrame(self, width=500, fg_color="transparent") File "D:\PythonProjects\MangoEditer\venv\lib\site-packages\customtkinter\widgets\ctk_frame.py", line 52, in init self.draw() File "D:\PythonProjects\MangoEditer\venv\lib\site-packages\customtkinter\widgets\ctk_frame.py", line 92, in draw self.canvas.itemconfig("inner_parts", File "D:\PythonProjects\MangoEditer\venv\lib\site-packages\customtkinter\widgets\ctk_canvas.py", line 94, in itemconfig super().itemconfigure(configure_id, *args, **kwargs_except_outline) File "C:\Program Files\Python38\lib\tkinter__init__.py", line 2898, in itemconfigure return self._configure(('itemconfigure', tagOrId), cnf, kw) File "C:\Program Files\Python38\lib\tkinter__init__.py", line 1627, in _configure self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) _tkinter.TclError: unknown color name "transparent"

Aeonss commented 1 year ago

Yeah you'll have to do

pip uninstall customtkinter pip install customtkinter

Because of an outdated customtkinter verison, thanks for the pull request