El 13/04/18 a les 10:59, Carlos Ibrahim Arias ha escrit:
> Hello,
> 
> I'm testing tryton version 4.6 on a centos 7 host. I did the installation 
> with no errors using the following script 
> https://bitbucket.org/carlos_ia/trytoninstall/src/454963514b8270619c948c376a2318dcfb86c3cc/tryton-install?at=default&fileviewer=file-view-default
>  based on nantic tools.
> 
> When trying to the init setup I got the following error:
> 
> [tryton@trytontest ~]$ /home/tryton/trytonERP/trytond/bin/trytond-admin 
> --config /etc/trytond.conf -d cialDB --logconf /etc/trytond_log.conf --all
> [Fri Apr 13 08:51:01 2018] INFO:server:using /etc/trytond_log.conf as logging 
> configuration file
> Traceback (most recent call last):
>   File "/home/tryton/trytonERP/trytond/bin/trytond-admin", line 21, in 
> <module>
>     admin.run(options)
>   File "/home/tryton/trytonERP/trytond/trytond/admin.py", line 20, in run
>     Database = backend.get('Database')
>   File "/home/tryton/trytonERP/trytond/trytond/backend/__init__.py", line 34, 
> in get
>     raise exception
> ImportError: cannot import name register_default_jsonb

The error is due to this changeset:

http://hg.tryton.org/trytond/rev/5eb2714a75da

which raised the required version of psycopg2 to 2.5.4

It seems that you have an older version. You should upgrade pyscopg2 in
order to fix it.

Hope it helps.

-- 
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/6fe89384-6d15-c9db-a78c-1dad2def6669%40koolpi.com.

Reply via email to