-
Notifications
You must be signed in to change notification settings - Fork 993
[Fix] sys.stderr.fileno() throws an AttributeError exception #246
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
@Evilran did you try it locally after adding Sounds good to me that we can add it. |
@mxschmitt I did that before and it works as expected! I think it would be nice if you could change it in the next stable version of |
Cool thanks for confirming, will adjust it. |
@Evilran released version 0.151.1 https://pypi.org/project/playwright/0.151.1/ |
Awesome work, cool! |
it seems not to work in 0.171.0 and celery 4.47 |
When I tried to delivered the playwright tasks via
celery==4.4.7
, I got anAttributeError
exception at line 50 inmain.py
.except AttributeError:
I've checked the source from
pytest
, the original code is:It perfectly works if I changed it to the original code, so I think we should be consistent with the original source code to enhance compatibility.
I also checked the celery official docs. The reason why I got an
AttributeError
exception probably is that the log proxy of celery is not support thestderr
attribute.The text was updated successfully, but these errors were encountered: