On 2017-10-16 18:05, PMan wrote:
> ./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)
> ModuleNotFoundError: No module named 'trytond.backend.'
Your configuration does not define correctly a backend:
http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#uri
(Or the configuration file is not readable)
PS: Please cleanup your emails when answering, having to scroll so much
useless lines before finding your answer will discourage most of the
reader, see https://groups.tryton.org/netiquette
--
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/20171017072834.GN3623%40kei.