[google-appengine] Re: return a variable value from html form to python

2009-01-04 Thread thebrianschott
Having received no replies, let me say a little more. If I add the following line into the beginning of function process (form), the POST does successfully POST the value of place, but the values of all the other hidden form inputs are *not* POSTED. And I cannot add lines like the following one

[google-appengine] Re: return a variable value from html form to python

2009-01-04 Thread niklasr
Hey Brian, Maybe it's as easy as g_place = self.request.POST.get('place') instead of g_place = self.request.get('place') Cheers Niklas Stockholm On Jan 4, 11:18 am, thebrianschott schott.br...@gmail.com wrote: Having received no replies, let me say a little more. If I add the following line

[google-appengine] Re: Should I use App Engine Patch

2009-01-04 Thread Waldemar Kornewald
Hi Ray, On Jan 2, 6:42 pm, Ray Malone rayish...@gmail.com wrote: I'm not sure of the benefits of using the Patch.  I have been able to build two good sized apps (1000+ lines of code each) using the App Engine defaults.   I know my code is not best practice yet, so I'm looking to learn more

[google-appengine] SearchableModel not visible in dataviewer

2009-01-04 Thread Tom
Does the dataviewer only display db.Model classes? Are there alternative dataviewers people are using to manage their server-side data? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To

[google-appengine] Django Replace Filter

2009-01-04 Thread Joel Odom
Is there a simple way to do a replace with Django? (I want to replace all underscores in a string with spaces.) I can't find a built-in filter to do a simple replace, but it seems like an obvious filter that I must be missing. Thanks! -- http://giscoder.blogspot.com/

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2009-01-04 Thread Tiago S.
Hi, I'd like to know if the Google Checkout will be the only option for payment, as today. In my country(br) it's not supported and I'll not continue my developing if I wont be able to pay for more resources later. Thanks On Dec 16 2008, 9:59 pm, Marzia Niccolai ma...@google.com wrote: Hi,

[google-appengine] Re: Django Syndication Troubles

2009-01-04 Thread Waldemar Kornewald
On Jan 4, 5:21 am, Bobby bobbysoa...@gmail.com wrote: I haven't tried the ZipImport approach so i can't help there but I was able to get Syndication to work using the AppEngine patch:http://code.google.com/p/app-engine-patch/ Just wanted to add that app-engine-patch uses a zipped Django

[google-appengine] Re: Sample code of i18n on GAE+Django

2009-01-04 Thread Alexander Orlov
On Nov 19 2008, 7:20 am, niklasr nikla...@gmail.com wrote: from django.conf import settings if os.environ.get('HTTP_HOST'):   url = os.environ['HTTP_HOST'] else:   url = os.environ['SERVER_NAME'] if url.endswith('domain1.com'):   settings.LANGUAGE_CODE = 'en' elif

[google-appengine] Re: ReferenceProperty failed to be resolved

2009-01-04 Thread dloomer
I worked around that last problem, focused on some other things, but now I'm running into the issue again. Same model definitions as above; now getting the error trying to reference a StatsTimeSpan property of ChatWordStats. It shouldn't matter, but for completeness an abbreviated definition of

[google-appengine] Re: Should I use App Engine Patch

2009-01-04 Thread Bobby
I was also undecided on whether to go with Django on top of the GAE but ended up going for it using the AppEngine Patch and i'm glad i did. Yesterday i needed to setup feeds and Django took care of everything in literally a couple of lines - it just keeps on giving. Also, the beauty of

[google-appengine] Re: App Engine blocked in China, what to do?

2009-01-04 Thread Nick Winter
skrit.appspot.com works, but according to our users and http://www.websitepulse.com/help/testtools.china-test.html it's still blocked at www.skritter.com. Are you accessing http://skrit.appspot.com or http://www.skritter.com ? --~--~-~--~~~---~--~~ You received

[google-appengine] Re: Should I use App Engine Patch

2009-01-04 Thread Waldemar Kornewald
On Jan 3, 6:43 pm, gops patelgo...@gmail.com wrote: think this way :: if there was a need of app engine patch than google would have released it. Actually, Google did release django-helper, but we (app-engine-patch) disagreed about unnecessarily introducing a new model class for Django users.

