Thanks howesc.

I have figured it out. It seems to be a quirk with how you configure a new 
app in the GUI for GAE launcher.

   - in the 'New Application Settings', the 'Application Name' field should 
   be left blank - just enter the web2py root directory in the 'Application 
   Directory' field. It then runs correctly using my app.yaml and routes.py 
   from the web2py directory
   - my error was to fill in the 'Application Name' as well. This confuses 
   things - GAE launcher creates a new sub-folder using the Application Name, 
   inserts its own default app.yaml and main.py file and runs from these, 
   displaying a blank screen apart from "Hello World"

This was not obvious to me - I clearly have a lot to learn!

On Thursday, November 22, 2012 2:39:48 AM UTC+4, howesc wrote:
>
> can you open the logs in the GAE launcher and paste in the output from a 
> launch and first URL access?  i suspect there is a config issue and 
> hopefully the logs will help us debug!
>
> cfh
>
> On Tuesday, November 20, 2012 6:40:39 AM UTC-8, Andy W wrote:
>>
>> I am having trouble getting GAE to run a simple app on the desktop with 
>> GAE Launcher. Any pointers to what I am doing wrong would be appreciated!
>>
>> So far I have:
>>
>>    1. Downloaded web2py source (v 2.2.1) and installed GAE Launcher (on 
>>    mac)
>>    2. Created app.yaml from app.example.yaml in the main web2py 
>>    directory, changing first line to 'application: welcome'
>>    3. Set default_application='welcome' in routes.py (in the main web2py 
>>    directory)
>>    4. Added application 'welcome' to GAE Launcher, using the path to the 
>>    main web2py directory
>>
>> When I run GAE Launcher the browser shows "Hello World", not the Welcome 
>> app.
>>
>> Anyone able to suggest where I am going wrong??
>>
>

-- 



Reply via email to