aferrero2707 / gimp-appimage

174 stars 17 forks source link

Can't open SVG files #14

Open RustyRaptor opened 6 years ago

RustyRaptor commented 6 years ago

I honestly don't know if this is a GIMP bug or a problem with the appimage but I cannot open SVG files with the latest release. Haven't checked previous ones yet to test though. Can anyone confirm this? Could it be that the SVG library isn't packaged in the docker container?

Ubuntu 16.04 64bit GIMP Release gimp-git-2.10.1-20180504.glibc2.15-x86_64.AppImage

/home/cat/Pictures/Wallpaper/Flag_of_the_United_States.svg: unsupported file format.
sudo ./gimp-git-2.10.1-20180504.glibc2.15-x86_64.AppImage 
DIR: /tmp/.mount_xzasCO
GTK_PATH=/tmp/.mount_xzasCO/usr/lib/gtk-2.0
GTK_IM_MODULE_FILE=/tmp/.mount_xzasCO/usr/lib/gtk-2.0:/tmp/.mount_xzasCO/usr/lib/gtk-2.0
PANGO_LIBDIR=/tmp/.mount_xzasCO/usr/lib
System stdc++ library: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
System stdc++ library version: "3.4.21"
Bundled stdc++ library version: "3.4.22"
Newest stdc++ library version: "3.4.22"
Using bundled stdc++ library
GDK_PIXBUF_MODULEDIR: /tmp/.mount_xzasCO/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_xzasCO/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "*    " 100
" <!DOCTYPE svg" "*             " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

GIMP2_PLUGINDIR: /tmp/.mount_xzasCO/usr/lib/gimp/2.0
Input parameters: ""

Input File: 
Calling custom execve(/lib64/ld-linux-x86-64.so.2) function
adjusted_environment():
  filename="/lib64/ld-linux-x86-64.so.2"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7faa767b1770
execve(): arr_len(new_envp)=30
    linux-vdso.so.1 =>  (0x00007ffde6154000)
    libgimpwidgets-2.0.so.0 => ././/lib/libgimpwidgets-2.0.so.0 (0x00007f545a3cc000)
    libgtk-x11-2.0.so.0 => ././/lib/libgtk-x11-2.0.so.0 (0x00007f5459d8f000)
    libgdk-x11-2.0.so.0 => ././/lib/libgdk-x11-2.0.so.0 (0x00007f5459adc000)
    libatk-1.0.so.0 => ././/lib/libatk-1.0.so.0 (0x00007f54598ba000)
    libgimpconfig-2.0.so.0 => ././/lib/libgimpconfig-2.0.so.0 (0x00007f54596a3000)
    libgimpmath-2.0.so.0 => ././/lib/libgimpmath-2.0.so.0 (0x00007f545949c000)
    libgimpthumb-2.0.so.0 => ././/lib/libgimpthumb-2.0.so.0 (0x00007f5459292000)
    libgimpcolor-2.0.so.0 => ././/lib/libgimpcolor-2.0.so.0 (0x00007f5459077000)
    libgimpmodule-2.0.so.0 => ././/lib/libgimpmodule-2.0.so.0 (0x00007f5458e72000)
    libgimpbase-2.0.so.0 => ././/lib/libgimpbase-2.0.so.0 (0x00007f5458c40000)
    libgdk_pixbuf-2.0.so.0 => ././/lib/libgdk_pixbuf-2.0.so.0 (0x00007f5458a1d000)
    libpangocairo-1.0.so.0 => ././/lib/libpangocairo-1.0.so.0 (0x00007f5458811000)
    libpangoft2-1.0.so.0 => ././/lib/libpangoft2-1.0.so.0 (0x00007f54585fd000)
    libpango-1.0.so.0 => ././/lib/libpango-1.0.so.0 (0x00007f54583b2000)
    libfontconfig.so.1 => ././/lib/libfontconfig.so.1 (0x00007f545816e000)
    libfreetype.so.6 => ././/lib/libfreetype.so.6 (0x00007f5457ecd000)
    libharfbuzz.so.0 => ././/lib/libharfbuzz.so.0 (0x00007f5457c2b000)
    libcairo.so.2 => ././/lib/libcairo.so.2 (0x00007f5457920000)
    libgegl-0.4.so.0 => ././/lib/libgegl-0.4.so.0 (0x00007f5457672000)
    libgegl-npd-0.4.so => ././/lib/libgegl-npd-0.4.so (0x00007f545746b000)
    libgmodule-2.0.so.0 => ././/lib/libgmodule-2.0.so.0 (0x00007f5457268000)
    libjson-glib-1.0.so.0 => ././/lib/libjson-glib-1.0.so.0 (0x00007f5457042000)
    libbabl-0.1.so.0 => ././/lib/libbabl-0.1.so.0 (0x00007f5456dbe000)
    libgio-2.0.so.0 => ././/lib/libgio-2.0.so.0 (0x00007f5456a27000)
    liblcms2.so.2 => ././/lib/liblcms2.so.2 (0x00007f54567cd000)
    libgexiv2.so.2 => ././/lib/libgexiv2.so.2 (0x00007f54565ac000)
    libgobject-2.0.so.0 => ././/lib/libgobject-2.0.so.0 (0x00007f545635a000)
    libglib-2.0.so.0 => ././/lib/libglib-2.0.so.0 (0x00007f5456048000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5455e2e000)
    libmypaint-1.3.so.0 => ././/lib/libmypaint-1.3.so.0 (0x00007f5455c1c000)
    libjson-c.so.2 => ././/lib/libjson-c.so.2 (0x00007f5455a12000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5455709000)
    libjpeg.so.62 => ././/lib/libjpeg.so.62 (0x00007f54554a1000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5455284000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5454eba000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f5454b80000)
    libXfixes.so.3 => ././/lib/libXfixes.so.3 (0x00007f545497a000)
    libXrender.so.1 => ././/lib/libXrender.so.1 (0x00007f5454770000)
    libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f545456d000)
    libXi.so.6 => ././/lib/libXi.so.6 (0x00007f545435d000)
    libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f5454152000)
    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f5453f48000)
    libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f5453d45000)
    libXdamage.so.1 => ././/lib/libXdamage.so.1 (0x00007f5453b42000)
    libXext.so.6 => ././/lib/libXext.so.6 (0x00007f5453930000)
    libpng16.so.16 => ././/lib/libpng16.so.16 (0x00007f54536ff000)
    libgthread-2.0.so.0 => ././/lib/libgthread-2.0.so.0 (0x00007f54534fe000)
    libexpat.so.1 => ././/lib/libexpat.so.1 (0x00007f54532d5000)
    libpixman-1.so.0 => ././/lib/libpixman-1.so.0 (0x00007f5453031000)
    libxcb-shm.so.0 => ././/lib/libxcb-shm.so.0 (0x00007f5452e2e000)
    libxcb-render.so.0 => ././/lib/libxcb-render.so.0 (0x00007f5452c25000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f5452a03000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f54527fb000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f54525f7000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f545a670000)
    libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f54523dc000)
    libexiv2.so.26 => ././/lib/libexiv2.so.26 (0x00007f5451dec000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5451a6a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5451854000)
    libffi.so.6 => ././/lib/libffi.so.6 (0x00007f545164c000)
    libpcre.so.3 => ././/lib/libpcre.so.3 (0x00007f545140e000)
    libXau.so.6 => ././/lib/libXau.so.6 (0x00007f545120a000)
    libXdmcp.so.6 => ././/lib/libXdmcp.so.6 (0x00007f5451004000)

