El 27/07/16 a les 21:50, Marko Randjelovic ha escrit:
> When starting trytond ver 4.1.0, I get this error:
>
> (trytond) mr@abc24:~/training/trytond4$ bin/trytond -c ../trytond4p.conf
> -d test
> Traceback (most recent call last):
> File "bin/trytond", line 24, in <module>
> from trytond.application import app
> File "/home/mr/training/trytond4/trytond/application.py", line 8, in
> <module>
> Pool.start()
> File "/home/mr/training/trytond4/trytond/pool.py", line 97, in start
> register_classes()
> File "/home/mr/training/trytond4/trytond/modules/__init__.py", line
> 362, in register_classes
> mod_file, pathname, description)
> File "/home/mr/training/trytond4/trytond/modules/account/__init__.py",
> line 6, in <module>
> from .account import *
> File "/home/mr/training/trytond4/trytond/modules/account/account.py",
> line 8, in <module>
> from sql import Column, Null, Window, Literal
> ImportError: cannot import name Window
account module at least version 0.7 of python-sql [1] and you seem to
have and older version. Please upgrade you python-sql to a more recent
version.
[1]
http://hg.tryton.org/modules/account/file/5d2be5235e04/setup.py#l50
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk