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
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
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
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.
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,
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
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:
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
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
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:
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
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':
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
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.
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
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
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
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
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
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
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 =
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
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, ...):
23 matches
Mail list logo