[google-appengine] Re: Google Maps and Google App Engine

2008-09-10 Thread Pierre
Hi Owen, Yes, IMHO, you need 2 keys. I suggest you generate 2 keys for example for domains : http://localhost:8080 --> developpment server on you local machine http://www.mysuperdomainname.com --> the real one (can be also http://mysuperapplication.appspot.com) Then, to be more convenient, I s

[google-appengine] Re: Couldn't import gdata.calendar.service

2008-09-10 Thread amc
Hi, Thanks for the information about the new api. I tried it out with the contacts api and ran into a problem. Here's the code ... #!/usr/bin/python import wsgiref.handlers import urllib from google.appengine.ext import webapp import gdata.service import gdata.contacts.service import gdata.al

[google-appengine] Re: How do I handle forms with django?

2008-09-10 Thread davemo
This is sort of unrelated, but if you take a look at some of the sample apps out there (rietveld, gae-django-guestbook) they seem to place the "Forms" into the views code. You could avoid the import problem by doing this. To address your problem in particular, do you have an __init.py__ inside yo

[google-appengine] Google Maps and Google App Engine

2008-09-10 Thread Owen
Please forgive me if this is answered elsewhere but searching did not find an answer! I'm building a webapp using Google App Engine and Google Maps. My question is: How do I use google maps with the google app engine desktop development environment (the App Engine SDK)? The issue is that the G

[google-appengine] Re: one-to-many (ReferenceProperty) and memory

2008-09-10 Thread Rosdi Kasim
>From what I understang, GAE always 'SELECT *', there is no way we could specify what property to select. If it is true you got memory error that quickly, then either you have tons of properties or there is a problem with GAE. Anyone else experiencing memory error that quick? On Sep 11, 10:04 a

[google-appengine] download torrents search form goole

2008-09-10 Thread mobiledreamers
http://gpirate.com --~--~-~--~~~---~--~~ 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 [EMAIL

[google-appengine] Re: Query filter based on the Longitude attribute of a db.GeoPt property

2008-09-10 Thread [EMAIL PROTECTED]
This is pretty cool, but you're right that it may lead to exploding indexes, something that someone pointed out was a weakness in the strategy I built, so I modified it to save only the saved point's own grid square, but then on the query, I search all the neighboring grid squares. Since you shar

[google-appengine] one-to-many (ReferenceProperty) and memory

2008-09-10 Thread GAEfan
One major limitation of AppEngine is that you can only query the datastore with a 'SELECT * FROM myData' meaning you must put ALL properties of each entity into memory. This gets you to a Memory error rather quickly, especially if you have many properties for each entity. In my app, I can onl

[google-appengine] How to I use xml.sax in google app engine??

