Simple-scan is not working anymore

hello
after an update this morning my scan is no more working : scan is not recognized , menu non active …
nothing happens
scan : printer EPSON
EOS xfce - simple-scan 46.0-1
I removed the apps and reinstall it , but no impact even after system restart
any idea ?

this scan works on my other linux-mx23- but after a reinstall of the driver ( automatic install , driver proposed by the OS ) ; how to reinstall the driver on EOS?

Hello @endko ,
Edit: Short version:

firewall-cmd --zone=trusted --add-source=<IP of your scanner> --permanent

Your root password will be asked twice.

firewall-cmd --reload

OR in Edit Firewall Settings / Options / Reload Firewall Settings and it’s done hopefully.

Long and less precise version:
The firewall must be properly set. Someone said that the default zone should be set to work but according to my tests it wasn’t enough.
If you know the IP address of your scanner skip this section

sudo killall firewalld
SAVE_DEBUG_DLL=255 simple-scan -d

and you will see something similar in the Konsole

sane_get_devices: found 2 devices
[+10.26s] DEBUG: scanner.vala:348: sane_get_devices () → SANE_STATUS_GOOD
[+10.26s] DEBUG: scanner.vala:374: Device: name=“pixma:MX340_192.168.0.29” vendor=“CANON” model=“Canon PIXMA MX340” type=“multi-function peripheral”

  1. Relogin
    firewall-cmd --zone=trusted --add-source=192.168.0.29 --permanent
    and Edit/set firewall default zone to work or home

What is the output if you run it in the terminal?

And what happen when you run it with sudo

here result in the terminal

Blockquote

