-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comments included as part of minfds value #1230
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
Comments
Error: Configuration excerpt:
Removing the comment or downgrading to 3.3.5 fixes the problem. |
@BillMedernach What Python version are you using ( |
@mnaberez We're running 2.7.15 |
I added tests for this case ( Are you able to consistently reproduce it with the config above? |
Yes, that config always produces that error on v4.0.0+. |
Could you please attach the actual |
|
Here's what I get with that config. This is Supervisor 4.0.1 running on Python 2.7.15:
It is not halting with Maybe something is getting lost with copy/paste. Can you please |
Here's the base64. I did redact the username and password we use though.
|
I believe I'm using the same Supervisor version (4.0.1), same Python version (2.7.15), and a byte-for-byte identical config file as you. I can't get the error to happen. I'd appreciate if you could please confirm all this on your setup again. After that, I'm not sure, any ideas would be appreciated. |
@mnaberez My apologies. I didn't have a way to get the actual host this was running on before but now I have an exact replica of it. The issue is still occurring but we're actually running Python 2.7.16. Small difference, but perhaps the issue lies there. I can also confirm this does not happen with v3.4.0 by the way. |
This comment has been minimized.
This comment has been minimized.
I have same error I remove everything, my
|
I was able to reproduce it. Here's what I tried:
This is the exact config file that I used in both cases:
|
This comment has been minimized.
This comment has been minimized.
This error occurs when a
In Python 3, the It can be fixed with this patch against master (d3f48a8): diff --git a/supervisor/compat.py b/supervisor/compat.py
index 25b5e15..ef78033 100644
--- a/supervisor/compat.py
+++ b/supervisor/compat.py
@@ -62,9 +62,9 @@ except ImportError: # pragma: no cover
syslog = None
try: # pragma: no cover
- import configparser as ConfigParser
+ import ConfigParser
except ImportError: # pragma: no cover
- import ConfigParser
+ import configparser as ConfigParser I will test it further and then make a point release with this fix. |
Fantastic. Thanks for all your help! |
Supervisor 4.0.2 (PyPI package; includes this fix) @BillMedernach @jenyak @sdanbury Thank you! |
Great find! Good work. |
References Supervisor#1229 References Supervisor#1230 (cherry picked from commit a1643db)
(cherry picked from commit 2c2cd35)
@BillMedernach wrote in #1229 (comment):
The text was updated successfully, but these errors were encountered: