2015-01-15 4:14 GMT+01:00 El Fran <[email protected]>: > tks for the quick reply! i can pass the error but... i get some other: > > python Import_csv_proteus.py > Traceback (most recent call last): > File "Import_csv_proteus.py", line 7, in <module> > config = config.set_trytond(database='postgresql', language='es_AR', > password='franfran', config_file='/etc/TRYTON/trytond.conf') > File "/usr/lib/python2.7/dist-packages/proteus/config.py", line 268, in > set_trytond > password=password, config_file=config_file) > File "/usr/lib/python2.7/dist-packages/proteus/config.py", line 201, in > __init__ > from trytond.config import config > ImportError: cannot import name config > > Im not sure what is happening.
I think you mix tryton versions. Check proteus and trytond are working in version 3.4 or same version Open a terminal and do this comand: $ python > from trytond.config import config You get same error because trytond is older version than proteus. -- Raimon Esteve // Tryton y OpenERP en la nube: http://www.zzsaas.com // Documentación: http://doc.zzsaas.com www.zikzakmedia.com
