[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread Jason Salas

Hi shawn,

The online tutorial might serve you better and is updated to reflect
the latest changes...a little better than the SDK:
http://code.google.com/appengine/docs/python/gettingstarted/

Good luck!

On 8/1/09, Shawn A.  wrote:
>
> Hello Holger,
>
> Wow! I could have stared at the file for hours and not noticed that.
> sometimes all you need is another pair of eyes. Thank you
> that worked like a charm. Sneaky that it worked in the sdk btw.
>
> Thanks,
> -Shawn
>
> On Jul 31, 9:15 pm, Holger  wrote:
>> Hi Shawn,
>>
>> Try changing your app.yaml to
>>
>> handlers:
>> - url: /.*
>>   script: flgs_database.py
>>
>> it's Python and Python sripts have got the ending 'py'.
>>
>> Bye,
>> Holger
> >
>

-- 
Sent from my mobile device

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread djidjadji

You should move your remote_api handler to the top.
It will never be called because the handler above it has the regex "/.*"

2009/8/1 Shawn A. :
>
> Hello Holger,
>
> Wow! I could have stared at the file for hours and not noticed that.
> sometimes all you need is another pair of eyes. Thank you
> that worked like a charm. Sneaky that it worked in the sdk btw.
>
> Thanks,
> -Shawn
>
> On Jul 31, 9:15 pm, Holger  wrote:
>> Hi Shawn,
>>
>> Try changing your app.yaml to
>>
>> handlers:
>> - url: /.*
>>   script: flgs_database.py
>>
>> it's Python and Python sripts have got the ending 'py'.
>>
>> Bye,
>> Holger
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread ego008
some erro in your code,
try pass in localhost

2009/8/1 Shawn A. 

>
> Hello Holger,
>
> Wow! I could have stared at the file for hours and not noticed that.
> sometimes all you need is another pair of eyes. Thank you
> that worked like a charm. Sneaky that it worked in the sdk btw.
>
> Thanks,
> -Shawn
>
> On Jul 31, 9:15 pm, Holger  wrote:
> > Hi Shawn,
> >
> > Try changing your app.yaml to
> >
> > handlers:
> > - url: /.*
> >   script: flgs_database.py
> >
> > it's Python and Python sripts have got the ending 'py'.
> >
> > Bye,
> > Holger
> >
>


-- 
gae-django-cms (GD-cms)
a multi-user CMS running on GAE 一个基于GAE多用户的CMS
sample http://cmsdome.appspot.com/
projects http://code.google.com/p/gae-django-cms/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread Shawn A.

Hello Holger,

Wow! I could have stared at the file for hours and not noticed that.
sometimes all you need is another pair of eyes. Thank you
that worked like a charm. Sneaky that it worked in the sdk btw.

Thanks,
-Shawn

On Jul 31, 9:15 pm, Holger  wrote:
> Hi Shawn,
>
> Try changing your app.yaml to
>
> handlers:
> - url: /.*
>   script: flgs_database.py
>
> it's Python and Python sripts have got the ending 'py'.
>
> Bye,
> Holger
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread Holger

Hi Shawn,

Try changing your app.yaml to

handlers:
- url: /.*
  script: flgs_database.py

it's Python and Python sripts have got the ending 'py'.


Bye,
Holger
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread Shawn A.

should have included this in my last reply:
http://code.google.com/appengine/docs/python/config/appconfig.html#Skipping_Files

On Jul 31, 4:51 pm, djidjadji  wrote:
> why do you skip app.yaml and index.yaml?
>
> 2009/7/31 Shawn A. :
>
>
>
>
>
> > Hi,
>
> > I am just getting into google app engines. After pushing my app up to
> > production i am getting a 500 error when i hit
> > my application url. Nothing but requests show up in the logs. So i
> > commented out everything but the bare essentials to get
> > a hello world type example up. Still 500 error. FYI - it works fine on
> > my local computer running it with the SDK
>
> > app id:
> > flgsoftheworld
>
> > request that breaks:
> >http://flgsoftheworld.appspot.com/
>
> > app.yaml:
>
> > application: flgsoftheworld
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /.*
> >  script: flgs_database
>
> > - url: /remote_api
> >  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
> >  login: admin
>
> > skip_files:
> > - ^(.*/)?app\.yaml
> > - ^(.*/)?app\.yml
> > - ^(.*/)?index\.yaml
> > - ^(.*/)?index\.yml
> > - ^(.*/)?#.*#
> > - ^(.*/)?.*~
> > - ^(.*/)?.*\.py[co]
> > - ^(.*/)?.*/RCS/.*
> > - ^(.*/)?\..*
> > - ^(.*/)?.*\.bak$
> > - ^(.*/)?\.hg(/.*)?$
>
> > I am probably missing something very simple here. Any insight would be
> > great, thanks.
>
> > -Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread Shawn A.

it skips those by default..according to the documentation

On Jul 31, 4:51 pm, djidjadji  wrote:
> why do you skip app.yaml and index.yaml?
>
> 2009/7/31 Shawn A. :
>
>
>
>
>
> > Hi,
>
> > I am just getting into google app engines. After pushing my app up to
> > production i am getting a 500 error when i hit
> > my application url. Nothing but requests show up in the logs. So i
> > commented out everything but the bare essentials to get
> > a hello world type example up. Still 500 error. FYI - it works fine on
> > my local computer running it with the SDK
>
> > app id:
> > flgsoftheworld
>
> > request that breaks:
> >http://flgsoftheworld.appspot.com/
>
> > app.yaml:
>
> > application: flgsoftheworld
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /.*
> >  script: flgs_database
>
> > - url: /remote_api
> >  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
> >  login: admin
>
> > skip_files:
> > - ^(.*/)?app\.yaml
> > - ^(.*/)?app\.yml
> > - ^(.*/)?index\.yaml
> > - ^(.*/)?index\.yml
> > - ^(.*/)?#.*#
> > - ^(.*/)?.*~
> > - ^(.*/)?.*\.py[co]
> > - ^(.*/)?.*/RCS/.*
> > - ^(.*/)?\..*
> > - ^(.*/)?.*\.bak$
> > - ^(.*/)?\.hg(/.*)?$
>
> > I am probably missing something very simple here. Any insight would be
> > great, thanks.
>
> > -Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread djidjadji

why do you skip app.yaml and index.yaml?

2009/7/31 Shawn A. :
>
> Hi,
>
> I am just getting into google app engines. After pushing my app up to
> production i am getting a 500 error when i hit
> my application url. Nothing but requests show up in the logs. So i
> commented out everything but the bare essentials to get
> a hello world type example up. Still 500 error. FYI - it works fine on
> my local computer running it with the SDK
>
> app id:
> flgsoftheworld
>
> request that breaks:
> http://flgsoftheworld.appspot.com/
>
> app.yaml:
>
> application: flgsoftheworld
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> - url: /.*
>  script: flgs_database
>
> - url: /remote_api
>  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
>  login: admin
>
> skip_files:
> - ^(.*/)?app\.yaml
> - ^(.*/)?app\.yml
> - ^(.*/)?index\.yaml
> - ^(.*/)?index\.yml
> - ^(.*/)?#.*#
> - ^(.*/)?.*~
> - ^(.*/)?.*\.py[co]
> - ^(.*/)?.*/RCS/.*
> - ^(.*/)?\..*
> - ^(.*/)?.*\.bak$
> - ^(.*/)?\.hg(/.*)?$
>
>
> I am probably missing something very simple here. Any insight would be
> great, thanks.
>
> -Shawn

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---