Rubber Duck
Rubber Duck

Reputation: 3733

Trouble with Google appengine id

I successfully launched an app locally on the local host

When I deployed to the appengine I got an error.

com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=my_id&version=1& 404 Not Found This application does not exist (app_id=u'my_id').

For some reason the ID given in the error has u and a space appended in the beginning

I doubled checked the application exists and succesfuly uploaded the app from another computer

Upvotes: 1

Views: 183

Answers (1)

VonC
VonC

Reputation: 1326776

All the solutions I can find (like "This application does not exist (app_id=xxx)", or "GAE - Deployment Error: “AttributeError: can't set attribute") mention running appcfg.py with the --no_cookies

 C:\Program Files (x86)\Google\google_appengine\appcfg.py

 appcfg.py --no_cookies update my-app-folder\
 # or (2-steps verificatio enabled)
 appcfg.py --oauth2 --no_cookies update my-app-folder\

If the project contains Java7 classes, you need to add the --use_java7 option, as shown in the question "Failed to deploy to Google App Engine because --use_java7 flag has not been set".


While you can run appcfg from the GAE installation path, the page "Using the Google Plugin for Eclipse" mentions (at the bottom of the page):

Some features of the App Engine Java SDK tools are only available by running the tools directly from the command line. If you have installed the SDK using Eclipse, you can run these tools from the Eclipse plugin installation directory.

The SDK is located in your Eclipse installation directory, under plugins/com.google.appengine.eclipse.sdkbundle_VERSION/, where VERSION is a version identifier for the SDK.
In this directory is the appengine-java-sdk/bin/ subdirectory containing the tools.

Upvotes: 1

Related Questions