What is preventing this from running on Linux?
I've tried this on ubuntu:
sudo apt install tkdnd
pip install imageio tkinterdnd2
I changed import TkinterDnD2 as tkDnD to import tkinterdnd2 as tkDnD (not sure why the case is different)
I had to comment out self.iconbitmap(resource_directory(ICON_FILE)) (not sure why but it gave the error
File "./imquick.py", line 861, in <module>
app = ImQuick(root, file_in)
File "./imquick.py", line 56, in __init__
self.iconbitmap(resource_directory(ICON_FILE))
File "/usr/lib/python3.8/tkinter/__init__.py", line 2080, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "resources/ImQuick.ico" not defined
even though that file definitely exists).
After that it seems to work ok.
What is preventing this from running on Linux?
I've tried this on ubuntu:
I changed
import TkinterDnD2 as tkDnDtoimport tkinterdnd2 as tkDnD(not sure why the case is different)I had to comment out
self.iconbitmap(resource_directory(ICON_FILE))(not sure why but it gave the erroreven though that file definitely exists).
After that it seems to work ok.