Bug 214192 - wanted to adjust printer setting through System Settings | Printer Config. but it crash. using Debian 2.6.30-2-amd64 up to date (squeeze in sourcelist)
Summary: wanted to adjust printer setting through System Settings | Printer Config. bu...
Status: RESOLVED DUPLICATE of bug 195952
Alias: None
Product: systemsettings
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
: 214190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-11 23:47 UTC by cne007
Modified: 2009-11-12 01:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cne007 2009-11-11 23:47:57 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
can reproduce the crash all the time. Python is up to date. I decided to configure ands adjust the prionter though localhost:631, the old buddy worked fine.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f2f8c50c1f0 in strlen () from /lib/libc.so.6
#6  0x00007f2f81c433c6 in PyString_FromFormatV (format=0x7f2f7f9da308 "the sip module implements API v%d.0 but the %s module requires API v%d.%d", vargs=0x7fffe2c3bc60)
    at ../Objects/stringobject.c:211
#7  0x00007f2f81c90cd0 in PyErr_Format (exception=0x7f2f81efe540, format=0xffffffff <Address 0xffffffff out of bounds>) at ../Python/errors.c:522
#8  0x00007f2f7f9d73e5 in ?? () from /usr/lib/pymodules/python2.5/sip.so
#9  0x00007f2f7e3186d5 in initkdecore () from /usr/lib/pymodules/python2.5/PyKDE4/kdecore.so
#10 0x00007f2f81c9aeec in _PyImport_LoadDynamicModule (name=0x7fffe2c3cef0 "PyKDE4.kdecore", pathname=0x7fffe2c3be20 "/usr/lib/pymodules/python2.5/PyKDE4/kdecore.so", fp=<value optimized out>)
    at ../Python/importdl.c:53
#11 0x00007f2f81c99433 in import_submodule (mod=0x1cb5168, subname=0x7fffe2c3cef7 "kdecore", fullname=0x7fffe2c3cef0 "PyKDE4.kdecore") at ../Python/import.c:2400
#12 0x00007f2f81c996c2 in load_next (mod=0x1cb5168, altmod=0x1cb5168, p_name=<value optimized out>, buf=0x7fffe2c3cef0 "PyKDE4.kdecore", p_buflen=0x7fffe2c3def8) at ../Python/import.c:2220
#13 0x00007f2f81c99d26 in import_module_level (name=0x0, globals=<value optimized out>, locals=<value optimized out>, fromlist=0x1668b90, level=<value optimized out>) at ../Python/import.c:2008
#14 0x00007f2f81c9a0af in PyImport_ImportModuleLevel (name=0x16e5594 "PyKDE4.kdecore", globals=0x1d9ab90, locals=0x1d9ab90, fromlist=0x1668b90, level=-1) at ../Python/import.c:2072
#15 0x00007f2f81c7c91d in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Python/bltinmodule.c:47
#16 0x00007f2f81bfa103 in PyObject_Call (func=0xffffffff, arg=0x7fffe2c3bc60, kw=0x18) at ../Objects/abstract.c:1861
#17 0x00007f2f81c7ceee in PyEval_CallObjectWithKeywords (func=0x16475f0, arg=0x1d18050, kw=0x0) at ../Python/ceval.c:3481
#18 0x00007f2f81c80502 in PyEval_EvalFrameEx (f=0x1e30870, throwflag=<value optimized out>) at ../Python/ceval.c:2093
#19 0x00007f2f81c83bc5 in PyEval_EvalCodeEx (co=0x1d42648, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at ../Python/ceval.c:2875
#20 0x00007f2f81c83db2 in PyEval_EvalCode (co=0xffffffff, globals=0x7fffe2c3bc60, locals=0x18) at ../Python/ceval.c:514
#21 0x00007f2f81c9640e in PyImport_ExecCodeModuleEx (name=0x7fffe2c40470 "system-config-printer-kde", co=0x1d42648, 
    pathname=0x7fffe2c3f3a0 "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py") at ../Python/import.c:675
#22 0x00007f2f81c96690 in load_source_module (name=0x7fffe2c40470 "system-config-printer-kde", pathname=0x7fffe2c3f3a0 "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", 
    fp=<value optimized out>) at ../Python/import.c:959
#23 0x00007f2f81c99433 in import_submodule (mod=0x7f2f81f08230, subname=0x7fffe2c40470 "system-config-printer-kde", fullname=0x7fffe2c40470 "system-config-printer-kde") at ../Python/import.c:2400
#24 0x00007f2f81c996c2 in load_next (mod=0x7f2f81f08230, altmod=0x7f2f81f08230, p_name=<value optimized out>, buf=0x7fffe2c40470 "system-config-printer-kde", p_buflen=0x7fffe2c41478)
    at ../Python/import.c:2220
#25 0x00007f2f81c99ce2 in import_module_level (name=0x0, globals=0x171d7d0, locals=<value optimized out>, fromlist=0x1650680, level=24238032) at ../Python/import.c:2001
#26 0x00007f2f81c9a0af in PyImport_ImportModuleLevel (name=0x16ddcfc "system-config-printer-kde", globals=0x171d7d0, locals=0x171d7d0, fromlist=0x1650680, level=-1) at ../Python/import.c:2072
#27 0x00007f2f81c7c91d in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Python/bltinmodule.c:47
#28 0x00007f2f81bfa103 in PyObject_Call (func=0xffffffff, arg=0x7fffe2c3bc60, kw=0x18) at ../Objects/abstract.c:1861
#29 0x00007f2f81bfe23e in PyObject_CallFunctionObjArgs (callable=0x16475f0) at ../Objects/abstract.c:2091
#30 0x00007f2f81c9a275 in PyImport_Import (module_name=0x16ddcd8) at ../Python/import.c:2576
#31 0x00007f2f81c9a445 in PyImport_ImportModule (name=<value optimized out>) at ../Python/import.c:1972
#32 0x00007f2f81f34e16 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#33 0x00007f2f81f3713c in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#34 0x00007f2f8eaa0ea7 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4
#35 0x00007f2f8eaa6566 in ?? () from /usr/lib/libkutils.so.4
#36 0x00007f2f8eaa75a5 in KCModuleProxy::realModule() const () from /usr/lib/libkutils.so.4
#37 0x00007f2f8eaa7892 in KCModuleProxy::showEvent(QShowEvent*) () from /usr/lib/libkutils.so.4
#38 0x00007f2f8d85e1e4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007f2f8d80e01d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007f2f8d81607a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007f2f8e4670db in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#42 0x00007f2f8cc45c9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#43 0x00007f2f8d8630da in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#44 0x00007f2f8d863412 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#45 0x00007f2f8d862fcf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#46 0x00007f2f8d86363a in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#47 0x00007f2f8d863426 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#48 0x00007f2f8d862fcf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#49 0x00007f2f8d863412 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#50 0x00007f2f8d862fcf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#51 0x00007f2f8d863412 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#52 0x00007f2f8d862fcf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#53 0x00007f2f8d86363a in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#54 0x00007f2f8d863426 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#55 0x00007f2f8d862fcf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#56 0x00007f2f8d86363a in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#57 0x00007f2f8d847855 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#58 0x00007f2f82249c19 in ?? () from /usr/lib/kde4/icon_mode.so
#59 0x00007f2f8224a428 in ?? () from /usr/lib/kde4/icon_mode.so
#60 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#61 0x00007f2f8e870d0f in ModuleView::moduleChanged(bool) () from /usr/lib/libsystemsettingsview.so
#62 0x00007f2f8e872fb6 in ModuleView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsystemsettingsview.so
#63 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#64 0x00007f2f8e497d38 in KPageWidget::currentPageChanged(KPageWidgetItem*, KPageWidgetItem*) () from /usr/lib/libkdeui.so.5
#65 0x00007f2f8e497ecb in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#66 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#67 0x00007f2f8e493897 in KPageView::currentPageChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libkdeui.so.5
#68 0x00007f2f8e494427 in ?? () from /usr/lib/libkdeui.so.5
#69 0x00007f2f8e494e39 in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#70 0x00007f2f8e497e96 in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#71 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#72 0x00007f2f8dd3f26a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#73 0x00007f2f8dd3f3b4 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#74 0x00007f2f8e494760 in ?? () from /usr/lib/libkdeui.so.5
#75 0x00007f2f8e494d15 in ?? () from /usr/lib/libkdeui.so.5
#76 0x00007f2f8e494e49 in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#77 0x00007f2f8e497e96 in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#78 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#79 0x00007f2f8e8729b1 in ModuleView::addModule(KCModuleInfo*) () from /usr/lib/libsystemsettingsview.so
#80 0x00007f2f8e872d82 in ModuleView::loadModule(MenuItem*) () from /usr/lib/libsystemsettingsview.so
#81 0x00007f2f82249fd1 in ?? () from /usr/lib/kde4/icon_mode.so
#82 0x00007f2f8224a43c in ?? () from /usr/lib/kde4/icon_mode.so
#83 0x00007f2f8cc5adf2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#84 0x00007f2f8dce8885 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#85 0x00007f2f8dceb497 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#86 0x00007f2f8d85e1fe in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#87 0x00007f2f8dbc692b in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#88 0x00007f2f8dcf898b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#89 0x00007f2f8cc44fb8 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#90 0x00007f2f8d80dfec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#91 0x00007f2f8d8167ca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#92 0x00007f2f8e4670db in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#93 0x00007f2f8cc45c9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#94 0x00007f2f8d815a78 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#95 0x00007f2f8d87e659 in ?? () from /usr/lib/libQtGui.so.4
#96 0x00007f2f8d87d40f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#97 0x00007f2f8d8a576c in ?? () from /usr/lib/libQtGui.so.4
#98 0x00007f2f8981a12a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#99 0x00007f2f8981d988 in ?? () from /lib/libglib-2.0.so.0
#100 0x00007f2f8981db3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#101 0x00007f2f8cc6e39c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#102 0x00007f2f8d8a4f1f in ?? () from /usr/lib/libQtGui.so.4
#103 0x00007f2f8cc44562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#104 0x00007f2f8cc44934 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#105 0x00007f2f8cc46ba4 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#106 0x000000000040cada in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-12 00:23:00 UTC
*** Bug 214190 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-11-12 00:25:13 UTC
Check bug 195952, and check if your python-qt package is updated. Thanks

