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

Icon not recognized on Arch Linux #7

Open
filmmakerto opened this issue Apr 19, 2020 · 0 comments
Open

Icon not recognized on Arch Linux #7

filmmakerto opened this issue Apr 19, 2020 · 0 comments

Comments

@filmmakerto
Copy link

Hi Greg,

thanks a lot for providing this tool. I successfully got it to run under Arch Linux, but I had to make some modifications:

First of all, there is an additional dependency that you don't mention in your readme, and that's the package tk, which doesn't automatically come with Python in Arch since it's only marked as an optional dependency of python.
Not your fault of course, just thought this might be helpful to know for other Linux users.

Secondly, there is some issue with the icons - when attempting to run hdr_brackets.py, I get the following error:

  File "hdr_brackets.py", line 354, in <module>
    main()    
  File "hdr_brackets.py", line 348, in main
    root.iconbitmap(str(SCRIPT_DIR / "icons/icon.ico"))
  File "/usr/lib/python3.8/tkinter/__init__.py", line 2071, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "/home/to/bin/HDR-Merge/icons/icon.ico" not defined

First I thought this was because tkinter only supports .xbm icons in Linux, so I converted the icon to xbm and changed line 348 in hdr_brackets.py to:
root.iconbitmap(str(SCRIPT_DIR / "icons/icon.xbm"))

But the result was the same. I can only run the script if I comment out line 348.

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