This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDEInit could not launch '/usr/bin/synaptiks'

Tags: None
(comma "," separated)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If I recall correctly, KDE currently only supports Python 2 for bindings.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
I have installed kde via arch package manager (pacman) and the KDE version here is 4.11.00
The following shows that multiple pythons are installed:
Code: Select all
[root@alpha ~]# python /usr/bin/synaptiks
Traceback (most recent call last):
  File "/usr/bin/synaptiks", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: synaptiks==0.8.1

Code: Select all
root@alpha ~]# python2 /usr/bin/synaptiks
Segmentation fault (core dumped)

Code: Select all
[root@alpha ~]# python2.7 /usr/bin/synaptiks
Segmentation fault (core dumped)

Code: Select all
[root@alpha ~]# python3 /usr/bin/synaptiks
Traceback (most recent call last):
  File "/usr/bin/synaptiks", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: synaptiks==0.8.1

Code: Select all
[root@alpha ~]# python3.3 /usr/bin/synaptiks
Traceback (most recent call last):
  File "/usr/bin/synaptiks", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: synaptiks==0.8.1
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does python2 function with any other Python scripts, in particular ones which use the KDE or Qt bindings?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
bcooksley wrote:Does python2 function with any other Python scripts, in particular ones which use the KDE or Qt bindings?

Can you give any example so can post results?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You can find a hello world example here - http://en.wikipedia.org/wiki/PyQt#Hello_world_example


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
can you install python2-setuptools https://www.archlinux.org/packages/extr ... etuptools/ and then try
Code: Select all
python2 /usr/bin/synaptiks


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
bcooksley wrote:You can find a hello world example here - http://en.wikipedia.org/wiki/PyQt#Hello_world_example

Yup, python2 on hello world example is working file, it opens a blank window.
I also test python2 on 'cxrun' (a crossover app to run windows exe(s)) and cxrun also ran sucessfully with python2.

google01103 wrote:can you install python2-setuptools https://www.archlinux.org/packages/extr ... etuptools/ and then try
Code: Select all
python2 /usr/bin/synaptiks

It is already installed, but still I reinstalled it as your advice, but still no luck :(
zetrotrack000
Registered Member
Posts
23
Karma
0
One more thing.
the touchpad in control center is giving this backtrace:
Code: Select all
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f3429d4d200 in QMetaObject::cast(QObject*) const () from /usr/lib/libQtCore.so.4
#6  0x00007f3414d9b4e2 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#7  0x00007f3414d9b650 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#8  0x00007f3414d8452a in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#9  0x00007f3428f1c00a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f34292b98ee in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f3428ecd12c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f3428ed36f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f342aaf772a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007f3429d46ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f3428f193af in QWidget::ensurePolished() const () from /usr/lib/libQtGui.so.4
#16 0x00007f34292be343 in QLabel::minimumSizeHint() const () from /usr/lib/libQtGui.so.4
#17 0x00007f34292be403 in QLabel::sizeHint() const () from /usr/lib/libQtGui.so.4
#18 0x00007f342abb46ac in KNumInput::layout(bool) () from /usr/lib/libkdeui.so.5
#19 0x00007f342abb488f in KNumInput::setLabel(QString const&, QFlags<Qt::AlignmentFlag>) () from /usr/lib/libkdeui.so.5
#20 0x00007f342abb49ba in KDoubleNumInput::setLabel(QString const&, QFlags<Qt::AlignmentFlag>) () from /usr/lib/libkdeui.so.5
#21 0x00007f340cbf597f in ?? () from /usr/lib/python2.7/site-packages/PyKDE4/kdeui.so
#22 0x00007f340feb7839 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#23 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#24 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#25 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#26 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#27 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#28 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#29 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#30 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#31 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#32 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#33 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#34 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#35 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#36 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#37 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#38 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#39 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#40 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#41 0x00007f340feb7552 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#42 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#43 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#44 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#45 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#46 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#47 0x00007f340fe47b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#48 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#49 0x00007f340fe3241d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#50 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#51 0x00007f340fe77e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#52 0x00007f340fe76bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#53 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#54 0x00007f340feb39e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#55 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#56 0x00007f340fe47b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#57 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#58 0x00007f340fe3241d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#59 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#60 0x00007f340fe77e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#61 0x00007f340fe76bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#62 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#63 0x00007f340feb39e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#64 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#65 0x00007f340fe47b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#66 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#67 0x00007f340fe3241d in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#68 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#69 0x00007f340fe77e57 in slot_tp_init () from /usr/lib/libpython2.7.so.1.0
#70 0x00007f340fe76bcf in type_call () from /usr/lib/libpython2.7.so.1.0
#71 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#72 0x00007f340feb39e1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#73 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#74 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#75 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#76 0x00007f340feb7489 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#77 0x00007f340feb8290 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#78 0x00007f340fe47b00 in function_call () from /usr/lib/libpython2.7.so.1.0
#79 0x00007f340fe23c13 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#80 0x00007f340feb20d7 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
#81 0x00007f341019dd6d in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#82 0x00007f341019e8ae in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#83 0x00007f341a4d7d9e in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#84 0x00007f341a4dcfeb in ?? () from /usr/lib/libkcmutils.so.4
#85 0x00007f341a4dd705 in KCModuleProxy::realModule() const () from /usr/lib/libkcmutils.so.4
#86 0x00007f341a4dda69 in KCModuleProxy::useRootOnlyMessage() const () from /usr/lib/libkcmutils.so.4
#87 0x00007f341a4daa71 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () from /usr/lib/libkcmutils.so.4
#88 0x00007f34155e4bfe in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#89 0x0000000000408069 in _start ()
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Hm, that probably explains why Synaptiks cannot start.
Can you please verify all Oxygen related packages are up to date?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
bcooksley wrote:Hm, that probably explains why Synaptiks cannot start.
Can you please verify all Oxygen related packages are up to date?

I have upgraded my arch using 'pacman -Syu' which upgrades everything. Few days ago it also upgraded the KDE. But I don't know that still after system upgrade, all the oxygen packages are up-to-date or not! As arch is a rolling distro then I think all the packages should be upgraded!
How can I verify that?
User avatar
google01103
Manager
Posts
6668
Karma
25
try pacman -Qs oxygen


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
Code: Select all
root@alpha ~]# pacman -Qs oxygen
local/oxygen-gtk2 1.4.0-1
    Port of the default KDE widget theme (Oxygen) to GTK2
local/oxygen-gtk3 1.2.0-1
    Port of the default KDE widget theme (Oxygen) to GTK3
local/oxygen-icons 4.11.0-1
    The Oxygen Icon Theme
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The relevant parts of Oxygen are part of kde-workspace in this case. In most distributions it is a separate package however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
bcooksley wrote:The relevant parts of Oxygen are part of kde-workspace in this case. In most distributions it is a separate package however.

I guess it is a comment :)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It was an observation, yes. In this case, it appears you may actually be triggering a bug in the Oxygen theme. Which version of KDE are you using?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]