You are not logged in.

#1 2010-10-20 08:23:57

mongohorst
Member
Registered: 2010-09-29
Posts: 29

[SOLVED] eee-control doesn't work after last pacman -Syu

if i try to start eee-control-daemon as root i get:

 
File "/usr/bin/eee-control-daemon", line 33
    print "I can only run as root."
                                  ^
SyntaxError: invalid syntax

i have allready tried changing python to python2 in the script as disscused in other posts about similar problems

#!/usr/bin/python2

but that results in:

Traceback (most recent call last):
  File "/usr/bin/eee-control-daemon", line 24, in <module>
    import EeeControl.daemonize
ImportError: No module named EeeControl.daemonize

any idea?
cheers
horst

Last edited by mongohorst (2010-10-20 14:30:47)

Offline

#2 2010-10-20 10:57:02

m0nhawk
Member
Registered: 2010-01-15
Posts: 25

Re: [SOLVED] eee-control doesn't work after last pacman -Syu

Maybe it searching in folder of P2.7, but modules are in P2.6.* wherу it didn't search. Try to reinstall package. [Hard way] Or simple copy /usr/lib/python2.6/site-packages to /usr/lib/python2.7/site-packages.

Offline

#3 2010-10-20 14:29:29

mongohorst
Member
Registered: 2010-09-29
Posts: 29

Re: [SOLVED] eee-control doesn't work after last pacman -Syu

thank you, that worked!

Offline

#4 2010-10-26 17:59:14

Hukka
Member
From: Finland
Registered: 2010-10-26
Posts: 4

Re: [SOLVED] eee-control doesn't work after last pacman -Syu

I'm having the same problem. Reinstalling eee-control or copying /usr/lib/python2.6/site-packages to /usr/lib/python2.7/site-packages didn't help. Changing python to python2 in the script like mongohorst did leads to this error:

Traceback (most recent call last):
  File "/usr/bin/eee-control-daemon", line 25, in <module>
    import EeeControl.actions
  File "/usr/lib/python2.7/site-packages/EeeControl/actions.py", line 25, in <module>
    import ioport
ImportError: libpython2.6.so.1.0: cannot open shared object file: No such file or directory

Why is it looking for libpython2.6.so.1.0?

Offline

Board footer

Powered by FluxBB