for t in things:
if not t.images.get():
things.remove(t)
for t in things: print t.images.get()
Strangely enough, this is what gets printed:
model.image.Image object at 0x9d2daec
model.image.Image object at 0x9d2da0c
None
model.image.Image
for t in things:
t.images.get()
if not t.images.get():
things.remove(t)
The indent broke for the initial post...
On Dec 18, 12:33 am, James thelevybre...@gmail.com wrote:
for t in things:
Of course, it was easy to bypass this issue with a GQL query, but I'd
like to learn about why my intuition was wrong about this.
On Dec 18, 12:34 am, James thelevybre...@gmail.com wrote:
for t in things:
t.images.get()
if not
Hi,
My app is online since 5 months, but since fews days, I've got more
and more ApplicationError: 5 with the urlfetch API.
ApplicationError 5 is raised with this error : DEADLINE_EXCEEDED, but
the website my app fetches is fast and sometimes when I test this
API on http://shell.appspot.com/ :
This morning I did some final testing and because app engine team
introduced 'quota details' page with some more explanation in
http://code.google.com/appengine/docs/quotas.html link now I am
thinking that I created a little bit more complicated code than I
needed. Just because they introduced
Not sure, the only things I can think of is that I am doing other puts
to another model before that one? And also, I'm using db.Model not
db.Expando.
On Dec 18, 12:37 am, ryan ryanb+appeng...@google.com wrote:
sorry for the trouble, and thanks for the detailed info! we definitely
do want to
Is anyone else getting:
Sorry, there seems to be a problem. The service you're looking for is
temporarily unavailable. We're working hard to restore your access as
soon as possible. Please try again in a few hours. Thanks for your
patience.
While trying to sign in to their App Engine app?
I am trying to activate my phone, but cant.
I am using Google Apps Standard with the New Zealand, Telecom Mobile,
0275444990 or internationally +64275444990
Using the url: http://www.appspot.com/a/codynz.com, I then click
start, and then get sent to:
I just tried to submit an issue regarding SMS verification, however it
appears that form is also broken, so I'll reproduce it here:
Telstra is listed as one of your supported carriers, however if I
input my phone number (after selecting Other (Not Listed)), I get a
message saying:
There
I hit the CPU quota after only uploading a few records. Is there a
better way then using the Bulk Upload?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email
For the past 18 hours my app has been disabled with an Over Quota 403
error.
The Dashboard indicates everything's fine, CPU Time is barely
registering. The new Quota Details shows requests under 4%, everything
else around 0%, and no High CPU credits have been used.
Two and a half hours ago I
I'm trying to use the logs in the dashboard to debug my script. It's a
callback script so I can not debug it locally. I can output some
information by using logging.info(msg).
But sometimes the script just crashed, maybe syntax error or others, I
found that GAE logs only log the exceptions, if
Marcia is going to ask for your app id to look into it, so either mail
Marcia directly or post it here to speed things up. Having a site
offline is never fun.
Just out of curiosity, what kind of app is it?
On Dec 18, 3:57 pm, Ben Bishop leo...@gmail.com wrote:
For the past 18 hours my app has
Hi,
Thomas is correct, with the app id I can investigate this issue further. In
general, in the off chance that the Quota details page is not helpful, the
logs may give some indication of what quota you might be bumping in to. The
regex search is pretty useful, searching for quota or Quota.
Hi,
Support for end-user uploading of large files (1MB) is definitely something
we are working on supporting.
-Marzia
On Wed, Dec 17, 2008 at 6:39 PM, James Ashley james.ash...@gmail.comwrote:
Just for clarification:
There seems, to me, to be a big distinction between support for large
Hi Sylvain,
The deadline for URLFetch requests is ~5 seconds. Latency for the URLFetch
service as a whole seems to have been within normal ranges for the past
couple of days:
http://code.google.com/status/appengine
So I don't know any reason off hand why your site would not be returning
within
true. i was cheating because i know the datastore internals, so i know
what's relevant to problems like these and what isn't. Model vs.
Expando, for example, generally isn't relevant.
still, following your code much more closely, http://shell.appspot.com/
still doesn't reproduce this. odd.
I am consistently getting Deadline exceeded messages. The problem is
that my individual requests are trivial: do a query or two to
BigTable, serialize the results, and return them.
So, what could be causing these messages. How are deadlines actually
measured on app engine?
In my case, I am
Hi,
The logs should display all logging messages up to the point where the
script is crashing. So any logging messages that would take place after the
crash point will not be logged.
If there is a syntax error, or something like that, there won't be any
logging messages, since the script never
I keep getting this error when publishing:
Too Many Versions (403)
The application already has the maximum number of versions
when I checked the forum, the best advise was to up major version
number which I did (from 1 to 2). This worked for about an hour and
now I'm getting the same error
Hi,
Thanks for the info, I'm looking in to this now.
If anyone else is experiencing this, please let me know.
-Marzia
On Thu, Dec 18, 2008 at 11:14 AM, bFlood bflood...@gmail.com wrote:
I keep getting this error when publishing:
Too Many Versions (403)
The application already has the
I'd try taking my example on as a demo application. Some differences
are
1. You example below you to a put in TestModelB before the
get_or_insert. I believe in my example I found that this would work.
2. Everything in my example is happening in one request, whereas the
shell I believe you're
Ah ha, Ryan, try this (unless I made a typo somewhere, for some reason
Chrome and that textbox don't like each other and I was too lazy to
change browsers). Note how I do the testa.put() and then the
JoeTestB.get_or_insert all in the same box, then I when I go to check
JoeTestB I can't. It looks
Hi Joseph,
I uploaded your example to an application that I own (yo.appspot.com), and
it worked as expected. So there must be something else going on here. Have
you tried to query for the model using GQL in the Admin console, or are you
just relying on the kind drop down? I'm curious to know
I've been relying on the Kind drop down. The only other difference is
that I'm also working within a Django structure.
I did just do the test using a GQL query, and was able to pull up the
original FavoriteTeamsRanking that way. Though it's still not showing
up in the Kind dropdown.
On Dec 18,
When I try to create my app name with my company name (AccuWeaver), it
tells me An App or Google Account already exists with that name.
Now how is that possible, when that is my company name, and I'm the
only one with rights to that name ?
How do I find out who is using my company name where it
Hi Daniel,
It seems inline attachments with Content ID and MIME Multipart/Related
Content is not supported in the current mail API, but I think it would
be a good idea to file this as a feature request.
Happy coding,
Jeff
On Dec 17, 1:55 pm, Jeff S j...@google.com wrote:
Ah I see. I'm not
Hi!
This is due to the fact that App Engine apps share the gmail namespace.
That means that if you already have a gmail-account registered, you
cannot register an app with the same name.
For example, I couldn't register jeverling.
Best Regards,
Jesaja Everling
On Thu, Dec 18, 2008 at 8:52 PM,
Let me start out by saying that I think the App Engine is
an incredible product and has amazing potential.
I think the choice of Python and Django as the initial
release of the product were brilliant and really got
the job done.
I would like to hear from Google as to where they are REALLY
at
Hi Derrick,
What DeadlineExceedError message are you getting, there are a few different
deadlines you can run in to with App Engine.
The most common would be the request deadline. Any given request with App
Engine must be completed within 10 seconds. This is the runtime
DeadlineExceededError
I see nothing wrong with Marzia's response. The move from 0.96 to 1.0
does in fact break things. Having the change made underneath you
without time to prepare and make migration changes will break lots of
peoples applications.
Check out appengine patch. I'm using it and Django 1.0 because of it
Using djangoforms with unicode strings like that:
class Entidade(db.Model):
nome=db.StringProperty(multiline=False)
tipo=db.StringProperty(multiline=False,choices=set([Pessoa
Física,Pessoa Jurídica]))
class FormEntidade(djangoforms.ModelForm):
class Meta:
model=Entidade
Gives me an
Agreed, my comments were over the top and
Marzia I apologize for being overly critical.
You are helping us (the developer) and the App Engine,
its not your fault that more resources from Google are not being deployed
just incredibly frustrating
that Django 1.0 was released on Sep 3, 2008,
and
I am getting class 'google.appengine.runtime.DeadlineExceededError'
On Dec 18, 12:12 pm, Marzia Niccolai ma...@google.com wrote:
Hi Derrick,
What DeadlineExceedError message are you getting, there are a few different
deadlines you can run in to with App Engine.
The most common would be the
Michael, you are making some noise about silly thing like release
dates, but you missed to bring in good arguments why the latest django
is so important and what is wrong with the current practice of using
zipped custom django.
regards
Roberto
On Dec 18, 5:38 pm, Michael Angerman
I can understand the frustration when there seems to be little
movement on something that is important to you (Django 1.0 in your
case). You'll have noticed that the app engine team (and Google
generally) are very careful not to provide deadlines, which is a sign
of a development process managed
I am sending 1 email to about 200 persons using a loop
De email text is evrytame teh same, the TO address is derived from a
Bigtable entity.
I store each email separately.
Strange enough sometimes i have 10 or 20 adresses receiving the email,
but not all. I do have a try: except around it so
The NewKind class must be defined before accessing entities of that kind.
Thanks. That make sense.
I have another question.
What I want to do is this:
I'm building a generic 'High Score Server'. So probably there will be
10 or 20 games hosted in this server.
But each game has different things
Here is what I get from the profile of a query that does not exceed
the deadline, but comes close:
ncalls tottime percall cumtime percall filename:lineno(function)
15/130.2990.0201.0180.078 {__import__}
160.2170.0140.2350.015
My app is showsing as Over Quota and has been for hours. The
dashboard shows basically no activity all day (maybe 50 requests)
I suspected a possible problem with high cpu but I don't even have a
single high cpu warning in the logs today.
Please help!
-dk
Hi,
For which app id are you experiencing this?
-Marzia
On Thu, Dec 18, 2008 at 2:41 PM, dk davemk...@gmail.com wrote:
My app is showsing as Over Quota and has been for hours. The
dashboard shows basically no activity all day (maybe 50 requests)
I suspected a possible problem with high
So there's somebody out there using my company name as a gmail
account
On Dec 18, 11:59 am, Jesaja Everling jeverl...@gmail.com wrote:
Hi!
This is due to the fact that App Engine apps share the gmail namespace.
That means that if you already have a gmail-account registered, you
cannot
I am having trouble trying to start the app server, I am using Python
2.5 on Windows XP SP3, and am trying to start it with the command:
dev_appserver.py helloworld.every time the error seems to be
different, but the command window just closes and doesnt bind to
localhost:8080.
Any help would be
I just tried to submit an issue regarding SMS verification, however it
appears that form is also broken, so I'll reproduce it here:
Telstra is listed as one of your supported carriers, however if I
input my phone number (after selecting Other (Not Listed)), I get a
message saying:
Is this a bug or a limitation of Django version in GAE?
You should prefix Unicode strings with 'u':
tipo=db.StringProperty(multiline=False,choices=set([uPessoa
Física,uPessoa Jurídica]))
--
www.muspy.com
--~--~-~--~~~---~--~~
You received this message because
Let's say you define a Model with a ListProperty with a validator:
def ValidateTagNames(names):
for name in names:
if not IsValidTagName(name):
raise db.BadValueError(Invalid tag name '%s' % name)
class Item(db.Model):
tags = db.StringListProperty(validator=ValidateTagNames)
Now,
send_mail() takes good amount of time to execute. Call it repeatedly
in a loop and your request will soon time out:
http://code.google.com/status/appengine/detail/mail/2008/12/18#ae-trust-detail-mail-send-mail-latency
In my app I send one e-mail per request (triggered from an external
box) and
Sorry, it seems that I misunderstood the way appspot shares the gmail namespace.
I just tried, and was able to register an app jeverling.
So it seems there is another problem.
Either someone has already registered the application, or something else.
Can't help you with this.
On Thu, Dec 18, 2008
Probably.
However, on a side note, you can create a application with the name
AccuWeaver2 (or the like), and then when you have it run on your
domain, your users wouldn't notice a thing...
On Dec 18, 5:48 pm, Webweave webwe...@gmail.com wrote:
So there's somebody out there using my company
Hi,
You didn't mis-understand. In fact, we recently released a change so that
you can now claim your own gmail name as an app id. You were correct
originally, someone most likely has that string as a gmail address.
-Marzia
On Thu, Dec 18, 2008 at 3:36 PM, Jesaja Everling
Suppose one of the features I have on the App I'm creating, is the
ability for users to subscribe for certain alerts.
1. What would be the best way to implement this considering the
current features available on google app engine (and possibly other
free services)?
2. [this one should probably
Hi, Marzia.
Thank you for your advice. I've done it.
Thanks.
On 12月18日, 午前2:29, Marzia Niccolai ma...@google.com wrote:
Hi,
I believe that all you will need to do is get() the entity, and then call
put() on it again. You shouldn't need to actually create a new entity.
-Marzia
On Tue,
Sorry, it is my mistype.
query = models.Ownership.all().filter('user =', user),filter('deleted
=',False).order('-created_on').fetch(20, 0)
Thanks.
On 12月18日, 午前3:29, djidjadji djidja...@gmail.com wrote:
From the manual:
fetch(limit, offset=0)
Your query
query =
Suppose one of the features I have on the App I'm creating, is the
ability for users to subscribe for certain alerts.
1. What would be the best way to implement this considering the
current features available on google app engine (and possibly other
free services)?
There are two issues to
Hi,
This ended up being an issue that code in the Universal Feed Parser open
source module was throwing an illegal system call since the production
update last night.
If anyone else is experiencing quota denials and using this module, please
comment out these lines (start at 2686):
try:
So far, for me App Engine has worked pretty well.
The issue regarding Django 1.0 is a little more complicated than just
use zipimport and django helper which is the standard response. While
this works and is in fact what I use, there are some issues. One is
that if your app doesn't have a lot of
I've just had an invite from Google Apps to participate.
But I think I am at the next step along. My current site is well above
the terms of use bandwidth (approx 1 Terabyte pm) split amongst
servers across ISPs to balance cost. It does not use video (unless
Flash swf counts) but it has upwards
I just want to address one thing here: There is nothing in AppEngine
that is tied in any way to django or any framework. They just expose a
pure CGI model and service APIs (memcache, datastore and so forth). It
is designed with the standard python model in mind; CGI and WSGI.
It is included
I'm trying to find out how much exactly I'm using (requests,
bandwidth, ..etc.) per day. However, once the clock hits 12:00am, all
the numbers reset and I can't find a way to see yesterday's numbers.
Am I missing something? How do you guys get the exact number of
requests you're doing per day?
Hi,
Seems like you are also doing some heavy module importing. You could be
able to trim that down as well.
-Marzia
On Thu, Dec 18, 2008 at 1:57 PM, Derrick derrickrbu...@gmail.com wrote:
Here is what I get from the profile of a query that does not exceed
the deadline, but comes close:
I've just released a new AppEngine open source project on Google Code:
http://code.google.com/p/sluggable-mixin/
It adds the ability to associate a user-friendly, search-friendly, URL-
friendly slug with any datastore entity. The code was extracted from
my AppEngine blogging software that you
Is there any package installable on GAE that I can use to create
animated gifs on the serverside?
Another post seems to suggest that i can connect to external web
services to do this, but i want to have tighter control without
external url requests...
Any comment is appreciated
thanks
jason
Thanks.
On Dec 18, 5:17 pm, Marzia Niccolai ma...@google.com wrote:
Hi,
Seems like you are also doing some heavy module importing. You could be
able to trim that down as well.
-Marzia
On Thu, Dec 18, 2008 at 1:57 PM, Derrick derrickrbu...@gmail.com wrote:
Here is what I get from the
It is Chinese 'great firewall' in action. The whole ghs.google.com is
blocked. If your GAE project uses custom domain (which I suspect most do),
then your domain will not be visible within mainland China, at least for
now. Access to appspot.com is OK.
This is a risk you may want to consider if
Thanks Thomas,
Marzia and Jeff had it sorted out in no time. From the Over Quota -
seems like for no reason thread:
On Dec 19, 11:48 am, Marzia Niccolai ma...@google.com wrote:
This ended up being an issue that code in the Universal Feed Parser open
source module was throwing an illegal
Personally: I haven't used Python in a few years, and I've never used
Django, though it looks good. Most of my recent web work has been
LAMPish (including large structured OO projects in PHP 5). I've found
the learning curve with GAE to be pretty immense but presumably
worthwhile. I'm very
That would work well for a small amount of users. But what if my app
grows to like 5,000 emails? Your solution would definitely work well
at that point!
Do you maybe know of an external service that would allow me to set up
s/t to broadcast to many url's or is there another way that i'm
missing?
Whoops, typo: I meant: Your solution would definitely _not_ work well
at that point!
On Dec 18, 9:31 pm, MajorProgamming sefira...@gmail.com wrote:
That would work well for a small amount of users. But what if my app
grows to like 5,000 emails? Your solution would definitely work well
at that
That would work well for a small amount of users. But what if my app
grows to like 5,000 emails? Your solution would definitely not work
well at that point!
I agree that it's far from being perfect, but I don't see why it
wouldn't scale. I currently send about 100 emails a day, if this
number
Well another point is that if I want to send time-sensitive info, it
would be impossible (i.e. with your method, you are running the
sending throughout the entire day, but in some cases almost-instant
sending is required).
Another problem worth mentioning is that mass-fetching from the
datastore
ok, but I like paging the table of person if I go back 10 rows of the table
to return contact 15 records of 5 people where only 2 are not at the hearing
held at first?
If the logic would become very complex, it is possible but is too complex!
There is a viable way to resolve this problem without
I will have this problem with Google Checkout, too. I'm in Brazil and
it is not available here. Bad news...
On Dec 16, 11:47 pm, lws68825 lws68...@gmail.com wrote:
Hi Marzia,
I am in China, Google Checkout is not available in China. I suggest
you provide more payment methods.
On 12月17日,
I've had a very steady increase in the number of users and number of
requests to all my URL, everything looks the same as it did a few days
ago, but now i've jumped from using 0% of my cpu quota to 48%? What's
going on? I don't see any spikes in any of the data in the dashboard.
i was hoping to seamlessly virtualize a filesystem on top of
datastore. it seems there is no pure-python approach to filesystem
virtualization, making this impossible. should i give up on this or
have a i overlooked something?
--~--~-~--~~~---~--~~
You received
On Dec 18, 5:10 pm, Thomas Johansson prenc...@gmail.com wrote:
I just want to address one thing here: There is nothing in AppEngine
that is tied in any way to django or any framework. They just expose a
...
Sure, of course. By API I loosely included the supplied default
appengine frameworks.
Well another point is that if I want to send time-sensitive info, it
would be impossible (i.e. with your method, you are running the
sending throughout the entire day, but in some cases almost-instant
sending is required).
If you need to notify a lot of users on the same event instantly,
ryan is absolutely right. and if you can't already see it, the problem
is that it's very unscalable to implement even the simplest of search
on gogole app engine. Imagine if someone tries to search with 3 or 4
keywords. You need a separate index for each of those. Depending on
the entity indexed,
I understand generally that putting lots of small entities to the
datastore is faster than putting lots of large entities.
Can anybody say to what extent the difference is minimized if the
large entities are barely changing?
I.e. numerous indexes wouldn't need to update because only a single
Yeah, that worked, thanks. In my opinion, it should do this
automatically, as all Australian phone numbers begin with a 0 before
the area code.
Thanks,
Ryan McCue.
On Dec 19, 8:54 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
Try +61 44760, that is without '0' after the country
79 matches
Mail list logo