Simple Scan doesn't load

Bug #1869524 reported by Charles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simple-scan (Ubuntu)
Invalid
Undecided
Bartosz Kosiorek

Bug Description

Simple Scan version 3.28.0-0ubuntu1 fails to load in Ubuntu 18.04 LTS

simple-scan: error while loading shared libraries: libcolord.so.1: cannot open shared object file: No such file or directory

Related to bug# 1869522
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1869522

Not sure if I should be reporting the bug against Simple Scan, Gnome, or Ubuntu 18.04 LTS.

Gnome project said it's not a bug with Simple Scan. Something about not having the latest version of Gnome bundled with Ubuntu 18.04 LTS.
https://gitlab.gnome.org/GNOME/simple-scan/-/issues/159

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: simple-scan 3.28.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
Uname: Linux 4.15.0-91-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.12
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 28 15:53:47 2020
InstallationDate: Installed on 2014-08-08 (2059 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: MSI MS-7922
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-91-generic root=UUID=12cc7d65-8589-4aab-a77b-566ea7af9984 ro pci=assign-busses quiet splash vt.handoff=1
SimpleScanLog:

SourcePackage: simple-scan
UpgradeStatus: Upgraded to bionic on 2020-01-05 (83 days ago)
dmi.bios.date: 02/16/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.10
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z97 U3 PLUS (MS-7922)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.10:bd02/16/2016:svnMSI:pnMS-7922:pvr1.0:rvnMSI:rnZ97U3PLUS(MS-7922):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7922
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Revision history for this message
Charles (clmoore3rd) wrote :
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Hi Charles.
I suspect that you have some custom installation of the Simple Scanner.
What is the output of the command:

$ which simple-scan

According to documentation: https://packages.ubuntu.com/bionic/amd64/simple-scan/filelist
it shoule be:

 /usr/bin/simple-scan

Try to run simple-scan from `/usr/bin/simple-scan` location and check if it is working for you.

I also checked and standard installation of the simple-scanner uses correct library:

$ ldd /usr/bin/simple-scan
 linux-vdso.so.1 (0x00007ffebbff5000)
        ...
 libsane.so.1 => /usr/lib/x86_64-linux-gnu/libsane.so.1 (0x00007f0e15100000)
 libcolord.so.2 => /usr/lib/x86_64-linux-gnu/libcolord.so.2 (0x00007f0e14ee0000)
        ...

Changed in simple-scan (Ubuntu):
status: New → Incomplete
assignee: nobody → Bartosz Kosiorek (gang65)
Revision history for this message
Charles (clmoore3rd) wrote :

Hi Bartosz,

Thanks for the feedback. I had tried to uninstall Simple-Scan via Ubuntu Software Center and then re-install. Since that didn't work, I followed the directions to try and build it from source
https://gitlab.gnome.org/GNOME/simple-scan
but that build attempt kind of failed at the end. Simple-Scan opened at the end of the build, but then it froze up looking for the connected scanner.

I just used sudo apt-get remove simple-scan from the terminal window, wondering if that works different than uninstall from the Software Center. Interestingly enough, it said it was removing 3.28.0-0ubuntu1

I ran which simple-scan after a restart, and was surprised to see /usr/local/bin/simple-scan
So then I tried to run simple-scan from the terminal and got the same error:
"simple-scan: error while loading shared libraries: libcolord.so.1: cannot open shared object file: No such file or directory"

When I browsed to that folder there was indeed a simple-scan executable from 2015 in that folder.
I deleted the executable, re-ran which simple-scan to confirm no entry, and then reinstalled with sudo apt-get install simple-scan
It appears to have installed 3.28.0-0ubuntu1 from package simple-scan_3.28.0-0ubuntu1_amd64.deb
but same thing when I opened simple-scan. Nothing happened.

So I ran simple-scan --debug and got this error:

"[+0.00s] DEBUG: simple-scan.vala:637: Starting Simple Scan 3.28.0, PID=4623

(simple-scan:4623): Gtk-WARNING **: 08:25:59.698: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
[+0.01s] ERROR: Settings schema 'org.gnome.SimpleScan' does not contain a key named 'page-delay'
Trace/breakpoint trap (core dumped)"

I don't remember installing a custom version of simple-scan.... Maybe I did. What I can say is I was running 14.04 LTS up until last year, only reason I upgraded to 18.04 LTS because I started having problems with the display driver. I upgraded straight from 14.04 LTS to 18.04 LTS via 16.04 LTS. Maybe something got lost/misconfigured in the move?

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Hi Charles.
I suspect that you have old schema in directory:
/usr/local/share

Please try to rename `/usr/local/share` directory to `/usr/local/share-back` and check if it helps

Revision history for this message
Charles (clmoore3rd) wrote :

That did it! "Bug" fixed. :) Thanks Bartosz!

Changed in simple-scan (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.