/gimp.bin --pdb-compat-mode=on ""
/tmp/.mount_xzasCO/usr/bin/python
Missing fast-path babl conversion detected, Implementing missing babl fast paths
accelerates GEGL, GIMP and other software using babl, warnings are printed on
first occurance of formats used where a conversion has to be synthesized
programmatically by babl based on format description

*WARNING* missing babl fast path(s): "R'G'B' double" to "CIE Lab double"
bin/gimp.bin: Gimp-Widgets-WARNING: parse_iso_codes: error parsing '/tmp/.mount_xzasCO/usr/share/xml/iso-codes/iso_639.xml': No such file or directory

Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/phf_gimp) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/phf_gimp"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-rawtherapee) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-rawtherapee"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-photoflow) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-photoflow"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-darktable) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-darktable"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/phf_gimp) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/phf_gimp"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
phf_gimp::query() called, exec_path=photoflow
phf_gimp::init(): failed to run photoflow (photoflow)
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-rawtherapee) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-rawtherapee"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-photoflow) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-photoflow"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
file-photoflow::init() called, exec_path=photoflow
file-photoflow::init(): failed to run photoflow (photoflow)
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-darktable) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/file-darktable"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/script-fu) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/script-fu"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73
Calling custom execve(/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/nufraw-gimp) function
adjusted_environment():
  filename="/tmp/.mount_xzasCO/usr/lib/gimp/2.0/plug-ins/nufraw-gimp"
  appdir="/tmp/.mount_xzasCO"
  appdir2="/tmp/.gimp-appimage"
execve(): old_execve=0x7f52df325770
execve(): arr_len(new_envp)=73

Also would like to point out that I can't even run it without running it as root. Though not a problem for me it could be a part of the issue?

Thanks in advance. Appreciate the effort into creating gimp Appimages.

aferrero2707 commented 6 years ago

I have just tried running the AppImage on a minimal Ubuntu 16.04 system, and I can open SVG files without problems.

Could you please post the full terminal output that you get when trying to open the SVG image?

Also, the fact that you need root privileges to run the AppImage is not normal. Did you set the executable flag of the AppImage with chmod u+x? What error message you get when you try to run it as a normal user?