system-config-printer.py crashed with TypeError: smb_select_function() takes exactly 5 arguments (6 given)

Bug #1217850 reported by Jean-Baptiste Camps
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Unable to add a network printer connected on a Windows 7 PC. Here is the log from the console :

** (system-config-printer.py:17052): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:53: PyGIDeprecationWarning: threads_init no longer needs to be called. See: https://bugzilla.gnome.org/show_bug.cgi?id=686914
  PyGIDeprecationWarning)
no talloc stackframe around, leaking memory
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 1619, in setNPButtons
    uri = self.getDeviceURI ()
File "/usr/share/system-config-printer/newprinter.py", line 3111, in getDeviceURI
    type = self.device.type
AttributeError: 'NoneType' object has no attribute 'type'
Continuing anyway..
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)
TypeError: smb_select_function() takes exactly 5 arguments (6 given)

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: system-config-printer-gnome 1.4.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
CupsErrorLog:

Date: Wed Aug 28 13:43:14 2013
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2013-07-18 (40 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
InterpreterPath: /usr/bin/python2.7
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Hewlett-Packard HP ENVY m6 Notebook PC
MarkForUpload: True
PackageArchitecture: all
Papersize: a4
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-4-generic root=UUID=4c0df012-5c8a-4962-b327-461b8aa4a1fe ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with TypeError: smb_select_function() takes exactly 5 arguments (6 given)
Traceback: TypeError: smb_select_function() takes exactly 5 arguments (6 given)
UpgradeStatus: Upgraded to saucy on 2013-07-29 (29 days ago)
UserGroups:

dmi.bios.date: 10/25/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.22
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 18A5
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 73.50
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.22:bd10/25/2012:svnHewlett-Packard:pnHPENVYm6NotebookPC:pvr088A120000305910000620100:rvnHewlett-Packard:rn18A5:rvr73.50:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP ENVY m6 Notebook PC
dmi.product.version: 088A120000305910000620100
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Jean-Baptiste Camps (jbcamps) wrote :
tags: removed: need-duplicate-check
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
information type: Private → Public
Changed in system-config-printer (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.