Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Deployment Error with Google App Engine Launcher

📅 2012-May-06 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ error, google app engine launcher ⬩ 📚 Archive

 

Problem

You try to deploy an application using the Google App Engine Launcher. It asks for your Email and Password, so you enter your Google login and password. But, the deploy script (appcfg.py) fails with the error shown above:

  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 94, in __init__
    self.reason = args["Error"]
AttributeError: can't set attribute

Solution

You can use your Google login, but the password associated with that account is not usable for application deployment. For this, you need what is called an application-specific password. To create it go to https://accounts.google.com/IssuedAuthSubTokens. You can find the option to create application-specific passwords at the bottom of that page.

Once you have created an application-specific password, copy it and use it along with your Google login to deploy your application. It should deploy successfully now.

Tried with: Google App Engine SDK 1.6.5


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email