applet.py crashed with ImportError in <module>()

Bug #448170 reported by Rogerio
144
This bug affects 18 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

system-config-printer

ProblemType: Crash
Architecture: i386
CurrentDmesg:
 [ 26.135276] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
 [ 33.046030] [drm] Initialized drm 1.1.0 20060810
 [ 33.297855] pci 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
 [ 33.298050] [drm] Initialized savage 2.4.1 20050313 for 0000:01:00.0 on minor 0
 [ 36.640011] eth0: no IPv6 routers present
Date: Sat Oct 10 12:46:05 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/system-config-printer/applet.py
InterpreterPath: /usr/bin/python2.6
Lpstat: device for LaserColor: dnssd://Samsung%20CLX-2160%20Series%20(SEC0015992EA599)._pdl-datastream._tcp.local/
Lsusb:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Semp Toshiba Informatica Ltda Lince Station
Package: system-config-printer-gnome 1.1.12+git20090826-0ubuntu5
PackageArchitecture: all
Papersize: a4
PpdFiles: LaserColor: Samsung CLX-2160 Foomatic/foo2qpdl (recommended)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-13-generic root=UUID=6d3242ed-6d54-4594-b4f2-8b7a664d76fa ro quiet splash
ProcCmdline: python /usr/share/system-config-printer/applet.py
ProcEnviron:
 LANGUAGE=pt_BR.UTF-8
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.43-generic
PythonArgs: ['/usr/share/system-config-printer/applet.py']
SourcePackage: system-config-printer
Title: applet.py crashed with ImportError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/applet.py", line 20, in <module>
     import cups
 ImportError: No module named cups
Uname: Linux 2.6.31-13-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 11/24/2003
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: 6.00 PG
dmi.board.name: P4MA Pro533
dmi.board.vendor: First International Computer, Inc.
dmi.board.version: PCB 0.x
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvr6.00PG:bd11/24/2003:svnSempToshibaInformaticaLtda:pnLinceStation:pvrRev.10/00:rvnFirstInternationalComputer,Inc.:rnP4MAPro533:rvrPCB0.x:cvn:ct3:cvr:
dmi.product.name: Lince Station
dmi.product.version: Rev. 10/00
dmi.sys.vendor: Semp Toshiba Informatica Ltda

Revision history for this message
Rogerio (rgrlinux) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #203808. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
visibility: private → public
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

It complains that the Python module "cups" (from the python-cups package) is missing. According to the package dependencies the module must be installed. So there must have been done package dependency overrides or files must have gotten corrupted. Please run the command

sudo apt-get install --reinstall python-cups

in a terminal window and if it fails

sudo apt-get install python-cups

Closing ...

Changed in system-config-printer (Ubuntu):
status: New → Invalid
tags: added: bugpattern-needed
Revision history for this message
Ben Bates (cryptision) wrote :

I just reported a similar applet.py bug that was marked as duplicate of this one, although I never used a printer. so for me its not a printer problem it was with the bluewho app. As I paroozed google I notice other similar bugs with people complaining about memory leaks. So, I start htop and sure enough my memory usuage was through the roof. I am currently using about 2gb of the 4gb of ram. My graphics card only uses 512 of shared when it needs it. (9700m) Im on a rather beefy laptop (qosmio x305-q701) so it should be slowing down to a 486 like performance. nspluginwrapper seems to be the biggest user of memory (its only at 3.4%) where all my memory is going is beyond me. Under 10.04 my average memory usage was only 8 to 10% not 50% unless Im running blender. I do notice my system really slow at times and my indicator services has been crashing. Also apport it self has been crashing alot lately and I think it could be with the dbus replacement. (what is 10.10 using for event calls anyway?)

Revision history for this message
Ben Bates (cryptision) wrote :

forgot to add Im using 10.10. 64bit version. (on a side note I thought it was rather ironic that Im dealing with a duplicate bug that was reported on 10.10.2009 on ubuntu 10.10.)

Revision history for this message
Noel J. Bergman (noeljb) wrote :

A lot of us reported it recently on Maverick, and our reports were marked as duplicates of this despite having different causes.

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.