shadimh / google-appengine-wx-launcher

Automatically exported from code.google.com/p/google-appengine-wx-launcher
Apache License 2.0
0 stars 0 forks source link

Unable to run multiple applications simultaneously #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Add two different applications to launcher
2. Run first application
3. Attempt to run second application, only to see it crash

What is the expected output? What do you see instead?

I expected to be able to run multiple applications. Seeing the logs, I noticed 
there was a weird "--admin_console_server=" option being added to the 
dev_appserver command line, which doesn't exist in Google App Engine 1.9.3.

What version of the product are you using? On what operating system?

I'm using the latest trunk version, on Ubuntu 12.04

Please provide any additional information below.

By removing the "--admin_console_server=" option and adding the "--admin_port" 
with the value (project.port-80) I was able to successfully run multiple 
applications simultaneously. I'm sending in a patch in the attachment.

It might be worth adding "admin port" to the application settings, since you 
can't run multiple admin servers simultaneously and my solution is just a quick 
hack. It would make things more transparent to the person running the app, 
since the only place where you can see that information is in the logs.

BTW, the project's tagline would be more informative if it said "Python 
Launcher for Google App Engine"... Had I not been redirected here by someone 
else, I would never look deep enough into the project page to know it worked on 
Linux too. :)

Original issue reported on code.google.com by george.b...@gmail.com on 23 Apr 2014 at 3:52

Attachments: