python-pillow / Sane

Python interface to the SANE scanner and frame grabber
Other
55 stars 19 forks source link

Problem with example.py #36

Closed israelbejarano closed 6 years ago

israelbejarano commented 7 years ago

Hello:

I am trying to run the example.py file and I get the following error: Available devices: [] Traceback (most recent call last): file "example.py", line 29, in dev = sane.open (devices [0] [0]) IndexError: list index out of range. I understand that it is because it does not recognize any scanner / printer.

It's a network scanner and my operating system is recognizing it.

Regards.

manisandro commented 7 years ago

This is unlikely a python-sane specific issue but rather that sane in general does not pick up the scanner. Does scanimage -L report any scanners?

manisandro commented 6 years ago

Closing, feel free to reopen if still an issue.