[ecr@ecr-inspiron3910 ~]$ sudo killall firewalld
[sudo] Mot de passe de ecr : 
[ecr@ecr-inspiron3910 ~]$ SAVE_DEBUG_DLL=255 simple-scan -d
[+0,00s] DEBUG: simple-scan.vala:2016: Starting simple-scan 46.0, PID=6156
[+0,09s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0,09s] CRITICAL: g_application_set_application_id: assertion 'application_id == NULL || g_application_id_is_valid (application_id)' failed
[+0,09s] CRITICAL: g_variant_new_string: assertion 'string != NULL' failed
[+0,11s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0,12s] DEBUG: Portal doesn't provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.portal.Settings » n’existe pas pour l’objet à l’emplacement /org/freedesktop/portal/desktop
[+0,12s] DEBUG: Portal doesn't provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.portal.Settings » n’existe pas pour l’objet à l’emplacement /org/freedesktop/portal/desktop
[+0,12s] DEBUG: Portal doesn't provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.portal.Settings » n’existe pas pour l’objet à l’emplacement /org/freedesktop/portal/desktop
[+0,12s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0,16s] DEBUG: app-window.vala:1436: Loading state from /home/ecr/.config/simple-scan/state
[+0,16s] DEBUG: app-window.vala:1415: Restoring window to 699x480 pixels
[+0,18s] DEBUG: scanner.vala:1619: sane_init () -> SANE_STATUS_GOOD
[+0,18s] DEBUG: scanner.vala:1625: SANE version 1.3.0
[+0,18s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices
[+0,18s] DEBUG: scanner.vala:863: Processing request
[+0,28s] DEBUG: app-window.vala:1512: Saving state to /home/ecr/.config/simple-scan/state
[+4,96s] DEBUG: app-window.vala:1512: Saving state to /home/ecr/.config/simple-scan/state
[+5,57s] DEBUG: app-window.vala:1512: Saving state to /home/ecr/.config/simple-scan/state
[+5,57s] DEBUG: autosave-manager.vala:209: Deleting autosave records
[+5,57s] DEBUG: scanner.vala:1807: Stopping scan thread
[+6,53s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD
[+6,53s] DEBUG: scanner.vala:374: Device: name="epson2:libusb:001:007" vendor="Epson" model="CX6000" type="flatbed scanner"
[+6,53s] DEBUG: scanner.vala:863: Processing request
[+6,54s] DEBUG: scanner.vala:1818: sane_exit ()
[+6,54s] DEBUG: app-window.vala:1512: Saving state to /home/ecr/.config/simple-scan/state
[+6,55s] CRITICAL: app_window_set_scan_devices: assertion 'self != NULL' failed
[ecr@ecr-inspiron3910 ~]$ 

simple-scan open but as earlier without menus active

@endko
What is the type of your Epson device?
I thought your scanner is connected to your wlan (encryption key was entered into scanner).
I tried to install XFCE to reproduce the error but succeeded only to do it alongside Plasma.
These are the ‘logs’
It is working in XFCE4 via USB and by wifi as well. I recommend updating the system with yay.
lsusb

Bus 001 Device 007: ID 04a9:1741 Canon, Inc. PIXMA MX340

SAVE_DEBUG_DLL=255 simple-scan -d

[+0,00s] DEBUG: simple-scan.vala:2016: Starting simple-scan 46.0, PID=4656
[+0,08s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0,08s] CRITICAL: g_application_set_application_id: assertion ‘application_id == NULL || g_application_id_is_valid (application_id)’ failed
[+0,08s] CRITICAL: g_variant_new_string: assertion ‘string != NULL’ failed

(simple-scan:4656): Gtk-WARNING **: 22:17:05.963: Unknown key gtk-modules in /home/a/.config/gtk-4.0/settings.ini
[+0,11s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0,13s] DEBUG: Portal doesn’t provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[+0,13s] DEBUG: Portal doesn’t provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[+0,13s] DEBUG: Portal doesn’t provide settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[+0,13s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0,13s] WARNING: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[+0,22s] DEBUG: app-window.vala:1436: Loading state from /home/a/.config/simple-scan/state
[+0,22s] DEBUG: app-window.vala:1415: Restoring window to 600x480 pixels
[+0,27s] DEBUG: scanner.vala:1619: sane_init () → SANE_STATUS_GOOD
[+0,27s] DEBUG: scanner.vala:1625: SANE version 1.3.0
[+0,27s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices
[+0,27s] DEBUG: scanner.vala:863: Processing request
[+0,38s] DEBUG: app-window.vala:1512: Saving state to /home/a/.config/simple-scan/state
[+10,48s] DEBUG: scanner.vala:348: sane_get_devices () → SANE_STATUS_GOOD
[+10,48s] DEBUG: scanner.vala:374: Device: name=“pixma:MX340_192.168.0.29” vendor=“CANON” model=“Canon PIXMA MX340” type=“multi-function peripheral”
[+10,48s] DEBUG: scanner.vala:374: Device: name=“pixma:04A91741_318783” vendor=“CANON” model=“Canon PIXMA MX340” type=“multi-function peripheral”
[+10,58s] DEBUG: app-window.vala:1512: Saving state to /home/a/.config/simple-scan/state

my scanner is a printer epson stylus color dx 6600 (younger than me ! )

So you are using USB cable and tried

yay -Rns simple-scan
yay -S simple-scan

if it still rejects working

yay -S iscan
iscan

is there any output of it?
Directly this cannot be used.

Plan B connect to wifi network killall firewalld and test again.
BTW your debug long lines were truncated

I already deinstal and reinstall simple-scan with pacman - not yah -without any impact ; also this works works perfectly with another system ( Mx LInux) then no matter with cables ; could be a matter a driver not included in last EOS update ? also I installed Xsane , and it works but the interface is not so good !

I used EndeavourOS_Galileo-Neo-2024.01.25.iso to install XFCE4 again
yay simple-scan
it works via USB
newly_installed_XFCE

1 Like

I reinstalled previous version simple-scan-44 instead of last and the scanner works as usual
I recovered old package in /var/cache/pacman/pkg and installed with pacman -U
Last packages in repos should be tested prior to remove old working well…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.