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

 

> > 
> > Gracias loco 
>
> De nada boludo ;) 
>
>
> -- 
> Sergi Almacellas Abellana 
> www.koolpi.com 
> Twitter: @pokoli_srk 
>

Responder a