tkColorPicker icon indicating copy to clipboard operation
tkColorPicker copied to clipboard

macOS Sonoma app quits immediately

Open tmstiller opened this issue 1 year ago • 1 comments

Mac OSX (14.6.1 (23G93)) app was built with pyinstaller (6.10.0) using tkcolorpicker quits immediately but launches successfully when built using tkinter.colorchooser. Analysis of launch failure yields: Traceback (most recent call last): File "color_swatch.py", line 5, in File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 378, in exec_module File "tkcolorpicker/init.py", line 21, in

File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 378, in exec_module File "tkcolorpicker/colorpicker.py", line 43, in TypeError: 'NoneType' object is not subscriptable

tmstiller avatar Sep 12 '24 17:09 tmstiller

Made local copy of the tkcolorpicker code and changed the tkcolorpicker module, line 42, exception from "ValueError" to "TypeError" and recompiled.

Issue resolved

tmstiller avatar Sep 13 '24 13:09 tmstiller