[google-appengine] Re: return a variable value from html form to python

2009-01-04 Thread thebrianschott
Niklas, Thanks for the idea, but I get the same behavior with that change. I have even more information that I did not notice before. When the following line is in process(form) an error message is thrown in the Firefox error console that reports the error message below. So somehow the POST and

[google-appengine] Re: Can not import my data model class in another **.py file ???

2009-01-04 Thread Youngfe
Much thanks for helps! Yes I put an empty __init__.py in that folder and it is fine now. On Jan 4, 1:36 am, gops patelgo...@gmail.com wrote: the usual mistake i make is to put __init__.py file in that folder... On Jan 3, 12:30 pm, Youngfe ywfee...@gmail.com wrote: I have a

[google-appengine] Re: SearchableModel not visible in dataviewer

2009-01-04 Thread Tom
My mistake, they are viewable. On Jan 4, 10:18 am, Tom thomasfmc...@gmail.com wrote: Does the dataviewer only display db.Model classes? Are there alternative dataviewers people are using to manage their server-side data? --~--~-~--~~~---~--~~ You received this

[google-appengine] Error returned on images in static dir

2009-01-04 Thread tijer
This morning some weird behavior began to emerge on my application. Some of the images began to give errors even though they are placed in a static dir and have nothing to do with the python-code (hence it could not be an error somewhere here). Moving the image away from the folder, uploading the

[google-appengine] Re: Over Quota: Datastore Indices Count

2009-01-04 Thread Panos
I see similar patterns with my case. I now have 56 indices but I used to have many more before a recent reogranization of the code. I also have been getting the 500 server errors but I assume that this is related to the 'quotas' issue. --Panos On Jan 3, 8:09 am, dloomer dloo...@gmail.com wrote:

[google-appengine] Re: Store model as different name to class?

2009-01-04 Thread yejun
Will this work? mymodel().put() mymodel.kind = lambda x: unewmodel mymodel().put() Will the first instance be saved to mymodel table and second instance saved to newmodel table? On Dec 30 2008, 8:13 pm, ryan ryanb+appeng...@google.com wrote: actually, the recommended way to do this is to

[google-appengine] Re: Configuring Friend Connect

2009-01-04 Thread Geoffrey Spear
Can you post your app.yaml and the exact location you put the files? On Jan 3, 9:11 pm, benzrad dab...@gmail.com wrote: i tried the code, but it don't work on my app athttp://app21zh.appspot.com .in friend connect in the process to setup the site, it still reported can't find the 2 files,

[google-appengine] Re: Datastore Size Scaling

2009-01-04 Thread djidjadji
I have done a few tests and found that the number of items in the datastore does not influence the number of mega-cycles it takes to fetch, create, delete items. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Re: App Engine blocked in China, what to do?

2009-01-04 Thread Hector Zhao
It is said that the ip of ghs.google.com is blocked. On 1月5日, 上午2时28分, Nick Winter livel...@gmail.com wrote: skrit.appspot.com works, but according to our users andhttp://www.websitepulse.com/help/testtools.china-test.htmlit's still blocked atwww.skritter.com. Are you

[google-appengine] Can't create new application

2009-01-04 Thread himoji
I have tried to create new application but it required to verify account through SMS although I had verified in the last year and even I had created three applications already. The verification failed with an error The phone number has been sent too many messages or has already been used to

[google-appengine] Re: Query result caching

2009-01-04 Thread Silas
Unfortunately that recipe will not work in the cloud (although it currently works in the SDK) because the Python marshal module is not available. marshal is empty. An import will succeed, but using it will not. via http://code.google.com/appengine/docs/python/purepython.html jinja2.bccache

[google-appengine] 有谁知道怎样将域名指向a pp engine的方法?

2009-01-04 Thread zhuming liu
有谁知道怎样将域名指向app engine的方法? --~--~-~--~~~---~--~~ 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] why the computer says NameError: name 'execfile' is not defined

2009-01-04 Thread Lance
when I just run the demo on my computer it says that. I am the newer.I am download the Google App Engine SDK.Please help thanks C:\Program Files\Google\google_appenginedev_appserver.py demo Traceback (most recent call last): File C:\Program Files\Google\google_appengine\dev_appserver.py,

