← Back to team overview

desktop-packages team mailing list archive

[Bug 287208] Re: scan.py crashed with AttributeError in getOption()

 

This version is outdated and no more supported

** Changed in: hplip (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/287208

Title:
  scan.py crashed with AttributeError in getOption()

Status in hplip package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: hplip

  asaf@asaf-laptop:~$ hp-scan -n

  HP Linux Imaging and Printing System (ver. 2.8.7)
  Scan Utility ver. 1.0

  Copyright (c) 2001-8 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.

  warning: No destinations specified. Adding 'file' destination by default.
  warning: File destination enabled with no output file specified.
  Setting output format to JPEG for color/lineart mode.
  warning: Defaulting to '/home/asaf/hpscan001.jpg'.
  Using device v4l:/dev/video0
  Opening connection to device...
  Traceback (most recent call last):
    File "/usr/bin/hp-scan", line 930, in <module>
      tlx = device.getOptionObj('tl-x').limitAndSet(tlx)
    File "/usr/share/hplip/scan/sane.py", line 176, in limitAndSet
      value = self.cur_device.getOption(self.name)
    File "/usr/share/hplip/scan/sane.py", line 293, in getOption
      raise AttributeError, 'Inactive option: %s' % key
  AttributeError: Inactive option: tl-x

  ProblemType: Crash
  Architecture: amd64
  Dependencies:
   
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/share/hplip/scan.py
  InterpreterPath: /usr/bin/python2.5
  NonfreeKernelModules: nvidia
  Package: hplip-data 2.8.7-0ubuntu6
  PackageArchitecture: all
  ProcAttrCurrent: unconfined
  ProcCmdline: python /usr/bin/hp-scan -n
  ProcEnviron:
   SHELL=/bin/bash
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
  PythonArgs: ['/usr/bin/hp-scan', '-n']
  SourcePackage: hplip
  Title: scan.py crashed with AttributeError in getOption()
  Uname: Linux 2.6.27-7-generic x86_64
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/287208/+subscriptions