Gimp-Forum.net
Gimp 3.x scanner xsane plugin is now available! - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Gimp 2.99 & Gimp 3.0 (https://www.gimp-forum.net/Forum-Gimp-2-99-Gimp-3-0)
+--- Thread: Gimp 3.x scanner xsane plugin is now available! (/Thread-Gimp-3-x-scanner-xsane-plugin-is-now-available)



Gimp 3.x scanner xsane plugin is now available! - snovotill - 01-12-2025

I am now able to use my scanner in Gimp 3 thanks to the developer who published it at https://yingtongli.me/git/gimp-xsanecli
It works in Wayland as well as X.


RE: Gimp 3.x scanner xsane plugin is now available! - rich2005 - 01-12-2025

Using kubuntu 24.04 / Gimp 3.0 RC2 appimage / Brother J825 printer/scanner (wireless connection)

..and working here, although using a patched xsane version (1.0) since the default 'buntu version (0.999) is broken. (as a Gimp plugin)


RE: Gimp 3.x scanner xsane plugin is now available! - Xxxx - 01-23-2025

Works with xsane 0.999-7 on Manjaro (not tried with Wayland). Thanks !


RE: Gimp 3.x scanner xsane plugin is now available! - henry88g - 03-18-2025

I have had no success with this on the just-released GIMP-3.0.0-x86_64.AppImage.  xsane is 0.999-11ubuntu1
My system xsane works fine from the command line.


Any ideas?  Here's what my terminal says when I use the plugin.


/lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_7_4' not found (required by /tmp/.mount_GIMP-3dgBdDH/usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so)
Failed to load module: /tmp/.mount_GIMP-3dgBdDH/usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so

(xsane:15874): GdkPixbuf-WARNING **: 09:42:40.785: Error loading XPM image loader: Unable to load image-loading module: libpixbufloader-xpm.so: libpixbufloader-xpm.so: cannot open shared object file: No such file or directory

(xsane:15874): GdkPixbuf-WARNING **: 09:42:40.786: Error loading XPM image loader: Unable to load image-loading module: libpixbufloader-xpm.so: libpixbufloader-xpm.so: cannot open shared object file: No such file or directory

(xsane:15874): Gdk-CRITICAL **: 09:42:40.786: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(xsane:15874): Gdk-CRITICAL **: 09:42:40.786: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Traceback (most recent call last):
  File "/home/henry/.config/GIMP/3.0/plug-ins/xsanecli/xsanecli.py", line 81, in xsanecli_run
    return Gimp.ValueArray.new_from_values([GObject.Value(Gimp.PDBStatusType, Gimp.PDBStatusType.SUCCESS), GObject.Value(Gimp.Image.__gtype__, image)])
                                                                                                                                               ^^^^^
UnboundLocalError: cannot access local variable 'image' where it is not associated with a value

(xsanecli.py:15868): LibGimp-WARNING **: 09:42:41.875: _gimp_procedure_run_array: no return values, shouldn't happen
/home/henry/.config/GIMP/3.0/plug-ins/xsanecli/xsanecli.py:108: Warning: g_error_new: assertion 'domain != 0' failed
  Gimp.main(XSaneCLI.__gtype__, sys.argv)