Python sane does not see scanners

Bug #475255 reported by Nick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-imaging (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-imaging

>>> import sane ; sane.get_devices()
[]

But there are 2 scanners :
$ sane-find-scanner
...
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL842) at libusb:001:007
found USB scanner (vendor=0x04f9, product=0x0180) at libusb:003:002

xsane can scan from at least one of them normally.

UPDATE:
And I can scan using device I've got from Xsane, so this works:
>>> import sane ; sane.init() ; sane.open("genesys:libusb:001:007")
<sane.SaneDev instance at 0xb7dcf54c>

Tags: python sane
Nick (xepecine)
description: updated
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.