[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Papo-hackers] No puedo ver el Primer ejemplo de Cimarron+Modeling
From: |
visualnex |
Subject: |
[Papo-hackers] No puedo ver el Primer ejemplo de Cimarron+Modeling |
Date: |
Wed, 31 Mar 2004 16:19:59 -0300 |
Estube tratando de probar el ejemplo pero tengo problemas para que funcione
cimarron.
Modeling funciona bien. Las pruebas fueron las siguientes:
baje del cvs de papo/cimarron el proyecto al 30/03/2004 y lo copie
a la carpeta /home/marcelo/cimarron. (Lo baje archivo por archivo)
al ejecutar make install obtengo el siguiente error:
#------
address@hidden:~$ cd cimarron
address@hidden:~/cimarron$ ls
copying doc images Makefile po pru src test
address@hidden:~/cimarron$ make install
PYTHONPATH=src: python -c 'f=file(".config", "w");from Utils.Parser import
Parser; p=Parser(); p.readfp(file("src/cimarron.cfg"));
[f.write("%s=%s\nexport %s\n" % (K, p.getlist("DEFAULT", k)[0], K)) for k, K
in [(i, i.upper()+"_CONF") for i in
("locales","images","shared","prefix","config_files")]]' || rm .config
Traceback (most recent call last):
File "<string>", line 1, in ?
NameError: name 'file' is not defined
rm: no se puede borrar `.config': No existe el fichero o el directorio
make: *** [.config] Error 1
#------
Si quiero ejecutar el hello.py de cimarron/doc
me da el error
address@hidden:~/cimarron/doc$ PAYTHONPATH=/home/marcelo/cimarron/src
address@hidden:~/cimarron/doc$ python2.2 hello.py
Traceback (most recent call last):
File "hello.py", line 4, in ?
import cimarron
ImportError: No module named cimarron
address@hidden:~/cimarron/doc$
#-----
#si copio el hello.py dentro de cimarron/src
me da el error
address@hidden:~/cimarron/src$ ls
cimarron.cfg cimarron.pyc Generic hello.py mvc.py
cimarron.py example.py Gtk2 Makefile Utils
address@hidden:~/cimarron/src$ python2.2 hello.py
Traceback (most recent call last):
File "hello.py", line 4, in ?
import cimarron
File "cimarron.py", line 61, in ?
_ = translation("cimarron", __config.get("DEFAULT", "locales")).ugettext
File "/usr/lib/python2.2/gettext.py", line 241, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'cimarron'
address@hidden:~/cimarron/src$
#-----
Se agradecen sugerencias...
Saludos
Marcelo Ametller
- [Papo-hackers] No puedo ver el Primer ejemplo de Cimarron+Modeling,
visualnex <=