Thanks Cedric, I will leave threads enabled for now.

Thank you Sergi, I tried that configuration, but got the same results.

The only file in the trytond-4.4.4/trytond/modules directory is __init__.py.

Here is the error:

(Tryton) root@host [/opt/Tryton]# /opt/python36/bin/uwsgi --ini 
/opt/Tryton/etc/tryton.ini
[uWSGI] getting INI configuration from /opt/Tryton/etc/tryton.ini
*** Starting uWSGI 2.0.15 (64bit) on [Thu Oct 26 16:27:50 2017] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-16) on 05 October 2017 
22:04:37
os: Linux-3.10.0-714.10.2.lve1.4.63.el7.x86_64 #1 SMP Sun Aug 20 17:46:23 EDT 
2017
nodename: host.mysite.com
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /opt/Tryton
detected binary path: /opt/python36/bin/uwsgi
setgid() to group
setuid() to user
chdir() to /opt/Tryton/trytond-4.4.4/trytond
your processes number limit is 14335
your memory page size is 4096 bytes
detected max file descriptor number: 4096
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 127.0.0.1:8000 fd 3
Python version: 3.6.2 (default, Aug  5 2017, 01:12:58)  [GCC 4.8.5 20150623 
(Red Hat 4.8.5-11)]
PEP 405 virtualenv detected: /opt/Tryton
Set PythonHome to /opt/Tryton
Python main interpreter initialized at 0x953960
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 166144 bytes (162 KB) for 2 cores
*** Operational MODE: threaded ***
/opt/Tryton/lib/python3.6/site-packages/trytond-4.4.4-py3.6.egg/trytond/modules/__init__.py:143:
 DeprecationWarning: This method will be removed in future versions.  Use 
'parser.read_file()' instead.
  module_config.readfp(fp)
ModuleNotFoundError: No module named 'trytond.application.app'; 
'trytond.application' is not a package
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 826)
spawned uWSGI worker 1 (pid: 828, cores: 2)
^CSIGINT/SIGQUIT received...killing workers...
worker 1 buried after 1 seconds
goodbye to uWSGI.
(Tryton) root@host [/opt/Tryton]#

Here is the tryton.ini file (with threads enabled):

[uwsgi]
uid = user
gid = group
master = True # start in master mode
http-socket = 127.0.0.1:8000
# bind to port 8000
enable-threads = true
workers = 1
threads = 2

virtualenv = /opt/Tryton
# chdir = /opt/Tryton/trytond-4.4.4/trytond
module = trytond.application.app
env = TRYTOND_CONFIG = /opt/Tryton/etc/trytond.conf

I tried this with the chdir command commented and uncommented, I got the same 
results.

Regards,
Paul

-- 
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/019c5d0a-7474-4865-b301-4d0b065f44e2%40googlegroups.com.

Reply via email to