AttributeError: ScanDevice instance has no attribute 'last_opt'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Sarbeswar Meher |
Bug Description
While trying to get my scanner working I hit this python error:
$ hp-scan
HP Linux Imaging and Printing System (ver. 3.11.12)
Scan Utility ver. 2.2
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hpaio:/
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/
Opening connection to device...
error: Unable to set option compression to value JPEG
Traceback (most recent call last):
File "/usr/bin/hp-scan", line 659, in <module>
device.
File "/usr/share/
if self.last_opt & scanext.
AttributeError: ScanDevice instance has no attribute 'last_opt'
$
Changed in hplip: | |
assignee: | nobody → Sarbeswar Meher (sarbeswar-meher) |
Changed in hplip: | |
status: | New → In Progress |
Changed in hplip: | |
status: | Fix Committed → Fix Released |
Hello,
Are you having a custom build of HPLIP? I mean to say, have you built HPLIP on your own, or using the HPLIP package supplied by the Distro?
Basically, parallel port support is disabled by default and won't be available unless one re-builds HPLIP with the parallel port option enabled.
You can goto the folder where you have downloaded and install hplip-3.11.12.( May be in ~/Downloads/ hplip-3. 11.12). Run in teminal
$ ./configure --prefix=/usr --enable-pp-build
$ make
$ sudo make install
For scanning, you can also use 'xsane'.
Please provide the output of 'hp-scan -g'.