evanchodora / stl-viewer

Python-based STL viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 3.6.9 and Idle error

DoomsdayRobots opened this issue · comments

Hey their I'm trying to run your code using python 3 version 3.6.9 in Linux mint 19.2 .
I am using the corresponding version of Idle to try to run it.

I get a weird error regarding the "icon.ico"

pygame 2.1.2 (SDL 2.0.16, Python 3.6.9)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/stl-viewer-master/GUI.py", line 359, in
window.wm_iconbitmap(tempfile) # Set window icon to the icon image
File "/usr/lib/python3.6/tkinter/init.py", line 1871, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "icon.ico" not defined