Package Details: epsonscan2 6.7.70.0-3

Git Clone URL: https://aur.archlinux.org/epsonscan2.git (read-only, click to copy)
Package Base: epsonscan2
Description: Epson scanner management utility
Upstream URL: http://support.epson.net/linux/en/epsonscan2.php
Licenses: GPL-3.0-or-later
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 13
Popularity: 1.04
First Submitted: 2020-11-20 05:34 (UTC)
Last Updated: 2025-04-12 22:05 (UTC)

Pinned Comments

tecnotercio commented on 2022-09-05 03:32 (UTC)

If you have a problem with Epson Scan 2, check if you need to install another backend for your scanner. More information on the Arch Linux wiki:

https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Epson

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

fred118 commented on 2022-01-08 16:17 (UTC) (edited on 2022-01-08 16:17 (UTC) by fred118)

I also got it running by adding the line options=('!buildflags') to the PKGBUILD file and packaging (makepkg) and installing (sudo pacman -U epsonscan2-6.6.40.0-1-x86_64.pkg.tar.zst) the package.

Now, epsonscan2 starts without crashing.

Quick question: is scanning over the network supported? When I start the tool, I get a selection dialog, but my scanner is not detected (not shown in the drop-down list), although it is on the same network.

davepb commented on 2021-12-20 00:09 (UTC)

Thanks @severach. Rebuilding the PKGBUILD with options=('!buildflags') fixed all the C++ crashing I was experiencing in many scanner frontends, including this one.

fred118 commented on 2021-12-17 14:01 (UTC) (edited on 2021-12-17 14:02 (UTC) by fred118)

@yavko Unfortunately, that does not solve it. The service is running fine, but the apps are still crashing:

sh-5.1$ sudo systemctl status saned.socket
● saned.socket - saned incoming socket
     Loaded: loaded (/usr/lib/systemd/system/saned.socket; enabled; vendor preset: disabled)
     Active: active (listening) since Fri 2021-12-17 14:57:26 CET; 1min 33s ago
     Listen: [::]:6566 (Stream)
   Accepted: 0; Connected: 0;
      Tasks: 0 (limit: 18873)
     Memory: 8.0K
        CPU: 1ms
     CGroup: /system.slice/saned.socket
sh-5.1$ epsonscan2 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = SDIDeviceInfo; _Alloc = std::allocator<SDIDeviceInfo>; std::vector<_Tp, _Alloc>::reference = SDIDeviceInfo&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.

yavko commented on 2021-12-13 05:55 (UTC) (edited on 2021-12-13 05:56 (UTC) by yavko)

I have figured it out, you need to enable the saned daemon! You can run saned or enable it through your init system, for most people it'll probably be sudo systemctl enable saned.socket that is if you are using systemd!

dsi commented on 2021-12-12 13:09 (UTC) (edited on 2021-12-12 13:10 (UTC) by dsi)

Same error in skanlite, epsonscan2, gscan2pdf:


Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = SDIDeviceInfo; _Alloc = std::allocator<SDIDeviceInfo>; std::vector<_Tp, _Alloc>::reference = SDIDeviceInfo&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
zsh: abort (core dumped)  QT_QPA_PLATFORM=wayland epsonscan2

fred118 commented on 2021-12-10 12:20 (UTC) (edited on 2021-12-10 12:27 (UTC) by fred118)

I also get this error, as @yavko says in several sane frontends:

sh-5.1$ epsonscan2 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = SDIDeviceInfo; _Alloc = std::allocator<SDIDeviceInfo>; std::vector<_Tp, _Alloc>::reference = SDIDeviceInfo&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Abgebrochen (Speicherabzug geschrieben)
sh-5.1$ scanimage -L
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = SDIDeviceInfo; _Alloc = std::allocator<SDIDeviceInfo>; std::vector<_Tp, _Alloc>::reference = SDIDeviceInfo&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Abgebrochen (Speicherabzug geschrieben)

Is this an error in sane?

yavko commented on 2021-11-16 07:45 (UTC)

I also get the c++ error but in ALL sane frontends.

severach commented on 2021-10-28 01:49 (UTC)

options=('!buildflags') gets rid of the C++ assert error. PDF and JPEG scanning sometimes crashes with Corrupt JPEG data: found marker 0xd9 instead of RST0.

llxray commented on 2021-08-27 11:01 (UTC)

See https://wiki.archlinux.org/title/SANE section Scanning over the network with EPSON WorkForce printer/scanners. It works for me.

xeaon commented on 2021-08-03 13:10 (UTC)

experiencing the same issue like @aamirdakhani

➜  ~  epsonscan2
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = SDIDeviceInfo; _Alloc = std::allocator<SDIDeviceInfo>; std::vector<_Tp, _Alloc>::reference = SDIDeviceInfo&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.