You are not logged in.

#1 2010-10-27 09:41:03

FernandoBasso
Member
From: Brazil
Registered: 2010-10-27
Posts: 102
Website

Python - Screenkey and Key-mon won't start (SOLVED)

You can see from the information supplied below that screenkey is set to
use python2 while key-mon is not. However, the errors are pretty similar.
What could be done?

vaio@nando, Wed Oct 27 06:56:53 
~ $ 
bash >>> screenkey 
Traceback (most recent call last):
  File "/usr/bin/screenkey", line 23, in <module>
    from Screenkey import APP_NAME, APP_DESC, VERSION
ImportError: No module named Screenkey
=========================================================

vaio@nando, Wed Oct 27 07:00:50 
~ $  
bash >>> sed -n '1p' /usr/bin/screenkey 
#!/usr/bin/python2
========================================================
vaio@nando, Wed Oct 27 06:56:53 
~ $  
bash >>> key-mon 
Traceback (most recent call last):
  File "/usr/bin/key-mon", line 2, in <module>
    import keymon.key_mon as km
ImportError: No module named keymon.key_mon
========================================================

vaio@nando, Wed Oct 27 07:01:02 
~ $  
bash >>> sed -n '1,5p' /usr/bin/key-mon 
#!/usr/bin/python
import keymon.key_mon as km
km.main()

EDIT: Solved by rebuilding the packages.

Last edited by FernandoBasso (2010-10-27 15:56:42)


There is a difference between knowing the path and walking the path.

Offline

#2 2010-10-27 15:54:55

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Python - Screenkey and Key-mon won't start (SOLVED)

As seen on irc(tm):

User didn't rebuilt the package when python 2.6 was updated to 2.7
Python 2.7 does not look into /usr/lib/python2.6/

Fixed by rebuilding/reinstalling.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB