Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Oct 2011 00:50:48 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        "Luiz Gustavo S. Costa" <luizgustavo@luizgustavo.pro.br>
Cc:        duchateau.olivier@gmail.com, freebsd-ports@freebsd.org
Subject:   Re: x11/keybinder + python
Message-ID:  <4E8CC328.1070600@yandex.ru>
In-Reply-To: <CAKEFgKwFq7w0o5HQab2ozmyLNf1y6hoojn36S545p135uNP1nA@mail.gmail.com>
References:  <CAKEFgKwFq7w0o5HQab2ozmyLNf1y6hoojn36S545p135uNP1nA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Luiz Gustavo S. Costa wrote on 05.10.2011 23:42:

> [lgcosta@desktop] /usr/local/share/examples/keybinder>  python example.py
> Traceback (most recent call last):
>    File "example.py", line 9, in<module>
>      import keybinder
>    File "/usr/local/lib/python2.7/site-packages/keybinder/__init__.py",
> line 26, in<module>
>      from _keybinder import *
> ImportError: No module named _keybinder
> [lgcosta@desktop] /usr/local/share/examples/keybinder>

This is actually libtool issue on 10-CURRENT.
I just tried this and it working for me.

1. Deinstall keybinder
2. setenv UNAME_r 9.9-CURRENT
3. cd /usr/ports/x11/keybinder && make install clean

After that example.py is working:

[rm@smeshariki3 keybinder]> python example.py
Press <Ctrl>A to handle keybinding and quit
Handling Keystring <Ctrl>A (user data)

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E8CC328.1070600>