2008-09-10 Thread marc
Hi list, I'm just playing with the google app engine. But can't seem to get the xml.sax to work :-( This is my code to read the xml: def returnTasks(xmldata): handler = TaskHandler() xml.sax.parseString(xmldata,handler) return handler.tasks I read the xmldata from a url with google

[google-appengine] Re: Checkout/Download Version Source?

2008-09-10 Thread Eric Gillingham
Was there any resolution for anyone who encountered this problem, I recently lost a hard drive as well taking my personal project with it. Guess it's what I get for not having something I considered trivial at the time backed up, it's not so trivial when you lose it. --~--~-~--~~--

[google-appengine] A Cookie Question

2008-09-10 Thread Tom
When I use tamper data to log onto a site I wish to grab a page from using urlfetch, the cookie looks like this: __utma=112313324.38121426509644135000.12145133.1221075438.1221122189.47; __utmz=12333734.1234889533.1.1.utmcsr=(direct)|utmccn=(direct)| utmcmd=(none); edireuser=xx; edirerem=1; ASP

[google-appengine] Re: Quota Exceed (Error Code: 40)

2008-09-10 Thread edgar
I have exactly the same problem. I tried to recover it using vacuum_indexes, I reduced the amount of indexes to 80 but the problem still remains. Also I used update_indexes, but it raise Error 500: --- begin server output ---. My app is tigrillotigrillotigrillo. thanks a lot --~--~-~--~-

[google-appengine] Re: ANNOUNCE: App Engine Console 1.0 beta 1

2008-09-10 Thread Chris Tan
> Yes I think this is a decent approach.  However I think something is > missing between #2 and #3.  #3 sounds to me like the *user* picks the > variable bar, which implies that somehow he saw a list of attributes > and somehow chose one.  So there needs to be some sort of client-side > presentati

[google-appengine] Can The Development Web Server use remote datastore ?

2008-09-10 Thread Michael
I am working on a project. My PC is getting really slow when I debug it with large amount of data. Can The Development Web Server use remote datastore ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App En

[google-appengine] Re: Hidden Security Risks through App Caching

2008-09-10 Thread Olli117
I think it's a feature of the python syntax that all instance attributes have to be referenced by self. In Java you get the help from eclipse to mark class variables (by writing them italic). Otherwise it coud be difficult to recognize them, too. I like this feature of python that you are forced

[google-appengine] Re: Lots of Datastore timeouts today - what keeps causing these?

2008-09-10 Thread Marzia Niccolai
Hi Alex, Our engineering team is currently investigating increased datastore latency from earlier today. More details will be posted in the downtime-notify group. -Marzia On Wed, Sep 10, 2008 at 10:36 AM, Alex Epshteyn < [EMAIL PROTECTED]> wrote: > > A more general question first: my app has b

[google-appengine] Re: Timeout - operation took too long

2008-09-10 Thread Marzia Niccolai
Hi, Our engineering team is currently investigating increased datastore latency from earlier today. More details will be posted in the downtime-notify group. -Marzia On Wed, Sep 10, 2008 at 1:16 PM, Ronald <[EMAIL PROTECTED]> wrote: > > Hi, > I'm seeing a number of Timeout errors on my log fil

[google-appengine] Timeout - operation took too long

2008-09-10 Thread Ronald
Hi, I'm seeing a number of Timeout errors on my log file: Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 496, in __call__ handler.get(*groups) File "/base/data/home/apps/40tazo/2.29/index.py", line 46, in get moves

[google-appengine] Re: Query filter based on the Longitude attribute of a db.GeoPt property

2008-09-10 Thread Nevin Freeman
Since starting this thread, I've come up with something slightly similar to what you are suggesting here. Rather than store metadata about both lat and lng, I store a ListProperty of lngs to differing degrees of accuracy, and still use inequalities for latitude. So if you have a point with Lat, Ln

[google-appengine] How do I handle forms with django?

2008-09-10 Thread Peter
Hi folks, I'm trying to post some data from a form and then do something with it. But I'm hitting issues. I'm using the django version that comes with appengine. My models.py has from django import forms class MessageForm(forms.Form): message = forms.TextField() and my views.py has from

[google-appengine] Re: dev_appserver.py doesn't create index.yaml and manual index.yaml isn't recognized

2008-09-10 Thread James
By strict mode, you mean --require_indexes? On Sep 10, 1:55 am, Cat <[EMAIL PROTECTED]> wrote: > I think the dev appserver does not create indexes if run in strict > mode. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[google-appengine] Re: Couldn't import gdata.calendar.service

2008-09-10 Thread Jeff S (Google)
Hi moparthi, I thought of a few suggestions that might help. The first is that the atom and gdata directories from the gdata-python-client/src directory need to be included in the top level directory for your app. The gdata library source code will needs to be uploaded as part of your app. This i

[google-appengine] Re: Query against EnitiyGroup that returns a list of Objects of various kinds/types? (Factory Pattern)

2008-09-10 Thread Jeff S (Google)
Hi Thomas, Your observation is correct, each query can only retrieve entities of a single kind at the moment, so you would need to perform a separate query for each subclass. Your solution of using just the one Base class with additional properties sounds like a very reasonable solution. Happy c

[google-appengine] Re: Authentication for multiple services in a gadget/appengine app

2008-09-10 Thread Jeff S (Google)
Hi Keith, Using an App Engine app to act as a gadget proxy for making OAuth requests is an idea that I know some people have been thinking about. Right now, I think the only solution is to roll your own OAuth provider, but I think it would be worth entering a feature request in our issue tracker

[google-appengine] Re: Can't create application

2008-09-10 Thread Marzia Niccolai
Hi Shidan, For this Gmail account we show that you have verified the account via SMS. When logging in to App Engine, please make sure that any other Google Accounts or Google Apps for your account are not logged in to your browser (clearing the browser cache may help). Then go to http://appengin

[google-appengine] Can't create application

2008-09-10 Thread Shidan
I signed up for an account a while ago and did the sms verification. Now when I log in it asks to verify again using sms but now it won't let me, says I have already authenticated with this phone number or something to this effect. How do I go about creating an app now and why is it asking me to

[google-appengine] Lots of Datastore timeouts today - what keeps causing these?

2008-09-10 Thread Alex Epshteyn
A more general question first: my app has been experiencing more than 20 datastore write timeouts per day on average with an average of approx. 30K daily data write requests. I understand that it's only a 0.07% failure rate, but that's still too high for my liking. Some of my users' data has alr

[google-appengine] Re: Help with mapping request RegEx's to RequestHandlers

2008-09-10 Thread uprise78
While not *exactly* what you are looking to do you can quite easily do what you would like using the example below and an if statement. Try this: def StuffHandler(webapp.RequestHandler): def get(self, CatDogOrFish): self.response.out.write('you wanted to eat the: %s' % CatDogOrFish) appl

[google-appengine] Re: Query filter based on the Longitude attribute of a db.GeoPt property

2008-09-10 Thread [EMAIL PROTECTED]
Thanks for the follow-up. I guess one could still use the "geotoken" (my own term) idea, but only save one token (map-graph-square) per saved point. Then, when someone searches on a given point, tokenize the search point, search for anything that shares the same token, and then go back for for d

[google-appengine] Any (event the slightest) idea when free account limits will be lifted and we will be able to pay for storage etc?

2008-09-10 Thread Dado
Any (event the slightest) idea when free account limits will be lifted and we will be able to pay for storage etc? Some of us have been developing apps for GAE since the very beginning and would like to launch them for real... without the current limitations on storage, file uploads, etc. The lim

[google-appengine] Re: Having trouble using my own domain name with app engine

2008-09-10 Thread [EMAIL PROTECTED]
Jan and I have discussed this already, but for the record and anyone else who struggled with this (like me). It seems you cannot have two duplicate prefixes, even if the complete URLs are different. Look on the Dashboard of your Google Domain for an App in your that uses www as a prefix (like Go

Mention Google Groups and get an additional 1000 hits to your website!

2008-09-10 Thread Nanci Casson
-- Forwarded message -- From: Nanci Casson <[EMAIL PROTECTED]> Date: Tue, Sep 9, 2008 at 11:03 AM Subject: Mention Google Groups and get an additional 1000 hits to your website! To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAI

[google-appengine] Re: Upload Post image app engine

2008-09-10 Thread Wooble
On Sep 10, 4:29 am, rive <[EMAIL PROTECTED]> wrote: > Now I don't get any errors, thanks for helping in that. But that's > also it...I don't get any response at all? Your script isn't sending any response, it's return()ing a value that will be ignored. To send a response you need to use self.r

[google-appengine] Re: debugging application

2008-09-10 Thread Aramaki
Thank you guys, This information is exactly what I was asking for. My mistake was starting the application with a .bat file so eclipse engine whas not configured. Thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[google-appengine] Re: Hidden Security Risks through App Caching

2008-09-10 Thread Waldemar Kornewald
On Sep 10, 10:49 am, Cat <[EMAIL PROTECTED]> wrote: > # could be an error message to be inserted into any next page that > will be creaed > Page.message += " world" # Notice: Page, not p > p = Page() > print p.message In your code you manipulate the class, but what you want is to manipulate the i

[google-appengine] Re: debugging application

2008-09-10 Thread Tom Kermode
You can use the logging module and also pass -d to dev_appserver.py. That will give you more detailed ourput for each request. 2008/9/9 Aramaki <[EMAIL PROTECTED]> > > Hi. Firstable say i'm absolutly new in python so maybe my question > will seem a nooby question > > I´m writting a short applicat

[google-appengine] Re: dev_appserver.py doesn't create index.yaml and manual index.yaml isn't recognized

2008-09-10 Thread Cat
I think the dev appserver does not create indexes if run in strict mode. --~--~-~--~~~---~--~~ 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.co

[google-appengine] Re: Hidden Security Risks through App Caching

2008-09-10 Thread Cat
> Your example code isn't declaring message as a global variable, and it > won't be cached. It's really difficult to accidentally use the global > statement. I exactly thought the same thing as you until I noticed messages from one Page instance showing up in another across requests! Here it say

[google-appengine] Re: Upload Post image app engine

2008-09-10 Thread rive
My apologies for that Davide, this is the corrected one http://code.google.com/p/rive/source/browse/trunk/RivePython/rive/src/server/main.py Now I don't get any errors, thanks for helping in that. But that's also it...I don't get any response at all? >From my flash client I do a filereference

[google-appengine] Re: get redirect URL

2008-09-10 Thread Alexander Kojevnikov
> I have a URL which redirects to another URL when a GET request is > send. Using URL Fetch API how do I get the new URL to which my > original URL is being redirected? Star this issue: http://code.google.com/p/googleappengine/issues/detail?id=404 > Also, I am not able to use urllib2 and urllib