-
Notifications
You must be signed in to change notification settings - Fork 51
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
TypeError: object of type 'NoneType' has no len() when uploading coverage #641
Comments
Thanks @joseph-sentry ! I didn't have the python chops to help out :) |
This is an upstream bug that is being fixed. This patch will have to be reverted. Refs: * codecov/codecov-cli#641 * codecov/codecov-cli#643
@thomasrockhu-codecov @joseph-sentry FYI, you should be able to mark the PyPI release as yanked to limit the damage. |
UPD: I see it got yanked which is why there's no mass reports with this traceback. |
Oh, I'm still seeing this in CIs because the actions download 10.1.0 from another hosting: https://github.com/ansible/awx-plugins/actions/runs/13437325559/job/37542819968#step:24:41. Interestingly, there's some API that returns HTML in place of JSON: https://github.com/ansible/awx-plugins/actions/runs/13437325559/job/37542819968#step:23:45. But it's probably being hit on the action side, not the CLI project... @thomasrockhu-codecov any chance to change “latest” to the previous version there too? Looks like the workaround would be |
@webknjaz hoping to get out a deploy that should fix this today |
This is a workaround for the bug reported @ codecov/codecov-cli#641. It should be reverted once v10.1.1 is released with the fix.
Apparently, it's |
This is a follow-up for 6b26065. Ref: codecov/codecov-cli#641
Hi there!
We've noticed that since release 10.1.0 went out that our codecov upload github action is failing with the following stack trace
I suspect this is due to this change #625
I'm not very well versed in python but maybe len(None) isn't allowed?
The text was updated successfully, but these errors were encountered: