[google-appengine] Re: Location tracking with AppEngine

2009-02-01 Thread niklasr
tips for guessing theirlocationif they don't have Gears installed? (Keep in mind, I'm looking at the neighborhood/metro level). geoip is one established way. display client location works with geoip (with a gmap (such as classifiedsmarket.appspot.com)) brCountry Code: script

[google-appengine] Re: Can I separate py file?

2009-02-01 Thread Faber Fedor
On Sat, Jan 31, 2009 at 9:56 PM, Pikaurd Chen chenha...@gmail.com wrote: Can I separate the handlers to other py files? like this application = webapp.WSGIApplication([('/', pyfile1.MainPage), (r'/([0-9]+).html', pyfile2.MainPage), Put your

[google-appengine] Disappearing reference collections

2009-02-01 Thread James
Let's use a simple example of a model containing posts and comments. The comment model contains a ReferenceProperty to Post, with a comments collection name. It always works fine locally: # Let's build a query object: from model import Post p = Post.all().get() p.comments

[google-appengine] Server for appcfg.py down or just me?

2009-02-01 Thread Tom
When I run appcfg.py it just hangs when trying to connect to server. Is there anything I can do to see if it is a problem on my side or with my account or what? A ping of appengine.google.com resolves to www4.l.google.com and successfully replies to the ping.

[google-appengine] Re: Design consideration

2009-02-01 Thread gops
if you really need to get the list of places from just distance point of view -- you might consider to upload your data to google base -- add location to your items and use their query engine for your specific needs. it will be lot faster. and almost no performance issue. On Jan 29, 11:15 pm,

[google-appengine] Re: Disappearing reference collections

2009-02-01 Thread Alexander Kojevnikov
On Feb 2, 12:15 pm, James thelevybre...@gmail.com wrote: It appears as if this is occurring when I'm not importing the Comment model. This might be mentioned in the docs, but I've been developing with GAE for a while and didn't know that it was necessary to import the model of the referred

[google-appengine] Re: is gzip content encoding served/implemented in development server for local testing?

2009-02-01 Thread Brett Slatkin
On Fri, Jan 30, 2009 at 1:19 PM, Peter Blazejewicz peter.blazejew...@gmail.com wrote: hi all, I'm testing application locally (Development/1.0 server/Mac OS X/ Python 2.5) and want to be sure of one thing: - even if both User-Agent/Accept-Encoding headers are specified in request as in:

[google-appengine] Please Help - SMS message not received to set up an account and I don't know how to contact Google.

2009-02-01 Thread mattc
Please help. I have spent the past week learning Python and reading all the App Engine documentation and viewing all of the videos, now I want to upload an app and get started, but I do not receive an Authentication Code via SMS when I enter my mobile number and specify my carrier. I am entering

[google-appengine] Re: Zip Importer High CPU every request

2009-02-01 Thread Ross
On Jan 8, 2:46 pm, Anthony acorc...@gmail.com wrote: Yes I have a main(), but the zipimporter is not in the .py file containing the main() it is in an imported file. The zipimporter is writing out its own info into the log.. for every request - should this happen if it is cached? I'm

[google-appengine] urfetch etag and last-modified problem

2009-02-01 Thread z33m
im trying to make something like a feed reader. Im using feedparser.py to parse the feeds like this def fetch_feed(url, modified = None, etag = None): import feedparser headers = {} if modified: headers['If-Modified-Since'] = modified if etag:

[google-appengine] Python 2.5.4 or Python 2.6.1?

2009-02-01 Thread Mazerati
Hi all, I'm just starting out and wondering which Python version to download for use with the AppEngine SDK. Python 2.5.4 or Python 2.6.1? Thanks, Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] memcache.add = RuntimeError: maximum recursion depth exceeded

2009-02-01 Thread MatthewRudy
I've got a recursion error in both my local code, and when deployed. But it doesn't make much sense. At first I thought it was to do with mixing unicode strings in dictionaries. But I've ironed that out. Hopefully this is a simple mistake? @@@ python splashes = [ { 'url':

[google-appengine] Re: Data Privacy

2009-02-01 Thread mcamirand
Andy Freeman wrote: Some supporting evidence would be nice because only one person is raising this concern. Here's another. I agree with the original poster. We have been thinking about making the significant investment required to convert our application to run on GAE once the service moves

[google-appengine] Project works locally but can't read the required files when its deployed.

2009-02-01 Thread V1
Hello, I have been working on a App engine project. That reads local files out of a directory, concats it and exports it. I tested it locally it worked fine. Even better than I expected. When i deployed the project. The code worked, but the file that it supposed to show are no where to be found.

[google-appengine] Re: Location tracking with AppEngine

2009-02-01 Thread mb
There are instances when doing it using JavaScript isn't nearly as good as doing it on the server. To do it on the server, you can import a database like MaxMind, but it's a bit of a pain. Or you can vote for the issue at http://code.google.com/p/googleappengine/issues/detail?id=803 and hope

[google-appengine] I would like to upload a word document to data store

2009-02-01 Thread Shashi
Group, I would like to develop an Google App Engine application where the user will be asked to upload a document in word or pdf ? How do I go about it ? Thanks in advance. Shashi --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] Re: Please Help - SMS message not received to set up an account and I don't know how to contact Google.

2009-02-01 Thread Alexander Kojevnikov
On Feb 2, 3:23 am, mattc mcer...@gmail.com wrote: Please help. I have spent the past week learning Python and reading all the App Engine documentation and viewing all of the videos, now I want to upload an app and get started, but I do not receive an Authentication Code via SMS when I enter

[google-appengine] Re: Disappearing reference collections

2009-02-01 Thread James
Thanks for the tip. I've been meaning for some relevant opportunities to look more into the internals. On Feb 1, 6:17 pm, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On Feb 2, 12:15 pm, James thelevybre...@gmail.com wrote: It appears as if this is occurring when I'm not importing

[google-appengine] Re: 网页中有汉字,就会产生错误,不 知是啥原因

2009-02-01 Thread Junkie o0o
happy 牛 year! 哈哈 2009/2/2 yu ping322 yuping...@gmail.com 在这里混的中国人挺多的,只是很多人的英语也很牛,说英语显摆。 2009/2/2 kang areyouloo...@gmail.com: 一直有中文的啊,新年快乐~ 2009/1/31 trydofor trydo...@gmail.com 哥们们, 总算在列表里看到中文啦 :) 兴奋啊,祝新年快乐,牛年牛B kang wrote: 在文件开始加上#coding=utf-8 2009/1/22