*** This bug has been marked as a duplicate of bug 195952 ***
Comment 3 cne007 2009-11-12 00:55:14 UTC
(In reply to comment #2)
> Check bug 195952, and check if your python-qt package is updated. Thanks
> 
> *** This bug has been marked as a duplicate of bug 195952 ***

check bug 195952 and did not fix the problem by typing 
import sip
import PyQt4
import PyKDE4 

maybe I am doing something wrong. I am not a programmer and have no idea how to use python.
what I did at a prompt:

sudo python
Python 2.5.4 (r254:67916, Sep 26 2009, 10:32:22)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sip
>>> import PyQt4
>>> import PyKDE4

was it hte right move? I still cannot open the printer config.
Tx for your help

A
Comment 4 Dario Andres 2009-11-12 00:56:38 UTC
That was just a test.
Have you tried updating your "python-qt" package ?
Comment 5 cne007 2009-11-12 01:02:06 UTC
(In reply to comment #4)
> That was just a test.
> Have you tried updating your "python-qt" package ?

i am using python-qt4 4.5.1.1
Comment 6 Dario Andres 2009-11-12 01:05:19 UTC
Mh, I don't see that version on 
http://packages.debian.org/search?keywords=python-qt4&searchon=names&exact=1&suite=all&section=all

In any case, the bug is being tracked at bug 195952. Just follow it to get the updates about it.

Thanks
Comment 7 cne007 2009-11-12 01:10:01 UTC
(In reply to comment #6)
> Mh, I don't see that version on 
> http://packages.debian.org/search?keywords=python-qt4&searchon=names&exact=1&suite=all&section=all
> 
> In any case, the bug is being tracked at bug 195952. Just follow it to get the
> updates about it.
> 
> Thanks

4.5.1.1 comes from aptitude (I do not know any other way to check the version of python-qt.
Anyway I will keep following this bug, tx for your help

A