Again you were right! Thank you so much for the help, for which you are 
interested, the solution was to use Python virtual environments.

El miércoles, 14 de enero de 2015, 8:16:20 (UTC-3), El Fran escribió:
>
> Hi, I'm trying to import products with Proteus library, I found a document 
> [1] with a script but am having problems. After creating the file with the 
> script I run the console (doing python Import_csv_proteus.py )and get the 
> following error:
>
> Traceback (most recent call last):
>   File "Import_csv_proteus.py", line 6, in <module>
>     config = config.set_trytond('test_341', database_type='postgresql', 
> config_file='/etc/TRYTON/trytond.conf')
> TypeError: set_trytond() got an unexpected keyword argument 'database_type'
>
> I'm using the version 3.4 and my trytond.conf file is:
>
> [jsonrpc]
> listen=*:8000
>
>
> [database]
> uri=postgresql://xxxxxx:xxxxxxx@localhost:5432 
> path=/home/----/----
>
>
> [session]
> timeout=3600
> super_pwd=----------   
>
>
>
> I hope to resolve this issue, thank you very much in advance
>
> [1] 
> http://javivf.alasombra.net/blog/2013/06/importar-datos-a-tryton-usando-proteus-desde-csv
>

Reply via email to