Re: Lios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rastislav

thanks for this.

i will look over all this stuff and see if i can figure it out.

it would be great if i can get LIOS to work for me.

do you know if there are scanners that are more compatible with LIOS?

Rodney


On 8/7/2024 18:43, 'Rastislav Kish' via blinux-list@xxxxxxxxxx wrote:

Hello Rodney,
the official repository of the LIOS project is here:
https://github.com/zendalona/lios

I have forked it and applied my fixes I made some time ago for my HP laserjet scanner.
https://github.com/RastislavKish/lios

See the scanimageDriverFix branch. If you’d like to try it out, there are two ways to do it, the more complicated but correct and simpler but hacky.

The more complicated is to get rid of your current lios installation (this is necessary to avoid package collisions) and install the program from the fix branch of my repository:

git clone https://github.com/RastislavKish/lios
cd lios
git switch scanimageDriverFix

And install from source according to the documentation.

Don’t forget to select scanimage driver to be used in the LIOS settings.

However, there is a simpler way. The fix basically deals with just one file, and synce Python programs are not compiled, you can swap it out for the modified version in the existing installation and make it work this way. No need to uninstall your current setup and it’s relatively quick.

In order to do this, you first need to locate where did your system install the lios python package. It likely resides in one of the python’s dist-packages or site-packages directories, check /usr/lib/pytho, /usr/local/lib/python etc. When you find the directory, the file you’re looking for is ./scanner/scanimage_driver.py
Clone my repository like mentioned above, don’t forget to switch the branch i.e.

git clone https://github.com/RastislavKish/lios
cd lios
git switch scanimageDriverFix

And swap the scanimage_driver.py. You will likely need to do this as a root since LIOS is usually installed in a read-only directory.

Also make sure to select scanimage as the scanning driver in the LIOS settings.

I’m not promising anything, as I mentioned before this was a simple fix intended to make the program work with my scanner, but maybe it will work for you too, the problem seems similar.

Best regards

Rastislav

Dňa 7. 8. 2024 o 21:37 rodney jackson napísal(a):

Rastislav

I logged into my linux mint machine and the version of LIOS is 2.8

Rodney

On 8/7/2024 06:05, 'Rastislav Kish' via blinux-list@xxxxxxxxxx wrote:

Hello,
which distribution of LIOS are you using?
These issues shouldn't be a big deal, LIOS has a bit incomplete implementation of the scanner protocol, but when this happened on my machine I could fix it in the code and I believe I reported the issues and my solutions back.

Best regards

Rastislav

Dňa 6. 8. 2024 o 3:48 rodney jackson napísal(a):
I am having issues with Lios, I am hoping someone can help me figure this out.
Scanner I have: epson perfection v39 ii
When trying to run Lios to scan documents
Lios sees the scanner but I get the error below:
Error I get:
Scanner update list error Object has no attribute max_y
I have tried this on Accessible Coconut and Linux mint as well as Debian Bookworm
all other 3rd party scanning software on these machines have no issues with scanning with this scanner
Any help will be greatly appreciated.
Rodney



To unsubscribe from this group and stop receiving emails from it, send an email to blinux-list+unsubscribe@xxxxxxxxxx.

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]