Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supervisorctl fg always raises INCORRECT_PARAMETERS on Python 3 #836

Closed
mnaberez opened this issue Oct 9, 2016 · 5 comments · Fixed by #1029
Closed

supervisorctl fg always raises INCORRECT_PARAMETERS on Python 3 #836

mnaberez opened this issue Oct 9, 2016 · 5 comments · Fixed by #1029

Comments

@mnaberez
Copy link
Member

mnaberez commented Oct 9, 2016

Start supervisord in the foreground with a subprocess running:

$ python --version
Python 3.5.2

$ cat supervisord.conf
[supervisord]
loglevel = blather
nodaemon = true

[inet_http_server]
port = 127.0.0.1:9001

[supervisorctl]
serverurl = http://127.0.0.1:9001

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[program:cat]
command = /bin/cat

$ supervisord -c supervisord.conf

In another terminal, start supervisorctl fg and type something followed by return:

$ supervisorctl -c supervisord.conf fg cat
==> Press Ctrl-C to exit <==
hi
ERROR: <Fault 2: 'INCORRECT_PARAMETERS'>
Exiting foreground
$

Tested on 427eb2b. Note that in earlier versions, fg swallowed most XML-RPC faults so it would fail silently. The cause of INCORRECT_PARAMETERS is the same as #835 (comment). Once that is fixed, we should try the above again to be sure supervisorctl fg is also fixed.

@JockDaRock
Copy link

what is the progress of getting supervisor to play well with Python 3???

@mnaberez
Copy link
Member Author

what is the progress of getting supervisor to play well with Python 3???

Issues that still need to be resolved are tagged python 3.

@AlJohri
Copy link

AlJohri commented Aug 9, 2017

if I wanted to support supervisor getting python3 support via bountysource which issue would be a good one to donate to? @mnaberez

@mnaberez
Copy link
Member Author

mnaberez commented Aug 9, 2017

if I wanted to support supervisor getting python3 support via bountysource

This project is not current participating in any bounty websites and is also not currently soliciting monetary donations. If the project participates in any bounties or seeks donations, it will be indicated on supervisord.org or the supervisor-users mailing list. Please do not enroll the project in such websites yourself; the project developers can do this themselves if they decide to do so.

@AlJohri
Copy link

AlJohri commented Aug 9, 2017

cool, thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants