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

_tkinter.TclError: bitmap "tmp/asset/app.ico" not defined #3

Open
Duality4Y opened this issue Jan 7, 2024 · 0 comments
Open

_tkinter.TclError: bitmap "tmp/asset/app.ico" not defined #3

Duality4Y opened this issue Jan 7, 2024 · 0 comments

Comments

@Duality4Y
Copy link

System:
$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

python:

Python 3.10.12

after installing idle3 as mentioned in this issue: #2
running the following causes a stack trace and stop the program:
$ python main.py

Traceback (most recent call last):
  File "/home/robert/Documents/Code/WaveDromGen/main.py", line 4, in <module>
    wg = WaveDromUI()
  File "/home/robert/Documents/Code/WaveDromGen/WaveDromGen/WaveDromUI.py", line 56, in __init__
    root.iconbitmap(self.asset_dir + 'app.ico')
  File "/usr/lib/python3.10/tkinter/__init__.py", line 2109, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "tmp/asset/app.ico" not defined
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

1 participant