giuspen / x-tile

X Tile
https://www.giuspen.net/x-tile/
Other
70 stars 13 forks source link

Unable to Determine File Type of Included SVG #28

Open novaTopFlex opened 5 months ago

novaTopFlex commented 5 months ago

My system has been unable to launch the x-tile application with the command because of the apparent inability to determine the file type of one of the built-in SVG image files. I have, however, received success with the same via the file command with the respective image file. For outputs:
Output from x-tile:

WM = Openbox
libc.prctl not available, the process name will be python and not x-tile
Traceback (most recent call last):
  File "/usr/bin/x-tile", line 72, in <module>
    x = core.XTile(core.InfoModel())
  File "/usr/share/x-tile/modules/core.py", line 308, in __init__
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(filepath)
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/usr/share/x-tile/glade/tile-vertically.svg” (3)

Output from file with the appropriate file:

/usr/share/x-tile/glade/tile-vertically.svg: SVG Scalable Vector Graphics image