Key isn't automatic plus 1 when you put a entity.Sometimes it will add 1000
(or some other value), and then back to the ordinary value.
You can check the document about entity's id.
2009/4/18 David Wilson david.wil...@entertainmentcloud.com
Hi,
Our myspace application is now running live
Thanks for the suggestion. I'll try #3 as an first approach and see
where that takes me (and look forward to #5). I think app-engine-
patch has a main() declared, and I assume the app is getting cached as
a result, but I'm not sure if that's the case.
Re the file caching idea, I don't
Sorry
class Handler(webapp.RequestHandler):
def get(self):
self.set_status(301)
self.redirect(http://www.example.com;) # this is what you want to
redirect to
2009/4/18 风笑雪 kea...@gmail.com
class Handler(webapp.RequestHandler):
def get(self):
self.set_status(301)
When App Engine raised its request size limit from 1MB to 10MB, it
seemed like we would finally be able to use it for an image sharing
website as while reasonably sized digital camera images over 1MB are
very likely, it'd take an extremely professional camera image to break
the 10MB limit, which
On Sat, Apr 18, 2009 at 3:21 PM, David Wilson
david.wil...@entertainmentcloud.com wrote:
Is this expected behaviour? and thus do i need to always give a
key_name to guarantee order? this creates scaling issues for order
counter (which is probably why its not in order in the backend :) )
Keys
Hi All,
During my large database put into datastore, it shows
Please go to
https://www.google.com/accounts/DisplayUnlockCaptcha\n;
and verify you are a human. Then try again.)
Yeah, I am a human. ha ha ha! Are you human ?
The captcha will stop my application until I unlock the
Be sure to check the 'request' logs. If your app returned a non-200
response code but didn't log an error, it will not show up in the
'error' logs.
Thanks! I didn't realize that.
I'm guessing that it also won't log a response for 3XX errors? At
least it seems not to. Does anyone know exactly
Why don't you stick the images in Picasa and just manage them through
app engine ?
Thats what I am doing
T
On Apr 18, 4:28 pm, Anuraag Agrawal anura...@gmail.com wrote:
When App Engine raised its request size limit from 1MB to 10MB, it
seemed like we would finally be able to use it for an
Hi,
I have used Google App account to create google appengine project.
I have been verified with the sms.
Then I follow the link to create a new project.
But when I finish, the new project is not created.
At least I can't manage it.
I then try to create it again. App engine display an error
Try this:
http://appengine-cookbook.appspot.com/recipe/redirect-from-appspot-to-your-domain
On Apr 18, 9:18 am, richardcur...@googlemail.com
richardcur...@googlemail.com wrote:
I know in principle how to redirect.
The point is, all appengine python handler classes are identical for
both
entities1.strprop = aaa bbb ccc ddd
entities2.strprop = eee ddd ccc fff
using qerry or gql, HOW to select the entity with eee in strprop?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To
I'd think this would work (but I haven't tried it):
- url: /
static_dir: static
Note: this requires all of your site files to be in a subdirectory of
your application, since for a static_dir directive you need to specify
a relative directory. I'm not sure if static_dir: . would work.
Try it
Good article, thanks~
2009/4/18 ctran ct...@pragmaquest.com
Try this:
http://appengine-cookbook.appspot.com/recipe/redirect-from-appspot-to-your-domain
On Apr 18, 9:18 am, richardcur...@googlemail.com
richardcur...@googlemail.com wrote:
I know in principle how to redirect.
The
Maybe it would be helpful:
http://code.google.com/p/appfilesbrowser/
2009/4/18 Barry Hunter barrybhun...@googlemail.com
basically no. Google provide no method to do this.
Try searching the archives, people have posted various scripts that
can be used to help recover bits. (but dont think
thanks! i missed that in the docs :)
I wasnt using a datetime just to save a bit of space, but i can see i
need to know to guarantee ordering, or if i want to do ordered paging
via key i would need to handle key creation myself to make sure they
are in order.
This becomes harder in one case
Thanks!
--~--~-~--~~~---~--~~
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
Hi,
Sorry if this is a dumb question.
I am watching the HTTP headers of two of my appengine locations.
Downloading files from one always sends cookies along the request.
The other appengine does not.
I want to prevent cookies being sent. How do I do that?
I use this code to keep an id:
class M(db.Model):
id = db.IntegerProperty()
time = db.DateTimeProperty(auto_now_add=True)
@staticmethod
def max_id():
maxID = memcache.get('MaxID')
if maxID:
return maxID
messages = Message.all()
messages.order(-id)
message =
What practically happens when this directive is executed?
*
from google.appengine.ext.webapp import template
*
Is this importing Django or something else?
The reason why I ask this is I'm a newbie to GAE and want to walk
before I can run...on the surface Django looks powerful but there
I tried it. But when I call my appspot url now directly I get a
webpage:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.
My main domain
I'm trying to send email on GAE with my Google Apps primary email as
the From email address.
So I need to add that email address (which is i...@bigriddles.com) as
an Administrator for my app.
However, I'm having trouble doing this. I add that email as an
adminstrator and receive the invite
According to the google maps team, we have to expect atleast some
[small] amounts of datastore errors.
Is there anyway to get the SDK to throw these errors, so I can better
test how my application responds when a specific query is denied (i.e
make sure the right code kicks in and handles the
I was able to get appengine_console.py to launch in OS X with the help
of this message:
http://groups.google.com/group/google-appengine/browse_thread/thread/6bc2f759188476b2/967e636458681da0?lnk=gstq=interactive+console+remote+api#967e636458681da0
When I try and fetch data, it asks for my name
Are you accessing your app through appspot?
On Apr 17, 11:39 pm, codingJoe coding...@gmail.com wrote:
I'll tell the newbie story on how I got into this mess.
I developed a small app and tested on my laptop using the AppEngine
SDK. I got my app to point that it was working the way I wanted.
eg, memcache.set(key, value, 90 * 24 * 3600) # silently fails to set
the cache value
Relevant doc show below but WTF is one month ? 28 days? or 29? or
30? or 31? Depends on what it month it is? :-p
set(key, value, time=0, min_compress_len=0)
Sets a key's value, regardless of previous
Very cool, but I don't know if this will solve the 'practical lock in'
problem for GAE python. It may be hard to find a hosting provider that
offers django along with long-running java processes.
Still, GAE-J developers now have a reasonable alternative and maybe
some of your efforts can be
On Apr 18, 11:34 pm, Dag thedag...@gmail.com wrote:
Very cool, but I don't know if this will solve the 'practical lock in'
problem for GAE python. It may be hard to find a hosting provider that
offers django along with long-running java processes.
I don't expect this to be used by people
If two requests want to create an M() they will get the same ID.
You must use some kind of transaction to get unique IDs
2009/4/18 风笑雪 kea...@gmail.com:
I use this code to keep an id:
class M(db.Model):
id = db.IntegerProperty()
time = db.DateTimeProperty(auto_now_add=True)
Worked without any problems. Thanks!
On Apr 17, 4:47 pm, Jeff S (Google) j...@google.com wrote:
Hello,
I've errored out the stuck indexes so you should now be able to vacuum
them and upload new ones. Please let me know how it goes :-)
Thank you,
Jeff
On Apr 17, 12:22 am, ssg123
I set up App Engine with a Google Apps domain one year ago. Now I am
informed that You must re-install this application to enable secure
access for your users. Problem is, if I try to disable the App Engine
service, nothing happens, even after hours of waiting. I have App
Engine enabled for the
Well, but I don't care it, my application allows the same ID, I just need it
for sorting, and it's harder to sort by time when the browser do an AJAX
get. Some times I need handle the timezone difference between server
and browser.
If you want keep a unique ID, the best way is set its key_name,
I have exactly the same problem. I will post here if I actually ever
get it solved.
On Apr 14, 5:32 pm, mifki v...@mifki.com wrote:
I have appengine application installed for my google apps domain and
naked domain specified for it. I can't neither remove that domain nor
disable entire
There is no way to disable GAE except deleting the app.yaml file, and I
don't think it will work.
Your apps need at least one domain for GAE( if you ever create one ). So you
can try add an new domain, delete the old one, then add it again.
2009/4/19 Chris L clun...@gmail.com
I set up App
BTW, you can try to set a new version in your app.yaml.
2009/4/19 风笑雪 kea...@gmail.com
There is no way to disable GAE except deleting the app.yaml file, and I
don't think it will work.
Your apps need at least one domain for GAE( if you ever create one ). So
you can try add an new domain,
Why can't you just use memcache.set(key), and use a cron job to delete every
month: memcache.delete(key).
2009/4/19 michael mt1...@gmail.com
eg, memcache.set(key, value, 90 * 24 * 3600) # silently fails to set
the cache value
Relevant doc show below but WTF is one month ? 28 days? or 29?
Today, my app has seen 2 timeout errors at 3:10 pm according to the
log. Each one was 30 seconds apart. One was a Get and the other a
Put. Each on totally different classes that are not connected in any
way.
On Apr 17, 4:15 pm, Brandon Thomson gra...@gmail.com wrote:
Google will not really
GAE's template is a part of Django 0.96. You don't have to use it,
import django.template is also ok, or even Mako's template.
2009/4/19 GenghisOne mdkach...@gmail.com
What practically happens when this directive is executed?
*
from google.appengine.ext.webapp import template
*
Is
Hmm, i'm starting to suspect it may be with how AE is caching main()..
On Sat, Apr 18, 2009 at 7:15 PM, Lee Olayvar leeolay...@gmail.com wrote:
I am trying to import a module, found in a subdirectory of my app. This app
directory is added to the sys.path list, but it fails if i try to import
Sounds like http://code.google.com/p/googleappengine/issues/detail?id=915
.
Please star and comment as appropriate.
On Apr 18, 1:34 pm, iceanfire iceanf...@gmail.com wrote:
According to the google maps team, we have to expect atleast some
[small] amounts of datastore errors.
Is there anyway
I think there is no such limit in GAE.
http://code.google.com/intl/zh-CN/appengine/articles/django10_zipimport.html
import sys
sys.path.insert(0, 'django.zip')
import django.forms.fields
2009/4/19 Lee Olayvar leeolay...@gmail.com
I am trying to import a module, found in a subdirectory of my
I need to know how the urls work.
I would get errors on all 3 pages plus the admin.
here is the error:
class 'django.template.TemplateSyntaxError': Caught an exception
while rendering: Reverse for 'settings.contact-consultation-request'
with arguments '()' and keyword arguments '{}' not
Indeed the entire API is limited to 1MB, but the point of discussion
I'd like to make is that for data-related API calls like the datastore
and memcache, it's easy to come up with hardware/implementation
constraints that would warrant such a limit, and there are usually
relatively simple ways to
谢谢回复。
我问的是字符串属性部分匹配的问题。按你的方法,只能匹配开头。需要匹配中间的时候,比如在前例里,查找含有 ccc 的对象,该怎么做?
HOW to select the entity with ccc in strprop then?
On 4月19日, 上午12时08分, 风笑雪 kea...@gmail.com wrote:
You can read this
document:http://code.google.com/appengine/docs/python/datastore/queriesandinde...
Give you a sample
43 matches
Mail list logo