You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used python3.6.8 version on our application and i have used supervisor-stdout pip package on our docker image. when i start the container and got the below error on the docker logs
Traceback (most recent call last):
File "/usr/local/bin/supervisord", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/supervisor/supervisord.py", line 354, in main
options.realize(args, doc=doc)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 484, in realize
Options.realize(self, *arg, **kw)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 308, in realize
self.process_config()
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 544, in process_config
Options.process_config(self, do_usage=do_usage)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 316, in process_config
self.process_config_file(do_usage)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 346, in process_config_file
self.read_config(self.configfile)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 661, in read_config
section.process_group_configs = self.process_groups_from_parser(parser)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 742, in process_groups_from_parser
result_handler = self.import_spec(result_handler)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 391, in import_spec
return ep.resolve()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2440, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.6/site-packages/supervisor_stdout.py", line 22
print '%s %s | %s'%(headers['processname'], headers['channel'], data),
^
SyntaxError: invalid syntax
I have configured the supervisor.conf as per your suggestion, kindly check and resolve the issue
The text was updated successfully, but these errors were encountered:
I used python3.6.8 version on our application and i have used supervisor-stdout pip package on our docker image. when i start the container and got the below error on the docker logs
Traceback (most recent call last):
File "/usr/local/bin/supervisord", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/supervisor/supervisord.py", line 354, in main
options.realize(args, doc=doc)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 484, in realize
Options.realize(self, *arg, **kw)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 308, in realize
self.process_config()
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 544, in process_config
Options.process_config(self, do_usage=do_usage)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 316, in process_config
self.process_config_file(do_usage)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 346, in process_config_file
self.read_config(self.configfile)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 661, in read_config
section.process_group_configs = self.process_groups_from_parser(parser)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 742, in process_groups_from_parser
result_handler = self.import_spec(result_handler)
File "/usr/local/lib/python3.6/site-packages/supervisor/options.py", line 391, in import_spec
return ep.resolve()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2440, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.6/site-packages/supervisor_stdout.py", line 22
print '%s %s | %s'%(headers['processname'], headers['channel'], data),
^
SyntaxError: invalid syntax
I have configured the supervisor.conf as per your suggestion, kindly check and resolve the issue
The text was updated successfully, but these errors were encountered: