In your handler, pass:
zip(entity.images, entity.snippets)
...to your template. Let's say the template variable is called
items. Then in the template you can do:
{% for image, snippet in items %}
Do something with {{ image }} and {{ snippet }}.
{% endfor %)
Above will work in Django
Hi,
Since yesterday, the error is back.
from google.appengine.api import urlfetch
resp = urlfetch.fetch('http://www.hordes.fr/')
- DownloadError: ApplicationError: 5
But it should work
I think, urlfetch is fetching the bad IP server.
Currently, I can't use the IP adress. So my app is down
Yes :)
I think Entity Groups are optimized more for performance and less for
function. (Another example to reinforce this statement is the need to
pass in the parent_id in get_by_id or the underlying assertion that
the id's may not be unique outside of the entity group)
On Dec 9, 11:59 am, Andy
I'm a Flash designer building an app in AppEngine. My knowledge of OO
principles is based on my experiences in Flash.
Consider the following from models.py:
class Question(BaseModel):
prompt = db.StringProperty(required = True)
class ShortAnswerQuestion(Question):
multiline =
Today, it works again.
Maybe, we have to wait to initialize it.
On 9 déc, 20:43, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I'm using that on the gaeutilities session demo, and it is working
there
http://gaeutilities.appspot.com/session
On Dec 9, 8:18 am, Sylvain [EMAIL PROTECTED] wrote:
On Dec 9, 5:42 pm, maxxyme [EMAIL PROTECTED] wrote:
But no feedback at the moment.
Received an email from the App Engine Team yesterday at 8:50am (PST)
telling me my account was enabled.
Many thanks !!!
--~--~-~--~~~---~--~~
You received this message because
You might achieve this kind of functionality (and more) using
AppRocket http://code.google.com/p/approcket
Although it currently doesn't have a generic queuing service built in,
it's very easy to simulate. Just setup an entity
in AE for asynchronous tasks, for example QueueTask and have it
I am new to GAE (who isn't?) and this subject has been touched on
before in a number of guises but I think we could all benefit from a
little more clarity.
I am developing a proof-of-concept business app which can benefit
hugely from the GAE framework. My ideal scenario is to deploy the app
to
On Dec 9, 5:12 pm, slatvick [EMAIL PROTECTED] wrote:
But current problem that index.html does not load automatically and
you need to write full domain path :www.yourdomain.com/index.html
In app.yaml you specify which script will execute (for example,
index.py). Inside index.py you need to
Try this.
handlers:
- url: /
static_files: static/index.html
upload: static/index.html
- url: /
static_dir: static/
It autocalls the index.html and can read all static files, e.g. all
links from index.html to another static htmls including from
subdirectories.
Think, it's enough to run
The characteristics of entity groups that enable performance
optimizations actually enable some fairly interesting operations.
Unfortunately, these operations are not exposed in some cases.
In this case, ancestor('__key__') should be trivial to support and not
slow things down. I don't think
Hi Dennis -
I am using an architecture similar to what you describe. Rather than
use a separate server to do the pinging, I use client-side JS to do
this dirty work. You need to have a fairly steady stream of users for
this technique to be reliable. :)
Ben
On Dec 9, 9:27 pm, Dennis [EMAIL
While GAE application code may use subclasses, the GAE datastore does
not have any knowledge of the relationship between different entity
types.
You can encode the class name/kind in your key name and then use
db.class_for_kind to get the class. However, db.class_for_kind is not
part of the
A local count can be unique across URL requests that happen to hit the
same process, but it can't be unique across processes. In that, a
local count is like time.
A datastore counter eliminates the dangling object problem because a
single counter can be used to manage an arbitrarily large
Good Grief ! I had the very same problem. It was simply a typo in my
app.yaml file - or actually my python program was named incorrectly.
Regards Axel Magard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
New to here, and cannot find it in HELP...
How to delete a created app. 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
Sometimes I get a warning to quota exceeded, with this error code.
However, all quotas shown in the Dashboard are fine. Does someone know
what it means?
~Thiago
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
This means you are requesting too frequently indexes to be built/deleted.
Reducing the frequency of these requests will eliminate the error message.
We are definitely working on giving more insight in to system quotas and
what they mean.
-Marzia
On Wed, Dec 10, 2008 at 8:26 AM, app² [EMAIL
Hi,
A Google App Engine app can be deployed on multiple domains. The only
restriction is that if you restrict authentication to a particular Google
Apps domain, you can only serve traffic on that domain (meaning currently,
if you want only mydomain.com users to be able to log in to your app, the
There could be all kinds of things that cause random long periods of
delay, depending on how the framework actually measures the time.
For example:
1) Virtualization scheduling -- if they use something like Xen, it may
at times pre-empt your entire kernel image and take time out.
2) Garbage
Alas, the google charts api looks too poor for my application. I need
to put both lines and bars on a single chart with 2 Y axes, and
different labels for the positive and negative side of each of the y-
axes. I also need to be able to click on the chart elements to link to
other the detailed
Maybe I'm missing something. But it doesn't seem like it would take
much effort to write a script to automate it.
Something along the lines of:
instance_names = ('a', 'b', 'c',...)
for name in instance_names:
# change the instance name in app.yaml
# call appcfg.py
You'd probably want to
I'd use javascript.
Scriptaculous Autocompleter.Local
Push the entire list of previously typed strings to the client on page
refresh. (Or keep the last N if the list gets too big).
With appropriate flags the javascript will take care of mid-word
matching etc.
If you try to do this kind of
Hi!
Thanks for the suggestion, but I'm sorry to say that I don't
understand how to make it work with the app-engine? Could you tell me
how to get the hellow world example to work? what do you put in the
app.yaml and in the page template to get it to display on the SDK
server?
Thanks,
GF.
On Dec
Hi,
I've had no luck replicating this on my machine (Mac OS 10.5) with the
current 1.1.7 SDK, so this may be system or SDK related. For what
it's worth, this is the code i'm using (I just chose a random non-
english character in this case):
class MainHandler(webapp.RequestHandler):
def
Thanks Adam.
While the dataset in this case is pretty small (I can't imagine a user
adding *that* many different things to this field), I don't want to
have an arbitrary and potentially confounding cutoff when matching.
Further, if it's all done in JS, I'll have to (a) load and dump out a
bunch
Thanks James,
I may have gotten the wrong end of the stick here.
I've been playing around with the SDK up to now but have not actually
deployed yet.
Are you basically saying that I can...
1. Allow 1000s of Google Apps account holders to easily deploy
*isolated instances* of my app:
2. Protect
AFAIK, the answer is yes only to some of your points listed below:
On Dec 10, 4:38 pm, rvjcallanan [EMAIL PROTECTED] wrote:
Thanks James,
I may have gotten the wrong end of the stick here.
I've been playing around with the SDK up to now but have not actually
deployed yet.
Are you
Thanks Andy. It's nice to know all the hidden features. =)
If the datastore doesn't know about subclasses, I'm not sure they're
worth using. Couldn't I give Question all the properties I might
need, but only provide values to the ones each instance uses? Is
there any sort of penalty for
Hi,
I´m planning to do something very similar, but I´m not sure if the
datastore will return both lists in the same order at every request.
Does anyone knows what is the expected behavior?
I don´t mean to hijack your thread, Dylan, as I thought this would be
a nice thread to ask, because my
I'm by no means a coder or anything. I have relatively basic HTML
and networking skills, and understnd the majority of the terminology
here...I'm just looking to make a simple and easily editable page.
I've got the project set up on Google Code, but I do not understand
how to upload an XML file
Hi,
I´m planning to do something very similar, but I´m not sure if the
datastore will return both lists in the same order at every request.
Does anyone knows what is the expected behavior?
I don´t mean to hijack your thread, Dylan, as I thought this would be
a nice thread to ask, because my
Hi,
The scenario that you've described isn't yet perfectly achievable. I think
what you are essentially looking for is something along the lines of Google
Apps Labs for developers:
http://www.google.com/enterprise/marketplace/viewVendorListings?vendorId=1012
This is definitely something we
Thanks Roberto,
You have almost made my day :)
Can you clarify to what extent I can isolate app instances for each
of my customers?
For example...
Is it feasible to maintain separate table sets for 1000s of
customer?
Is it possible for one misbehaving customer instance to adversely
affect
If the datastore doesn't know about subclasses, I'm not sure they're
worth using.
I find that they help me with my code, but YMMV. (In particular, I
often define db.ReferenceProperty s that only accept a base class and
always fill them in with in instance of some subclass. That's better
for
On Thu, Dec 11, 2008 at 12:47 AM, Bob [EMAIL PROTECTED] wrote:
New to here, and cannot find it in HELP...
How to delete a created app. Thanks
You can't delete an application ID. The most you can do (at present)
is disable it by uploading a blank app.
Dave.
Thanks Andy.
For now, I think I'm going to roll all the subclasses into the
superclass. I only have 4 subclasses anyway, and they each only have
an additional property or two. That seems to me to be the cleanest
solution.
You've been very helpful/informative. Good man.
The primary purpose is a user may want to go back several pages just
to
see what's there.
This is what I figured - so then, instead of selecting 11 stories at a
time, select say, 51 stories, adjust the offset accordingly, and the
user can navigate to the next/prev 3 pages. Or up it to
Thanks Marzia,
For now I could live with manual deployment to each Google App account
if I thought deployment could be automated in the future. However, the
possibility you raised of Google changing its policy to allow
retrieval of hosted application code is disturbing. If Google was
indeed to
On Dec 10, 3:38 pm, theillustratedlife [EMAIL PROTECTED] wrote:
Thanks Andy. It's nice to know all the hidden features. =)
If the datastore doesn't know about subclasses, I'm not sure they're
worth using. Couldn't I give Question all the properties I might
need, but only provide values to
New to here, and cannot find it in HELP...
How to delete a created app. Thanks
You can't delete an application ID. The most you can do (at present)
is disable it by uploading a blank app.
Also, star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=335
Your day is currently made. Your customers sets up a google apps or
gae account, and then add you as a developer. They own the account -
billing, data, management is all their responsibility, and it is as
well insulated from other customers of yours as from any other random
GAE user. As a
I think that Tutorial 4 is good to do for GAE.
http://teethgrinder.co.uk/open-flash-chart-2/tutorial-4.php
The HTML part is generated with a template. Just like a normal request result.
When the page is rendered by the browser it will request a JSON file
that describes the graph to draw. In the
Hi,
Our engineering team looked at it, and it seems that this is now resolved
(again). Thanks for your patience.
-Marzia
On Wed, Dec 10, 2008 at 12:24 AM, Sylvain [EMAIL PROTECTED] wrote:
Hi,
Since yesterday, the error is back.
from google.appengine.api import urlfetch
resp =
Hi, i use the latest sdk and (i install feedparse in my computer and i
can import in the python shell) but meet the error in subject! when i
use dev_appserver.py
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hello Developers,
I upload the code of mail sending, its
working for my application ,if i moved the same code to another gmail
id its not working ,i change the application title and generate the
new .yaml file,html pages are visible and send mail is on problem ,it
says
46 matches
Mail list logo