setup.py crashed with NameError in detectNetworkDevices(): global name 'pas' is not defined

Bug #757899 reported by Ben Gamari on 2011-04-11
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
High
Sarbeswar Meher
hplip (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: hplip

Looks like a simple typo on line 211 of /usr/share/hplip/base/mdns.py ("pas" should be "pass")

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: hplip-data 3.11.1-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Mon Apr 11 14:39:28 2011
ExecutablePath: /usr/share/hplip/setup.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
InterpreterPath: /usr/bin/python2.7
Lpstat: device for goldnerlab: socket://goldnerlj2015.physics.umass.edu:9100
MachineType: Dell Inc. Latitude D830
PackageArchitecture: all
Papersize: letter
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
PpdFiles: goldnerlab: HP LaserJet P2015 Series Postscript (recommended)
ProcCmdline: python /usr/bin/hp-setup
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-7-generic root=UUID=d4418eb1-6141-4554-83a9-fcb1c75588c3 ro pciehp.pciehp_force=1 quiet splash vt.handoff=7
PythonArgs: ['/usr/bin/hp-setup']
SourcePackage: hplip
Title: setup.py crashed with NameError in detectNetworkDevices(): global name 'pas' is not defined
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/04/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd01/04/2010:svnDellInc.:pnLatitudeD830:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D830
dmi.sys.vendor: Dell Inc.

Related branches

Ben Gamari (bgamari) wrote :
visibility: private → public
tags: removed: need-duplicate-check

Still present in hplip 3.11.7 in oneiric, adding upstream task.

Changed in hplip (Ubuntu):
status: New → Triaged

Thanks for this information. We'll include it in the next release 3.11.9.

Changed in hplip:
assignee: nobody → Sarbeswar Meher (sarbeswar-meher)
importance: Undecided → High
status: New → Fix Committed
Changed in hplip (Ubuntu):
status: Triaged → Fix Committed
Till Kamppeter (till-kamppeter) wrote :

Sarbeswar, can you attach a patch for HPLIP 3.11.7 to this bug report? This way we can also fix the 3.11.7 which we will ship with Ubuntu Oneiric. Thanks.

Changed in hplip (Ubuntu):
status: Fix Committed → Triaged

Find the patch or diff file for /src/base/mdns.py .

Changed in hplip (Ubuntu):
status: Triaged → In Progress

The attachment "mdsn.py.patch.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Till Kamppeter (till-kamppeter) wrote :

Package with this patch applied is up[loaded and will get available soon after the release of Oneiric beta2 later today.

Changed in hplip (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hplip - 3.11.7-1ubuntu1

---------------
hplip (3.11.7-1ubuntu1) oneiric; urgency=low

  * debian/patches/mdns-py-typo.dpatch: Fixed typo in code (LP: #757899).
 -- Till Kamppeter <email address hidden> Thu, 22 Sep 2011 08:47:00 +0200

Changed in hplip (Ubuntu):
status: Fix Committed → Fix Released

Fix released in hplip-3.11.10

Changed in hplip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers