Package Details: epsonscan2 6.7.91.1-2

Git Clone URL: https://aur.archlinux.org/epsonscan2.git (read-only, click to copy)
Package Base: epsonscan2
Description: Epson scanner management utility
Upstream URL: https://download-center.epson.com/
Licenses: GPL-3.0-or-later, LicenseRef-EULA
Conflicts: epsonscan2-non-free-plugin
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 26
Popularity: 2.26
First Submitted: 2020-11-20 05:34 (UTC)
Last Updated: 2026-06-11 07:50 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 Next › Last »

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.

<deleted-account> commented on 2021-07-20 15:43 (UTC)

$ 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 [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. Aborted (core dumped)