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

Couldn’t recognize the XPM file format #204

Open
mhagnumdw opened this issue Nov 18, 2024 · 0 comments
Open

Couldn’t recognize the XPM file format #204

mhagnumdw opened this issue Nov 18, 2024 · 0 comments

Comments

@mhagnumdw
Copy link

With Fedora 41 and MenuLibre 2.3.2 and image file in xpm format, it throws the error:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/menulibre/IconEntry.py", line 81, in _on_browse_files_clicked
    self._set_image(dialog.get_filename())
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/menulibre/IconEntry.py", line 109, in _set_image
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(icon_name)
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/home/mhagnumdw/eclipse/icon.xpm” (3)
menulibre --verbose

On Fedora 40 it is working ok.

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