El viernes, 13 de abril de 2018, 15:20:11 (UTC+1), Sergi Almacellas Abellana escribió: > 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
It works. Gracias! -- 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/114fff7a-7aaf-470b-84c2-e72b2407ecda%40googlegroups.com.