LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Any scanning program closes when scanning starts (https://www.linuxquestions.org/questions/linux-software-2/any-scanning-program-closes-when-scanning-starts-4175708152/)

SimPos 02-16-2022 04:09 PM

Any scanning program closes when scanning starts
 
Hello, I will use translator to communicate

I have Xubuntu 16.04 (I need to continue with Xenial), it was newly formatted and updated

I have Epson L3110, I installed the print and scan drivers, printing is working, but scanning, when I use Simple Scan, the program opens, but when I click to start it closes

So I installed other alternatives like xsane and gscan2pdf, both happened the same thing, close the program

Could someone suggest what is going on, but that I don't need to migrate to the latest Xubuntu

camorri 02-16-2022 04:32 PM

You need to provide some error information. Start the program that is closing from a command prompt. After it fails, you should see some information on the failure at the command prompt. Copy and paste it here, use code tags to keep it readable.

Could you also post the full names of the drivers you installed. There are 32 bit and 64 bit drivers available, they need to match the bitness of your system.

SimPos 02-16-2022 04:48 PM

Quote:

Originally Posted by camorri (Post 6330415)
You need to provide some error information. Start the program that is closing from a command prompt. After it fails, you should see some information on the failure at the command prompt. Copy and paste it here, use code tags to keep it readable.

Could you also post the full names of the drivers you installed. There are 32 bit and 64 bit drivers available, they need to match the bitness of your system.

It's all 64 bit (amd64)

About the error appeared "segmentation failure" after the program opened at the time I request scanning

DEBUG: scanner.vala:1560: Scanner.scan ("epsonscan2:L3110 Series:003:002:esci2:usb:ES016D:4418", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=ScanType.SINGLE, paper_width=0, paper_height=0, brightness=0, contrast=0)
[+45,49s] DEBUG: scanner.vala:803: Processing request
Falha de segmentação

SimPos 02-16-2022 05:51 PM

It's something very strange, I managed to make it work for a moment, I used the command: sudo chown -R $USER:$USER ~/.cache/simple-scan

So I opened it via command and it worked, I decided to close and open it again and it stopped working again, well then the driver and everything else is correct, but Xubuntu is killing the execution

Note: I tried again using udo chown -R $USER:$USER ~/.cache/simple-scan but it didn't work again

Note 2: I don't see that it's related to the command I made, now I managed to change one of the front and back options putting only the front, so I opened and closed and again closed when the scan starts

Note 3: I found that it is a relation to the cache, after deleted it works, but when it closes and opens the problem starts again

Note 4: I managed to scan by persistence, scan tries to open it again 3x and then it works, then the problem returns

camorri 02-17-2022 06:25 AM

This appears to be some kind of a permission issue. What goups does your regular user belong to? Just type 'groups' at a command prompt ( without the quotes ) and the user groups will be printed to standard out. FWIW, I run a scanner on Slackware. Here is my group output.

Quote:

users lp wheel floppy audio video cdrom input plugdev power netdev scanner vboxusers mongo
I think lp and scanner are the 2 you need.


All times are GMT -5. The time now is 04:19 PM.