-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
"PRESUBMIT.py" had an exception #46930
Comments
@asashour Do you have python3 installed as well? |
Yes, python3 is installed, and even after putting it at the beginning of the
|
It shouldn't fail in the Also, try running |
FYI, I know of at least one developer on Windows that doesn't suffer this particular issue. That's why I'm trying to troubleshoot your setup. |
Found a potential fix, adding |
Thanks for your feedback. I am using the latest Indeed, putting the line in |
I have a CL that changes this in the SDK: https://dart-review.googlesource.com/c/sdk/+/211001 This doesn't really explain your issues, but we want to do this anyway because it will apply to future presubmit scripts as well. |
On trying
There is an error
I have downloaded the latest
depot_tools
on Windows, however, it seems it still users Python 2 and I assume the commit d2bd43f forces Python 3.set USE_PYTHON3=True
doesn't have an effect beforegit cl upload -s
which seems to come from
The text was updated successfully, but these errors were encountered: