Version: (using KDE 4.3.2) OS: Linux Installed from: Debian testing/unstable Packages Whenever I start KDE, the printer-applet is reported to crash (segfault). The same happens, when I run printer-applet from a konsole. I tried to gather as much debugging information as possible (installed all python-dbg packages) and also used pydb. A. Output of pydb: (/usr/share/kde4/apps/printer-applet/printer-applet.py:34): <module> 34 """ (Pydb) cont *** NameError: name 'cont' is not defined (Pydb) continue Traceback (most recent call last): File "/usr/bin/pydb", line 765, in main p._runscript(mainpyfile) File "/usr/share/pyshared/pydb/pydbcmd.py", line 94, in _runscript self.run(statement) File "/usr/share/pyshared/pydb/pydbbdb.py", line 374, in run exec cmd in globals, locals File "<string>", line 1, in <module> File "/usr/bin/printer-applet", line 66, in <module> from statereason import StateReason ImportError: No module named statereason *** Uncaught exception. Entering post mortem debugging *** Running 'c' or 'step' will restart the program (/usr/share/pyshared/pydb/pydb.py:813): main 813 p.interaction(t.tb_frame,t) B. Output of KDE Crash Reporter Dr.Konqi: Application that crashed: printer-applet Version of the application: 1.3 KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.3 Operating System: Linux 2.6.31-5.slh.2-sidux-686 i686 Distribution: Debian GNU/Linux unstable (sid) What I was doing when the application crashed: <In detail, tell us what you were doing when the application crashed.> -- Backtrace: Application: Printer Applet (printer-applet), signal: Segmentation fault [KCrash Handler] #6 PyDict_GetItem (op=0x3, key=0xa2e98a0) at ../Objects/dictobject.c:575 #7 0xb74e4954 in ?? () from /usr/lib/pymodules/python2.5/sip.so #8 0xb736bd85 in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #9 0xb5f7fa94 in QApplicationPrivate::notify_helper (this=0xa30cf80, receiver=0xa3d0a08, e=0xbfd7d128) at kernel/qapplication.cpp:4065 #10 0xb5f87bee in QApplication::notify (this=0xa30cef0, receiver=0xa3d0a08, e=0xbfd7d128) at kernel/qapplication.cpp:3605 #11 0xb4c040fd in KApplication::notify (this=0xa30cef0, receiver=0xa3d0a08, event=0xbfd7d128) at ../../kdeui/kernel/kapplication.cpp:302 #12 0xb51c16ae in sipKApplication::notify(QObject*, QEvent*) () from /usr/lib/pymodules/python2.5/PyKDE4/kdeui.so #13 0xb717b1eb in QCoreApplication::notifyInternal (this=0xa30cef0, receiver=0xa3d0a08, event=0xbfd7d128) at kernel/qcoreapplication.cpp:610 #14 0xb7192e0e in QCoreApplication::sendEvent(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #15 0xb718a87a in QObjectPrivate::setParent_helper (this=0xa3ca530, o=0xa3d0a08) at kernel/qobject.cpp:1889 #16 0xb718a957 in QObject::setParent (this=0xa36b1e0, parent=0xa3d0a08) at kernel/qobject.cpp:1833 #17 0xb718ee8e in QObject (this=0xa36b1e0, parent=0xa3d0a08) at kernel/qobject.cpp:668 #18 0xb7196429 in QTimer (this=0xa36b1e0, parent=0xa3d0a08) at kernel/qtimer.cpp:135 #19 0xb72d1d9d in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #20 0xb72d1e38 in ?? () from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so #21 0xb74e3caf in ?? () from /usr/lib/pymodules/python2.5/sip.so #22 0x080ac341 in type_call (type=0xa2de6ec, args=0xa2e930c, kwds=0x0) at ../Objects/typeobject.c:436 #23 0x0805d2a7 in PyObject_Call (func=0x0, arg=0xa2e930c, kw=0x0) at ../Objects/abstract.c:1861 #24 0x080cb3dd in do_call (f=0xa3c9a3c, throwflag=0) at ../Python/ceval.c:3823 #25 call_function (f=0xa3c9a3c, throwflag=0) at ../Python/ceval.c:3635 #26 PyEval_EvalFrameEx (f=0xa3c9a3c, throwflag=0) at ../Python/ceval.c:2304 #27 0x080ce41d in PyEval_EvalCodeEx (co=0xb7504e78, globals=0xb754facc, locals=0x0, args=0xa2e9278, argcount=1, kws=0x0, kwcount=0, defs=0xa2e91f8, defcount=1, closure=0x0) at ../Python/ceval.c:2875 #28 0x081140b1 in function_call (func=0xa2e3c34, arg=0xa2e926c, kw=0x0) at ../Objects/funcobject.c:517 #29 0x0805d2a7 in PyObject_Call (func=0x0, arg=0xa2e926c, kw=0x0) at ../Objects/abstract.c:1861 #30 0x0806335f in instancemethod_call (func=0xa2e3c34, arg=0xa2e926c, kw=0x0) at ../Objects/classobject.c:2519 #31 0x0805d2a7 in PyObject_Call (func=0x0, arg=0xb753602c, kw=0x0) at ../Objects/abstract.c:1861 #32 0x080a5068 in slot_tp_init (self=0xa2de6ac, args=0xb753602c, kwds=0x0) at ../Objects/typeobject.c:4976 #33 0x080ac341 in type_call (type=0x9f5ef1c, args=0xb753602c, kwds=0x0) at ../Objects/typeobject.c:436 #34 0x0805d2a7 in PyObject_Call (func=0x0, arg=0xb753602c, kw=0x0) at ../Objects/abstract.c:1861 #35 0x080cb3dd in do_call (f=0x9f65d4c, throwflag=0) at ../Python/ceval.c:3823 #36 call_function (f=0x9f65d4c, throwflag=0) at ../Python/ceval.c:3635 #37 PyEval_EvalFrameEx (f=0x9f65d4c, throwflag=0) at ../Python/ceval.c:2304 #38 0x080ce41d in PyEval_EvalCodeEx (co=0xb7514de8, globals=0xb754facc, locals=0xb754facc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875 #39 0x080ce627 in PyEval_EvalCode (co=0xb7514de8, globals=0xb754facc, locals=0xb754facc) at ../Python/ceval.c:514 #40 0x080eb33f in run_mod (fp=0x9f04008, filename=0xbfd7f635 "/usr/bin/printer-applet", start=257, globals=0xb754facc, locals=0xb754facc, closeit=1, flags=0xbfd7dc58) at ../Python/pythonrun.c:1273 #41 PyRun_FileExFlags (fp=0x9f04008, filename=0xbfd7f635 "/usr/bin/printer-applet", start=257, globals=0xb754facc, locals=0xb754facc, closeit=1, flags=0xbfd7dc58) at ../Python/pythonrun.c:1259 #42 0x080eb5fa in PyRun_SimpleFileExFlags (fp=0x9f04008, filename=0xbfd7f635 "/usr/bin/printer-applet", closeit=1, flags=0xbfd7dc58) at ../Python/pythonrun.c:879 #43 0x08059350 in Py_Main (argc=1, argv=0xbfd7dd24) at ../Modules/main.c:532 #44 0x08058742 in main (argc=) at ../Modules/python.c:23 Report to https://bugs.kde.org
apt-file search statereason -> system-config-printer: /usr/share/system-config-printer/statereason.py ls -l /usr/share/system-config-printer/statereason.py -rw-r--r-- 1 root root 5064 Jun 17 10:52 /usr/share/system-config-printer/statereason.py
Check bug 209095. Thanks *** This bug has been marked as a duplicate of bug 209095 ***