› Foros › PC › Software libre
running install
running build
running build_py
copying wiican/defs.py -> build/lib.linux-i686-2.6/wiican
running build_scripts
compiling po/nl.po -> build/mo/nl/wiican.mo
Building gettext files failed. Try setup.py --without-gettext [build|install]
Error: [Errno 2] No such file or directory
Building gettext files failed. Try setup.py --without-gettext [build|install]
amuchamu escribió:¿Has probado lo que te dice que pruebes?Building gettext files failed. Try setup.py --without-gettext [build|install]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
amuchamu escribió:Lo que significa es que pruebes con esto:
sudo python setup.py --without-gettext build
sudo python setup.py --without-gettext install
No sé si sólo uno o ambos, no sé cómo se instala eso, prueba primero sólo con el segundo y si no funciona prueba con los 2.
error: option --without-gettext not recognized
Building gettext files failed. Try setup.py --without-gettext [build|install]
sudo apt-get install gettext
sudo python setup.py install
Korso10 escribió:Yo lo instalé hace unos días como tú y no me dio fallos.
Si el error que te da esBuilding gettext files failed. Try setup.py --without-gettext [build|install]
Yo probaría a instalar gettext con:sudo apt-get install gettext
Y luego probar de nuevo a instalarlo con:sudo python setup.py install
running install
running build
running build_py
copying wiican/defs.py -> build/lib.linux-i686-2.6/wiican
running build_scripts
running install_lib
copying build/lib.linux-i686-2.6/wiican/defs.py -> /usr/local/lib/python2.6/dist-packages/wiican
byte-compiling /usr/local/lib/python2.6/dist-packages/wiican/defs.py to defs.pyc
running install_scripts
changing mode of /usr/local/bin/wiican to 755
changing mode of /usr/local/bin/wiican-service to 755
running install_data
copying org.gnome.wiican.service -> /usr/local/share/dbus-1/services
running install_egg_info
Removing /usr/local/lib/python2.6/dist-packages/wiican-0.3.0.egg-info
Writing /usr/local/lib/python2.6/dist-packages/wiican-0.3.0.egg-info
Traceback (most recent call last):
File "/usr/local/bin/wiican", line 35, in <module>
from wiican.defs import *
File "/usr/local/lib/python2.6/dist-packages/wiican/__init__.py", line 28, in <module>
import mapping
File "/usr/local/lib/python2.6/dist-packages/wiican/mapping/__init__.py", line 24, in <module>
from validator import WMInputValidator as MappingValidator
File "/usr/local/lib/python2.6/dist-packages/wiican/mapping/validator.py", line 27, in <module>
import ply.lex as lex
ImportError: No module named ply.lex
sudo apt-get install python-ply
Korso10 escribió:Dice que te falta el módulo ply.lex que tiene toda la pinta de ser un fichero de análisis léxico. Prueba con:sudo apt-get install python-ply
A ver si te va. De todas formas, yo no lo tengo instalado y no me ha dado ningún error (aunque no tenía la versión anterior).
Storz escribió:Korso10 escribió:Dice que te falta el módulo ply.lex que tiene toda la pinta de ser un fichero de análisis léxico. Prueba con:sudo apt-get install python-ply
A ver si te va. De todas formas, yo no lo tengo instalado y no me ha dado ningún error (aunque no tenía la versión anterior).
PORFIN!!!!!!!!!!!!!!!!!!!!!!
Ya me chusca, mil gracias tio, ahora ando mirando como pulsar 2 botones a la vez, me estoy volviendo loco, pero al menos ya puedo cambiar de script.
sudo modprobe uinput
sudo chmod 666 /dev/input/uinput
elchicosinhada escribió:Storz escribió:Korso10 escribió:Dice que te falta el módulo ply.lex que tiene toda la pinta de ser un fichero de análisis léxico. Prueba con:sudo apt-get install python-ply
A ver si te va. De todas formas, yo no lo tengo instalado y no me ha dado ningún error (aunque no tenía la versión anterior).
PORFIN!!!!!!!!!!!!!!!!!!!!!!
Ya me chusca, mil gracias tio, ahora ando mirando como pulsar 2 botones a la vez, me estoy volviendo loco, pero al menos ya puedo cambiar de script.
Prueba esto:sudo modprobe uinput
sudo chmod 666 /dev/input/uinput
$ sudo python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/wiican
copying wiican/defs.py -> build/lib.linux-x86_64-2.6/wiican
copying wiican/utils.py -> build/lib.linux-x86_64-2.6/wiican
copying wiican/__init__.py -> build/lib.linux-x86_64-2.6/wiican
creating build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/pnganimation.py -> build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/validationerrordlg.py -> build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/managerdlg.py -> build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/__init__.py -> build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/notificator.py -> build/lib.linux-x86_64-2.6/wiican/ui
copying wiican/ui/editordlg.py -> build/lib.linux-x86_64-2.6/wiican/ui
creating build/lib.linux-x86_64-2.6/wiican/service
copying wiican/service/wiican_dbus.py -> build/lib.linux-x86_64-2.6/wiican/service
copying wiican/service/wminput.py -> build/lib.linux-x86_64-2.6/wiican/service
copying wiican/service/__init__.py -> build/lib.linux-x86_64-2.6/wiican/service
creating build/lib.linux-x86_64-2.6/wiican/mapping
copying wiican/mapping/action_enum.py -> build/lib.linux-x86_64-2.6/wiican/mapping
copying wiican/mapping/validator.py -> build/lib.linux-x86_64-2.6/wiican/mapping
copying wiican/mapping/manager.py -> build/lib.linux-x86_64-2.6/wiican/mapping
copying wiican/mapping/mapping.py -> build/lib.linux-x86_64-2.6/wiican/mapping
copying wiican/mapping/__init__.py -> build/lib.linux-x86_64-2.6/wiican/mapping
running build_scripts
creating build/scripts-2.6
copying and adjusting bin/wiican -> build/scripts-2.6
copying and adjusting bin/wiican-service -> build/scripts-2.6
changing mode of build/scripts-2.6/wiican from 644 to 755
changing mode of build/scripts-2.6/wiican-service from 644 to 755
creating build/mo/tr
compiling po/tr.po -> build/mo/tr/wiican.mo
creating build/mo/ca
compiling po/ca.po -> build/mo/ca/wiican.mo
creating build/mo/sv
compiling po/sv.po -> build/mo/sv/wiican.mo
creating build/mo/pt_BR
compiling po/pt_BR.po -> build/mo/pt_BR/wiican.mo
creating build/mo/ru
compiling po/ru.po -> build/mo/ru/wiican.mo
creating build/mo/es
compiling po/es.po -> build/mo/es/wiican.mo
creating build/mo/eu
compiling po/eu.po -> build/mo/eu/wiican.mo
creating build/mo/nl
compiling po/nl.po -> build/mo/nl/wiican.mo
creating build/mo/pt
compiling po/pt.po -> build/mo/pt/wiican.mo
creating build/mo/fr
compiling po/fr.po -> build/mo/fr/wiican.mo
creating build/mo/da
compiling po/da.po -> build/mo/da/wiican.mo
creating build/mo/it
compiling po/it.po -> build/mo/it/wiican.mo
creating build/mo/de
compiling po/de.po -> build/mo/de/wiican.mo
running install_lib
copying build/lib.linux-x86_64-2.6/wiican/defs.py -> /usr/local/lib/python2.6/dist-packages/wiican
byte-compiling /usr/local/lib/python2.6/dist-packages/wiican/defs.py to defs.pyc
running install_scripts
copying build/scripts-2.6/wiican -> /usr/local/bin
copying build/scripts-2.6/wiican-service -> /usr/local/bin
changing mode of /usr/local/bin/wiican to 755
changing mode of /usr/local/bin/wiican-service to 755
running install_data
copying data/org.gnome.wiican.service -> /usr/local/share/dbus-1/services
copying build/mo/ca/wiican.mo -> /usr/local/share/locale/ca/LC_MESSAGES
copying build/mo/de/wiican.mo -> /usr/local/share/locale/de/LC_MESSAGES
copying build/mo/eu/wiican.mo -> /usr/local/share/locale/eu/LC_MESSAGES
copying build/mo/sv/wiican.mo -> /usr/local/share/locale/sv/LC_MESSAGES
copying build/mo/nl/wiican.mo -> /usr/local/share/locale/nl/LC_MESSAGES
copying build/mo/es/wiican.mo -> /usr/local/share/locale/es/LC_MESSAGES
copying build/mo/tr/wiican.mo -> /usr/local/share/locale/tr/LC_MESSAGES
copying build/mo/pt/wiican.mo -> /usr/local/share/locale/pt/LC_MESSAGES
copying build/mo/pt_BR/wiican.mo -> /usr/local/share/locale/pt_BR/LC_MESSAGES
copying build/mo/ru/wiican.mo -> /usr/local/share/locale/ru/LC_MESSAGES
copying build/mo/fr/wiican.mo -> /usr/local/share/locale/fr/LC_MESSAGES
copying build/mo/da/wiican.mo -> /usr/local/share/locale/da/LC_MESSAGES
copying build/mo/it/wiican.mo -> /usr/local/share/locale/it/LC_MESSAGES
running install_egg_info
Removing /usr/local/lib/python2.6/dist-packages/wiican-0.3.1.egg-info
Writing /usr/local/lib/python2.6/dist-packages/wiican-0.3.1.egg-info
$ wiican
(wiican:5075): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient
(wiican:5075): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient
(wiican:5075): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient
(wiican:5075): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient
ERROR:dbus.proxies:Introspect error on :1.195:/org/gnome/Wiican: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/local/bin/wiican", line 314, in <module>
launch_statusicon()
File "/usr/local/bin/wiican", line 273, in launch_statusicon
wiican = WiimoteStatusIcon()
File "/usr/local/bin/wiican", line 80, in __init__
self.__cur_status = self.__wiican_iface.GetStatus()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.195 was not provided by any .service files