-
Notifications
You must be signed in to change notification settings - Fork 86
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
AttributeError: 'NoneType' object has no attribute 'log' #182
Comments
@wtrwinberg I don't see such error on our examples. Which agent version do you use? |
@HardNorth The agent version is the latest available: 5.1.1 |
@wtrwinberg I'm still not getting it. Where do you get |
Actually there is no |
That's correct - the log method is utilised by default, where the warning appears when it emits rp_client.log at the return statement in the following file https://github.com/reportportal/client-Python/blob/develop/reportportal_client/logs/init.py - it might be a version mismatch, if so, the issue can be closed |
Ahh, thanks, now I got it. |
A PytestUnhandledThreadExceptionWarning is triggered when returning the log property from the rp_client object:
AttributeError: 'NoneType' object has no attribute 'log'
This warning does not appear with reportportal-client at version
5.1.0
and below but appears at5.2.0
onwards.The text was updated successfully, but these errors were encountered: