El viernes, 24 de febrero de 2017, 10:21:34 (UTC-3), Luis Deiana escribió: > > > > El viernes, 24 de febrero de 2017, 9:42:51 (UTC-3), Sergi Almacellas > Abellana escribió: >> >> El 24/02/17 a les 13:34, Luis Deiana ha escrit: >> > >> > >> > El jueves, 23 de febrero de 2017, 12:52:28 (UTC-3), Sergi Almacellas >> > Abellana escribió: >> > >> > El 23/02/17 a les 16:47, Luis Deiana ha escrit: >> > > >> > > Esto tiene pinta de que tienes opciones mezcladas. Es decir >> el >> > trytond >> > > apunta a una versión distinta de la instalada. >> > > >> > > por lo que entiendo tengo instalados python 2.7.5 y python3, a >> eso te >> > > referis? >> > Tienes instalado una serie de trytond (seguramente 4.0) però estas >> > llamando código de una versión anterior (seguramente 3.4). >> > >> > OK Sergi, estaba ejecutando desde un archivo de la version vieja. >> > Cambie, me pidio un par de dependencias, las resolvi y ahora estoy con >> > una dependencia de la localizacion argentina: >> > >> > luis@Tryton:~/tryton/trytond$ ~/tryton/trytond/bin/trytond -c >> > /etc/trytond.conf >> > Traceback (most recent call last): >> > File "/home/luis/tryton/trytond/bin/trytond", line 24, in <module> >> > from trytond.application import app >> > File "/home/luis/tryton/trytond/trytond/application.py", line 8, in >> > <module> >> > Pool.start() >> > File "/home/luis/tryton/trytond/trytond/pool.py", line 97, in start >> > register_classes() >> > File "/home/luis/tryton/trytond/trytond/modules/__init__.py", line >> > 362, in register_classes >> > mod_file, pathname, description) >> > File >> "/home/luis/tryton/trytond/trytond/modules/party_ar/__init__.py", >> > line 3, in <module> >> > from .party import * >> > File "/home/luis/tryton/trytond/trytond/modules/party_ar/party.py", >> > line 2, in <module> >> > import stdnum.ar.cuit as cuit >> > ImportError: No module named ar.cuit >> > >> > ya consulte en la localizacion Argentina aver por donde sigo. >> >> Seguramente se solucione con: >> >> pip install --upgrade python-stdnum >> >> Però por lo que veo esta códificación ya hace dias que existe. >> >> >> funciono pero sigo con los errores: > > luis@Tryton:~/tryton/trytond$ ~/tryton/trytond/bin/trytond -c > /etc/trytond.conf > Traceback (most recent call last): > File "/home/luis/tryton/trytond/bin/trytond", line 24, in <module> > from trytond.application import app > File "/home/luis/tryton/trytond/trytond/application.py", line 8, in > <module> > Pool.start() > File "/home/luis/tryton/trytond/trytond/pool.py", line 97, in start > register_classes() > File "/home/luis/tryton/trytond/trytond/modules/__init__.py", line 362, > in register_classes > mod_file, pathname, description) > File "/home/luis/tryton/trytond/trytond/modules/account/__init__.py", > line 6, in <module> > from .account import * > File "/home/luis/tryton/trytond/trytond/modules/account/account.py", > line 7, in <module> > from sql import Column, Null, Window, Literal > ImportError: cannot import name Window > > > Solucione actualizando phyton-sql. Resolvi el resto de los modulos faltantes y actualizaciones y al ejecutar el servidor se queda esperando sin titilar el cursor como si hubiese funcionado:
luis@Tryton:~/tryton/tryton$ ~/tryton/trytond/bin/trytond -c /etc/trytond.conf pero el cliente sigue diciendo Database: "incompatible version of the server" este error me lo da cuando pongo la ip del servidor de Tryton 4.0 o la de cualquier otro ip y cuando intento hacerlo por el navegador con 192.168.15.40:8000 tampoco lo encuentra > > >> > Gracias loco >> >> De nada boludo ;) >> >> >> -- >> Sergi Almacellas Abellana >> www.koolpi.com >> Twitter: @pokoli_srk >> >
