You are not logged in.
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 syntaxi have allready tried changing python to python2 in the script as disscused in other posts about similar problems
#!/usr/bin/python2but 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.daemonizeany idea?
cheers
horst
Last edited by mongohorst (2010-10-20 14:30:47)
Offline
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
thank you, that worked!
Offline
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