[google-appengine] Re: website not responding

2009-02-25 Thread Toney
> > Today, however, we launched the ability to pay for additional quota, as well > as upped the new free quota to 1GB due to the new datastore accounting. > Details here: > > http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-... > > -Marzia > > On Mon, Fe

[google-appengine] website not responding

2009-02-23 Thread Toney
Hi - If I go over my storage quota will the application stop responding to web requests? I'm not sure how it went to .36 to .50 in a day, never the less I'm deleting stuff to reduce the size. --~--~-~--~~~---~--~~ You received this message because you are subscri

[google-appengine] dev_appserver.py Encountered error loading module

2009-01-02 Thread Toney
I get the following errors when I access any page of my application, can anyone tell me what i may be missing? Strange thing is the pages for the apps loads fine, the error below comes from the server console. ERROR2009-01-02 13:58:20,155 dev_appserver.py] Encountered error loading module

[google-appengine] Re: Memcache Question

2009-01-02 Thread Toney
r some users, but >   not all. > - > At the moment the __str__() functions returns the User.nickname(). > And that makes your memcache key unique for the current user. > And when there is no logged in user you get the key 'RegistrationNone' > > 2009/1/1 Toney

[google-appengine] Re: Memcache Question

2008-12-31 Thread Toney
adding to a String unless Python calls the __str__() > method on the User object because we try to add to a string. > > 2008/12/31 Toney : > > > > > I'm optimizing my code to use memcache, can anyone tell me the > > difference between using memcache like this... &g

[google-appengine] Memcache Question

2008-12-31 Thread Toney
I'm optimizing my code to use memcache, can anyone tell me the difference between using memcache like this... memcache.add(key="Registration'+users.get_current_user()", value=query, time=3600) versus this way... memcache.add('Registration'+users.get_current_user(), query I found one way while

[google-appengine] Re: BadValueError: Property age must be an int or long, not a unicode

2008-11-11 Thread Toney
eting.age = int(self.request.get('age')) but i'm not sure what it would be for field defined as DateProperty() On Nov 11, 8:54 pm, Toney <[EMAIL PROTECTED]> wrote: > Hi Marzia, after I cleared the data store the problem went away. Thank > you for your help > > On Nov 11, 2:

[google-appengine] Re: BadValueError: Property age must be an int or long, not a unicode

2008-11-11 Thread Toney
Hi Marzia, after I cleared the data store the problem went away. Thank you for your help On Nov 11, 2:38 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi Toney, > > This should work, and in fact I have not been able to replicate the issue > using a small test example.  Would

[google-appengine] BadValueError: Property age must be an int or long, not a unicode

2008-11-11 Thread Toney
I have an html form that has two fields, fname and age. I have one Model as a string and the other as a integer. When I try to submit the form I get the error... BadValueError: Property age must be an int or long, not a unicode Can anyone tell me what I may be missing. note if I remove the ag

[google-appengine] Re: Displaying image from Blob

2008-11-10 Thread Toney
query_str = "SELECT * FROM Greeting ORDER BY date DESC" >     result = GqlQuery(query_str).get() >     self.response.headers['Content-Type'] = 'image/jpeg' >     self.response.out.write(result.pic1) > > On Nov 11, 6:53 am, Toney <[EMAIL PROTECTED]&g

[google-appengine] Re: Displaying image from Blob

2008-11-10 Thread Toney
changed it, still no luck On Nov 10, 3:15 pm, Marcelo <[EMAIL PROTECTED]> wrote: > I think is the content-type it should be image/jpeg > > On 10 nov, 14:53, Toney <[EMAIL PROTECTED]> wrote: > > > I’m trying to display an image from the data store using the hello >

[google-appengine] Displaying image from Blob

2008-11-10 Thread Toney
I’m trying to display an image from the data store using the hello world sample. When I run the code below I get a blank image displayed in FireFox. I'm sure the image is uploaded because when I initially tried {{ greeting.pic1|escape }} in the html file I got a bunch of garbage back. Can someo

[google-appengine] Re: HTTP 404 - File not found

2008-11-04 Thread Toney
Thank you very much shday and Alexander. That fixed it. On Nov 4, 2:00 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > > Hi shday, I added the '_init_.py' file as suggested.  I now receive > > the error below. > > > : Could not find module > > scripts1.helloworld2 > > It's double underscor

[google-appengine] Re: HTTP 404 - File not found

2008-11-03 Thread Toney
so python will recognize it as a "package"). > > The docs don't seem to have much info about this usage: > > Steve > > On Nov 3, 5:25 pm, Toney <[EMAIL PROTECTED]> wrote: > > > Thanks, that helped. > > > but now i'm getting a new erro

[google-appengine] Re: HTTP 404 - File not found

2008-11-03 Thread Toney
other clues would be greatly appreciated On Nov 3, 5:10 pm, shday <[EMAIL PROTECTED]> wrote: > try: > > - url: /scripts1/ >   script: scripts1/helloworld2.py > > or > > - url: /scripts1/index.html >   script: scripts1/helloworld2.py > > Steve > > On Nov 3

[google-appengine] HTTP 404 - File not found

2008-11-03 Thread Toney
I'm on day 3 of playing with python, I have the helloworld application running. I'm trying to figure out how to call different scripts from different directory's. I think the solution is in the app.yaml but I can not get it to work after reading the tutorial several times and the "Configuring a