Hi, I'm trying to write a python plasmoid with a python dataengine,
the dataengine works in plasmaengineexplorer but if I connect to it in the plasmoid and try that the PlasmoidViewer crashes (or Plasma if I try it in plasma) the problem is with this line: self.dataEngine("plasma-dataengine-pytime") this is tested with the plasma time engine http://websvn.kde.org/branches/KDE/4.2/kdebase/workspace/plasma/scriptengines/python/examples/dataengines/pytime/contents/code/main.py?view=markup I'm not reporting this as a bug because I don't know if that is even suppose to work, but I would love it to work! Thanks this is the backtrace of the crash (I can get a backtrace of plasma crashing too if you want) Application: Plasma Widget Viewer (plasmoidviewer), signal SIGSEGV 0x00007fd6e5668cb0 in nanosleep () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7fd6e85af790 (LWP 434))] Thread 1 (Thread 0x7fd6e85af790 (LWP 434)): [KCrash Handler] #5 0x00007fd6d11d427b in PyImport_GetModuleDict () from /usr/lib64/libpython2.6.so.1.0 #6 0x00007fd6d11d12fc in PyImport_AddModule () from /usr/lib64/libpython2.6.so.1.0 #7 0x00007fd6d11ddf27 in PyRun_SimpleStringFlags () from /usr/lib64/libpython2.6.so.1.0 #8 0x00007fd6d148a06c in AppendToSysPath(QString) () from /usr/lib64/kde4/kpythonpluginfactory.so #9 0x00007fd6d148af05 in KPythonPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/kde4/kpythonpluginfactory.so #10 0x00007fd6e7c05e62 in ?? () from /usr/lib64/libplasma.so.3 #11 0x00007fd6e7c063fe in Plasma::loadScriptEngine(QString const&, Plasma::DataEngine*) () from /usr/lib64/libplasma.so.3 #12 0x00007fd6e7bcd1ac in ?? () from /usr/lib64/libplasma.so.3 #13 0x00007fd6e7bcd251 in Plasma::DataEngine::DataEngine(QObject*, KSharedPtr<KService>) () from /usr/lib64/libplasma.so.3 #14 0x00007fd6e7bcf45c in Plasma::DataEngineManager::loadEngine(QString const&) () from /usr/lib64/libplasma.so.3 #15 0x00007fd6e7bab878 in Plasma::Applet::dataEngine(QString const&) const () from /usr/lib64/libplasma.so.3 #16 0x00007fd6cfb4065b in meth_Plasma_Applet_dataEngine () from /usr/lib64/python2.6/site-packages/PyKDE4/plasma.so #17 0x00007fd6d11bcf28 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 #18 0x00007fd6d11bcb9f in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 #19 0x00007fd6d11bcb9f in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 #20 0x00007fd6d11c24c2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0 #21 0x00007fd6d115a098 in ?? () from /usr/lib64/libpython2.6.so.1.0 #22 0x00007fd6d1137ac9 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0 #23 0x00007fd6d11444a7 in ?? () from /usr/lib64/libpython2.6.so.1.0 #24 0x00007fd6d1137ac9 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0 #25 0x00007fd6d11bb138 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0 #26 0x00007fd6d07c68b5 in ?? () from /usr/lib64/python2.6/site-packages/sip.so #27 0x00007fd6d0a5138c in ?? () from /usr/lib64/python2.6/site-packages/PyQt4/QtCore.so #28 0x00007fd6cfae4644 in sipPlasma_AppletScript::init() () from /usr/lib64/python2.6/site-packages/PyKDE4/plasma.so #29 0x00007fd6e7badd49 in Plasma::Applet::init() () from /usr/lib64/libplasma.so.3 #30 0x00007fd6e7bbe28e in Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) () from /usr/lib64/libplasma.so.3 #31 0x00007fd6e7bbe547 in ?? () from /usr/lib64/libplasma.so.3 #32 0x00000000004055bc in _start () -- Thomas Coopman thomas.coop...@gmail.com
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel