Supervisor: python3.4 supervisorctl not work

Created on 9 Sep 2014  路  13Comments  路  Source: Supervisor/supervisor

run: supervisorctl update
out: error: , [Errno 2] No such file or directory: file: /usr/local/lib/python3.4/dist-packages/supervisor/xmlrpc.py line: 497

python 3 supervisorctl

Most helpful comment

error: , [Errno 2] No such file or directory: file: /home/ubuntu/env/lib/python3.8/site-packages/supervisor/xmlrpc.py line: 560

please help me out from this problume

All 13 comments

Are you looking for this?
supervisor-py3k

supervisor-py3k is not update 2 years

Which version do you use? Have a look at #110
The master branch supports Python 3 now. You could give it a try (I didn't yet)

I use master branch / ubuntu 14.04 / python 3.4, supervisord work fine, supervisorctl not work, If I want to restart it, must kill and start again.

Never tried supervisorctl update
But supervisorctl works fine with me. I restarted my app by supervisorctl restart myapp and it works.
Ubuntu14.04& python3.4.1

supervisorctl restart myapp
will output "unix:///tmp/supervisor.sock ; use a unix:/ URL for a unix socket no such file"

will output "unix:///tmp/supervisor.sock ; use a unix:/ URL for a unix socket no such file"

That message should look like <url> no such file. It is generated by these lines in the code. Your comment ; use a unix:/ URL for a unix socket should not be in that message.

This indicates that the config file is not be parsed correctly; the comment is not being separated from the value. Note that comments must have a leading space.

I used the default conf and did some test, find the error cause by this line
If remove the comment, work fine. Else If have any comment, will be error
I can not explain it but it's work
supervisorctl restartandsupervisorctl update both work fine

My env is AWS ubuntu 14.04 / Python 3.4.0 (installed by apt-get)

At first I encountered the same problem ,

(FinancialChartsWebsiteEnv) root@iZwz962a07bhoio77q4ewxZ:~# supervisorctl update all
error: <class 'FileNotFoundError'>, [Errno 2] No such file or directory: file: /home/ubuntu/FinancialCsite/FinancialChartsWebsiteEnv/lib/python3.8/site-packages/supervisor/xmlrpc.py line: 560
(FinancialChartsWebsiteEnv) root@iZwz962a07bhoio77q4ewxZ:~#

but after changing dir to where supervisord.conf resides, the issue was gone

root@iZwz962a07bhoio77q4ewxZ:~# cd /home/ubuntu/FinancialChartsWebsite
root@iZwz962a07bhoio77q4ewxZ:/home/ubuntu/FinancialChartsWebsite# supervisorctl update all
foo: stopped
foo: updated process group
root@iZwz962a07bhoio77q4ewxZ:/

error: , [Errno 2] No such file or directory: file: /home/ubuntu/env/lib/python3.8/site-packages/supervisor/xmlrpc.py line: 560

please help me out from this problume

error: , [Errno 2] No such file or directory: file: /home/ubuntu/env/lib/python3.8/site-packages/supervisor/xmlrpc.py line: 560

please help me out from this problume

1 in 1 problem ... help

error: , [Errno 2] No such file or directory: file: /home/ubuntu/env/lib/python3.8/site-packages/supervisor/xmlrpc.py line: 560
please help me out from this problume

1 in 1 problem ... help

I have got the same problem.
I kill the supervisord process and start it again with -c option:

sudo killall supervisord
sudo supervisord -c /etc/supervisor/supervisord.conf

Now I don't have this problem.

I have the same problem. It wasted me 2 days, please help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvanasco picture jvanasco  路  46Comments

timonwong picture timonwong  路  49Comments

ido50 picture ido50  路  95Comments

gregpinero picture gregpinero  路  29Comments

ramary picture ramary  路  33Comments