WAI
Status Update
Comments
to...@gmail.com <to...@gmail.com> #2
Hello,
Thank you very much for letting us know. I understand that you have Python and Cloud SDK installed within directories in Windows OS where the full path contains spaces. Then you noticed that Cloud SDK wouldn't find properly the Python being installed and the gcloud commands wouldn't function properly.
I have reproduced the issue and indeed the Python installation was not properly detected while I can confirm that it is installed and working as expected. I have contacted the Cloud SDK engineering team and informed them about this issue. I don't have an ETA on the resolution of this issue, however, please keep following this thread ans any further updates will be posted directly here.
Thank you very much for letting us know. I understand that you have Python and Cloud SDK installed within directories in Windows OS where the full path contains spaces. Then you noticed that Cloud SDK wouldn't find properly the Python being installed and the gcloud commands wouldn't function properly.
I have reproduced the issue and indeed the Python installation was not properly detected while I can confirm that it is installed and working as expected. I have contacted the Cloud SDK engineering team and informed them about this issue. I don't have an ETA on the resolution of this issue, however, please keep following this thread ans any further updates will be posted directly here.
vi...@google.com <vi...@google.com> #3
I am also facing the same issue, I wanted to deploy my Django (Python) web app on google cloud but cloud SDK itself not getting installed on my machine. Getting Below error:
Output folder: C:\Users\Mangesh\AppData\Local\Google\CloudSDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Users\Mangesh\AppData\Local\Google\CloudSDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH.
As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
to the location of your Python executable.
Failed to install.
However I have Python at my path and even CLOUDSDK_PYTHON variable available. Other way Python is working fine for me and its getting detected by applications.
Please assist.
Output folder: C:\Users\Mangesh\AppData\Local\Google\CloudSDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Users\Mangesh\AppData\Local\Google\CloudSDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH.
As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
to the location of your Python executable.
Failed to install.
However I have Python at my path and even CLOUDSDK_PYTHON variable available. Other way Python is working fine for me and its getting detected by applications.
Please assist.
to...@gmail.com <to...@gmail.com> #4
I have the same problem.
https://issuetracker.google.com/issues/146458535
== gcloud.cmd L.104
!CLOUDSDK_PYTHON! -c "import sys; print(sys.version)" >nul 2>&1
==
This line fails because the command part of the line is not quoted.
I think that Probably program name have to be quoted.
==
"!CLOUDSDK_PYTHON!" -c "import sys; print(sys.version)" >nul 2>&1
==
== gcloud.cmd L.104
!CLOUDSDK_PYTHON! -c "import sys; print(sys.version)" >nul 2>&1
==
This line fails because the command part of the line is not quoted.
I think that Probably program name have to be quoted.
==
"!CLOUDSDK_PYTHON!" -c "import sys; print(sys.version)" >nul 2>&1
==
to...@gmail.com <to...@gmail.com> #5
Hi, sorry for the inconvenience,
Can I have the output for `where python` and `where python3` from the system?
Can I have the output for `where python` and `where python3` from the system?
vi...@google.com <vi...@google.com> #6
I'm having the same issue for Windows 10. I previously had cloud SDK installed and working with Python3. After the last SDK and windows updates though, it no longer finds the path. When I started SDK and ran any "gcloud" or "gsutil" command, I got the "python not on path" message. I've tried the below:
1) Creating a CLOUDSDK_PYTHON environment variable.
2) Changing my Path variable to various locations and also adding a PYTHONPATH variable.
3) Changing the SDK install and bat files.
Finally I just uninstalled everything and now I can't re-install SDK as it's giving me the same python not on path message. Screenshot attached. My python paths are at the top of my Path environment variable (screenshot attached). I'm out of ideas. The documentation is very confusing since 3/4 of it says that SDK ONLY works with python 2.7, and then the other 1/4 just doesn't work for me. The only thing I can think of is that technically I don't have a python.exe file in my python locations. Windows uses python launcher in which case the exe file is "C:\Windows\py.exe"
Any help is appreciated.
1) Creating a CLOUDSDK_PYTHON environment variable.
2) Changing my Path variable to various locations and also adding a PYTHONPATH variable.
3) Changing the SDK install and bat files.
Finally I just uninstalled everything and now I can't re-install SDK as it's giving me the same python not on path message. Screenshot attached. My python paths are at the top of my Path environment variable (screenshot attached). I'm out of ideas. The documentation is very confusing since 3/4 of it says that SDK ONLY works with python 2.7, and then the other 1/4 just doesn't work for me. The only thing I can think of is that technically I don't have a python.exe file in my python locations. Windows uses python launcher in which case the exe file is "C:\Windows\py.exe"
Any help is appreciated.
vi...@google.com <vi...@google.com> #7
You can ignore my post. I fixed the problem by doing the following:
1) Uninstalled python37 and windows python launcher.
2) Re-installed python37 and re-added to the environment Path variable (This re-instated my missing python.exe file also; the py.exe file is also in it's Windows location for python launcher)
3) Deleted all previous SDK folders/files. (There was one still hanging out there from my previous copy)
4) Re-downloaded SDK and UNCHECKED the python bundle checkbox. It gave me a warning message that python was not installed, but after it completed, everything works as expected.
1) Uninstalled python37 and windows python launcher.
2) Re-installed python37 and re-added to the environment Path variable (This re-instated my missing python.exe file also; the py.exe file is also in it's Windows location for python launcher)
3) Deleted all previous SDK folders/files. (There was one still hanging out there from my previous copy)
4) Re-downloaded SDK and UNCHECKED the python bundle checkbox. It gave me a warning message that python was not installed, but after it completed, everything works as expected.
Description
Bug Report: AutofillService onSaveRequest Never Being Called
Device & Android Version:
Issue Summary: The
onSaveRequest
method ofAutofillService
is never called when implementing an autofill service for an external apps. Autofill suggestions appear correctly, and selecting a suggestion fills the field, but mentioned function is never triggered when submitting the form.Steps to Reproduce:
AutofillService
subclass.onFillRequest
to provide autofill suggestions.onSaveRequest
to handle data saving.onSaveRequest
is never called.Expected Behavior:
onSaveRequest
method should be triggered after the user submits the form where an autofill field was used.Actual Behavior:
onSaveRequest
method is never called, preventing data from being saved.SaveInfo
inFillResponse
does not resolve the issueCode
Security-Related Issue: No