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)
zetrotrack000
Registered Member
Posts
23
Karma
0
Hi
I am using arch linux. Suddenly a problem has happened with synaptiks. When I try to start "synaptiks", kde gives error:
Code: Select all
KDEInit could not launch '/usr/bin/synaptiks'

When try to run from terminal, it gives following error:
Code: Select all
Segmentation fault (core dumped)

How can I fix it?
PS: few days ago, after upgrade, the kde stopped loading with error "desktop shell could not load" and I fixed it by removing ~/.kde4/share/apps/plasma directory.
User avatar
google01103
Manager
Posts
6668
Karma
25
try renaming ~/.kde4/share/config/synaptiksrc (or something similar i don't have a touchpad so not sure exact name)

look in ~/session-errors for lines with synaptiks

can you compile synaptiks? either from the source code or from the source package (whatever Arch calls it)


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
try renaming ~/.kde4/share/config/synaptiksrc (or something similar i don't have a touchpad so not sure exact name)
look in ~/session-errors for lines with synaptiks
can you compile synaptiks? either from the source code or from the source package (whatever Arch calls it)

I have tried both of your suggestions but no luck :(
Here what i do:
1. rename ~/.kde4/share/config/synaptiksrc to ~/.kde4/share/config/synaptiksrc-bak
then start synaptiks but same error appears.
2. Then I remove synaptiks, all its dependences and all of its configuration files.
3. Then install the synaptiks again but still no luck.
The problem is still appearing :(
User avatar
google01103
Manager
Posts
6668
Karma
25
did you look in ~/.xsession-errors?

can you compile it instead of using the binary?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you try running the synaptiks command under gdb, to see if you can generate a backtrace?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
did you look in ~/.xsession-errors?
can you compile it instead of using the binary?

There is no file named .xsession-erros in my home directory.
pacman -Q synaptiks
show that version 0.8.1-7 is installed. And I am not able to find any source package with the same version! From where i can find?

Can you try running the synaptiks command under gdb, to see if you can generate a backtrace?

Here is the output of gdb:
Code: Select all
root@archbox /]# gdb synaptiks
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/usr/bin/synaptiks": not in executable format: File format not recognized

But 'ls -l' shows that it is exutable!
Code: Select all
root@archbox bin]# ls -l synaptiks*
-rwxr-xr-x 1 root root 304 Aug 18 19:25 synaptiks
-rwxr-xr-x 1 root root 318 Aug 18 19:25 synaptikscfg
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This means that it is either corrupt, or a shell script pointing elsewhere.
Try running the "file" command against it and see what it outputs.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zetrotrack000
Registered Member
Posts
23
Karma
0
This means that it is either corrupt, or a shell script pointing elsewhere.
Try running the "file" command against it and see what it outputs.

Here is the output of 'file'
Code: Select all
[root@archbox~]# file /usr/bin/synaptiks
/usr/bin/synaptiks: Python script, ASCII text executable
User avatar
google01103
Manager
Posts
6668
Karma
25
what happens if you run
Code: Select all
python /usr/bin/synaptiks


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
Code: Select all
root@archbox ~]# python /usr/bin/synaptiks
Traceback (most recent call last):
  File "/usr/bin/synaptiks", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
User avatar
google01103
Manager
Posts
6668
Karma
25
this is a guess cause I don't use Arch - try installing python-setuptools, it should include pkg_resources.py,


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
google01103 wrote:this is a guess cause I don't use Arch - try installing python-setuptools, it should include pkg_resources.py,

still no luck after installation of python-setuptools
User avatar
google01103
Manager
Posts
6668
Karma
25
same error when you run
Code: Select all
python /usr/bin/synaptiks


OpenSuse Leap 42.1 x64, Plasma 5.x

zetrotrack000
Registered Member
Posts
23
Karma
0
google01103 wrote:same error when you run
Code: Select all
python /usr/bin/synaptiks

here is the output:
Code: Select all
root@archbox ~]# 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
User avatar
google01103
Manager
Posts
6668
Karma
25
the upgrade was to KDE 4.11? or to a newer version of Arch?

were you alway running Python 3.3?
do you have Python 2.x also installed? if so try
Code: Select all
 python2 /usr/bin/synaptiks


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

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