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)

Pages: 1 2 3


RE: Gimp 3.x scanner xsane plugin is now available! - rich2005 - 03-17-2026

I see the problem but I do not have a fix.  Not many EndevourOS (or Arch) users on this forum but maybe someone will respond.

I see from your specs that the display is Wayland.   That might be the problem although the plugin was updated for that
see: https://yingtongli.me/git/gimp-xsanecli/commit/ed3ec287c2858af7302069a7e545f289755e7b95  Check that you are using the latest plugin.
Is XWayland also installed ?

Otherwise, the usual checks.

In a terminal start xsane - does it work ?
This is my usual wireless printer/scanner rather than that other USB scanner, which is easier to set up. The wireless scanner opens up xsane as (warnings but it works)

[attachment=14321]

Start Gimp in a terminal  gimp --verbose and when open File -> Create -> Xsane via CLI   Look for any error messages in the terminal.

You might be better off asking in the EndevourOS forum.


RE: Gimp 3.x scanner xsane plugin is now available! - beiruty - 03-17-2026

`
(xsanecli.py:91566): LibGimp-WARNING **: 16:00:45.346: _gimp_procedure_run_array: no return values, shouldn't happen
/home/********/.config/GIMP/3.2/plug-ins/xsanecli/xsanecli.py:115: Warning: g_error_new: assertion 'domain != 0' failed
Gimp.main(XSaneCLI.__gtype__, sys.argv)


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

Still no fix for you but I have seen that sort of error message before. It might / ( might not ) be the XSANE version.

/home/rich/.config/GIMP/3.2/plug-ins/xsanecli/xsanecli.py-x:104: Warning: g_error_new: assertion 'domain != 0' failed
Gimp.main(XSaneCLI.__gtype__, sys.argv)

That comes from my old laptop, kubuntu 24.04 and at the time of installation XSANE just did not work at all. Not stand-alone, not with Gimp. I use a patched, compiled version which at least runs stand-alone, so I put up with scan-to-file, then open file in Gimp.

I know zero about Arch based distros but maybe ask if there are other versions of XSANE.