Instaling new modules to tryton


#1
Traceback (most recent call last):
  File "/usr/local/bin/trytond-admin", line 4, in <module>
    __import__('pkg_resources').run_script('trytond==4.4.18', 'trytond-admin')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1438, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/EGG-INFO/scripts/trytond-admin", line 21, in <module>
    admin.run(options)
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/admin.py", line 53, in run
    pool.init(update=options.update, lang=list(lang))
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/pool.py", line 153, in init
    lang=lang)
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/modules/__init__.py", line 451, in load_modules
    _load_modules()
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/modules/__init__.py", line 419, in _load_modules
    graph = create_graph(module_list)[0]
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/modules/__init__.py", line 158, in create_graph
    info = get_module_info(module)
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/modules/__init__.py", line 142, in get_module_info
    with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp:
  File "/usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/tools/misc.py", line 78, in file_open
    raise IOError('File not found : %s ' % name)
OSError: File not found : /usr/local/lib/python3.6/dist-packages/trytond-4.4.18-py3.6.egg/trytond/modules/health_crypto/tryton.cfg

(Nicolas Évrard) #2

I guess you didn’t install correctly the health_crypto module.
It would be nice if instead of just copy/pasting the traceback you would give a bit of context otherwise it’s very difficult to help.


#3

I dowload the trytond twillow modules which i then performe the python install after that i did trytond-admin -c -d -u then it throw up an error


(Nicolas Évrard) #4

The error you copy/pasted is about the health_crypto module. Maybe this module is not correctly installed.