[google-appengine] Type 'exceptions.TypeError when test gettingstarted/usingwebapp.html example

2009-01-04 Thread Liren Zhao
import wsgiref.handlers from google.appengine.ext import webapp class MainPage(webapp.RequestHandler): def get(self): self.response.headers['Content-Type'] = 'text/plain' self.response.out.write('Hello, webapp World!') def main(): application = webapp.WSGIApplication(

[google-appengine] Re: SMS: through python AIM/gtalk libraries?

2009-01-04 Thread David Wilson
2009/1/1 mclovin hanoo...@gmail.com: I wanted to test out some SMS web app, where I can communicate w/ the application from my phone. I was wondering if the App Engine allows me to do this through the use of either AIM libraries or Gtalk Libraries written in python. Hi there, If you are

[google-appengine] Re: why java

2009-01-04 Thread Travis Reeder
$10 says the new language is Ruby. And although java is awesome, there are a lot of issues with running it in an environment like GAE, the biggest being that you need to recompile and redeploy with every change. Not with Python (or Ruby or any of the new dynamic scripting languages). Travis On

[google-appengine] AuthToken for Appengine

2009-01-04 Thread magnolia8...@gmail.com
Is it possible in anyway for a web application to get an AuthToken for appengine like any other service like google calendar etc? The idea is to mange end users appengine apps from a web application using google authetication with out using user’s google id and password. If one can get hold the

[google-appengine] Cron / Batch Processes

2009-01-04 Thread jones34
Like a lot of other people, I would need GAE to support timer initiated processing. There is a bug/issue open - number 6 I believe, that is the most starred issue on the list aside from adding support for other languages. If this is the top issue for the community aside from people wanting their

[google-appengine] Get SID in appengine user service

2009-01-04 Thread coder_2020
Is there a way to get the SID in appengine user service. After the user logged in using google account, I want to be able to access google Reader service which requires the SID but I am not sure how to get that after the user logged in. I could use another way to authenticate users. But I want to

[google-appengine] Re: appcfg.py update error

2009-01-04 Thread egilchri
Hi, It's happening again. Thanks, Ted On Jan 3, 8:56 pm, ʩǿ shiqiang...@gmail.com wrote: please try it again , every thing will be ok... 2009/1/3 egilchri egilc...@gmail.com Yesterday, I started getting errors with appcfg.py. Sometimes, it seemed like I could get around the

[google-appengine] Re: appcfg.py update error

2009-01-04 Thread egilchri
Also, It would be nice to know why it's happening. Thanks, Ted On Jan 4, 8:51 pm, egilchri egilc...@gmail.com wrote: Hi,    It's happening again. Thanks, Ted On Jan 3, 8:56 pm, ʩǿ shiqiang...@gmail.com wrote: please try it again , every thing will be ok... 2009/1/3 egilchri

[google-appengine] Re: return a variable value from html form to python

2009-01-04 Thread James Ashley
I'm not real clear where the various errors are happening, so I'm just guessing. Just based on what I'm seeing here, it looks like you're having javascript (client-side) issues. Something about DTC? Maybe it's a variable that isn't getting initialized? Or maybe a constant that needs quotes

[google-appengine] Re: Authorization Tools for App Engine Developers

2009-01-04 Thread edwardgsanc...@gmail.com
We have added a very low cost usage based pricing model. There are essentially two products now, the low cost online service with an easy to use REST API, and the Developer version for those requiring the source code to integrate directly into GAE. Authorize Online can be used with GAE

[google-appengine] Re: Datastore Size Scaling

2009-01-04 Thread James Ashley
On Jan 4, 6:04 pm, djidjadji djidja...@gmail.com wrote: I have done a few tests and found that the number of items in the datastore does not influence the number of mega-cycles it takes to fetch, create, delete items. That's good to know, thank you. I'll never forget the time I handed a

[google-appengine] Re: are numeric ids of deleted entities reused?

2009-01-04 Thread ryan
On Dec 31 2008, 6:49 am, Andy Freeman ana...@earthlink.net wrote: If I never allocate ids within a given entity-group namespace, does anything for that namespace live forever (after all entities in said group have been deleted)? ... The total number of such groups that have entities at any