On Saturday, October 14, 2017 at 4:40:06 AM UTC-4, Cédric Krier wrote:
> On 2017-10-13 17:28, PMan wrote:
> > This gives me this error:
> > 
> > 'trytond.backend', db_type)
> > ValueError: not enough values to unpack (expected 1, got 0)
> > 
> 
> This is clearly a truncated error message.
> We can not help with such partial information.
> 
> 
> > 
> > Is there a way to set db type in the config file?
> > 
> 
> http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#uri
> 
> -- 
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected]
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/

Sorry... Here is the complete error message:

(Tryton) root@host [/opt/Tryton]# ./bin/trytond -c /opt/Tryton/etc/trytond.conf
Traceback (most recent call last):
  File 
"/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/backend/__init__.py",
 line 32, in get
    'trytond.backend', db_type)
ValueError: not enough values to unpack (expected 1, got 0)

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

Thank you.

-- 
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/850571d5-075b-4607-bedf-4849b6b20ade%40googlegroups.com.

Reply via email to