I've download google app engine (python) for windows and
install it. Then I went to console.developers.google.com/project and
create new project. After that, I launched google app engine launcher,
create new application and named it as project I have recently create. I
click on deploy and constantly getting this error:
03:35 PM Application: udacity-hello-pozdrav; version: 1
03:35 PM Host: appengine.google.com
03:35 PM
Starting update of app: udacity-hello-pozdrav, version: 1
03:35 PM Getting current resource limits.
Password for t******.****@gmail.com: Invalid username or password.
2014-09-06 15:35:56,690 ERROR appcfg.py:2411 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting.
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
2014-09-06 15:35:56 (Process exited with code 1)
You can close this window now.
I've read about appcfg.py but when I enter it in cmd, It says that it's not recognized.
Answer:
Well, in floundering around I've found an answer.
I went here:
https://www.google.com/settings/security/lesssecureapps
and selected "Enable" less secure devices and apps to access your data. When I tried to Deploy - it worked.
and selected "Enable" less secure devices and apps to access your data. When I tried to Deploy - it worked.
Less secure apps
Some devices and apps use insecure sign-in technology to access your data.
Choosing Disable prevents these less secure devices and apps from accessing your Google Account.
Choosing Enable increases your chances of unauthorized account access but allows you to continue using these less secure devices and apps. Learn more
Choosing Disable prevents these less secure devices and apps from accessing your Google Account.
Choosing Enable increases your chances of unauthorized account access but allows you to continue using these less secure devices and apps. Learn more
Access for less secure apps
Disable
Enable
No comments:
Post a Comment