[google-appengine] Re: How to append to BlobProperty

2009-02-01 Thread Will
Thanks, it finally worked. Following your suggestion, what I did is: 1. in class body, define: content = db.BlobProperty(required=False)# notice required is set to False 2. in __init__(arg1, arg2, ...): self.content = '' Then self.content += src doesn't complain

[google-appengine] Re: How to append to BlobProperty

2009-02-01 Thread Will
Hi TLH, I'm writing a FileUploadHandler that saves files into a Blob, hence I'm using BlobProperty. Will On Tue, Jan 27, 2009 at 8:56 PM, TLH tlhola...@gmail.com wrote: from google.appengine.ext import db class Foo(db.Model): b = db.BlobProperty() def butWhy(self, s): self.b =

[google-appengine] Different behavior in Debug run

2009-02-01 Thread Will
Hi all, I'm writing a very simple file upload form using Django. I use Pydev and Eclipse. When I simply run it, the posted data are received; but when I run it as Debug, it says 'form.is_valid()' returns False, and I am pretty sure it is because the required values ('title', 'uploader', etc) are

[google-appengine] Re: How to append to BlobProperty

2009-02-01 Thread Alexander Kojevnikov
On Feb 2, 6:02 pm, Will vocalster@gmail.com wrote: Thanks, it finally worked. Following your suggestion, what I did is: 1. in class body, define:      content = db.BlobProperty(required=False)            # notice required is set to False 2. in __init__(arg1, arg2, ...):