Showing posts with label google app engine. Show all posts
Showing posts with label google app engine. Show all posts

Thursday, September 22, 2011

Google App Engine Localhost from Parallels


This post is for developers using a MAC, developing on the Google App Engine platform, attempting to connect to their development environment from Windows on Parallels to test browser compatibility.

NOTE: This post was updated on March 25th, 2013 to accommodate changes made to the GAE Python Development Server.

Again, you are:
1. Developing on a MAC.
2. Atop of Google App Engine
3. Using Parallels for browser testing

Setup:
1. On your MAC, open Google App Engine's Launcher application
2. Double click on the project you're attempting to connect to
3. In the "Extra Flags" field, enter "--host=0.0.0.0" (without the quotes) and hit the "Update" button.
4. Make sure the Windows firewall is OFF in your Parallels Windows instance.

That's it, open a browser in your Parallels Windows instance and hit the local network IP address of your MAC using the port delegation from Google App Engine launcher. For instance, if your MAC's IP address is 192.168.0.2, and your project's Google App Engine port is 8101, the address you put in your Parallels browser may be http://192.168.0.2:8101.

Voila.

Saturday, July 10, 2010

Another transaction by user ... is already in progress for this app and major version.

Gotta love it when your app deployment tells you there was on error on your last attempt to deploy... 24 hours ago. WHAT!? Thanks for the heads up Google.

Recently got hit with "Another transaction by user ... is already in progress for this app and major version." during what I thought was going to be a quick update.

Thanks to John Ballinger for posting instructions.

1. Start -> Run -> cmd
2. cd into your application directory. For me, this is cd /Sites/appengine_myapp
3. appcfg.py --no_cookies --email=YOUR_EMAIL_HERE@gmail.com --passin rollback ./
4. You should be prompted for your password.

Nice.