On 2017-10-14 15:33, PMan wrote:
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "./bin/trytond", line 4, in <module>
> __import__('pkg_resources').run_script('trytond==4.4.4', 'trytond')
> File "/opt/Tryton/lib/python3.6/site-packages/pkg_resources/__init__.py",
> line 743, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/opt/Tryton/lib/python3.6/site-packages/pkg_resources/__init__.py",
> line 1498, in run_script
> exec(code, namespace, namespace)
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/EGG-INFO/scripts/trytond",
> line 24, in <module>
> from trytond.application import app
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/application.py",
> line 8, in <module>
> Pool.start()
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/pool.py",
> line 95, in start
> register_classes()
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/modules/__init__.py",
> line 336, in register_classes
> import trytond.ir
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/ir/__init__.py",
> line 4, in <module>
> from .configuration import *
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/ir/configuration.py",
> line 3, in <module>
> from ..model import ModelSQL, ModelSingleton, fields
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/model/__init__.py",
> line 3, in <module>
> from .model import Model
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/model/model.py",
> line 8, in <module>
> from trytond.model import fields
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/model/fields/__init__.py",
> line 4, in <module>
> from .field import *
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/model/fields/field.py",
> line 20, in <module>
> Database = backend.get('Database')
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/backend/__init__.py",
> line 34, in get
> raise exception
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/backend/__init__.py",
> line 26, in get
> __import__(modname)
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/backend/postgresql/__init__.py",
> line 4, in <module>
> from .database import *
> File
> "/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/backend/postgresql/database.py",
> line 16, in <module>
> from psycopg2 import connect, Binary
> File
> "/opt/python36/lib/python3.6/site-packages/psycopg2-2.7.3.1-py3.6-linux-x86_64.egg/psycopg2/__init__.py",
> line 50, in <module>
> from psycopg2._psycopg import ( # noqa
> ImportError:
> /opt/python36/lib/python3.6/site-packages/psycopg2-2.7.3.1-py3.6-linux-x86_64.egg/psycopg2/_psycopg.cpython-36m-x86_64-linux-gnu.so:
> undefined symbol: PQconninfo
psycopg2 is not correctly installed.
I suggest you to use the package of your distribution.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/20171015142304.GB3705%40kei.