I tried to do something like
ss = Screenshot(key=db.Key.from_path('myapp_screenshot', 123), name='flowers')
db.put([ss, ...])
It seems to work on my dev_appserver, but on live I get this traceback:
05-07 09:50PM 19.964 File "/base/data/home/apps/quixeydev3/12.341796548761906563/common/appenginepatch/appenginepatcher/patch.py",
li...
the next code is error:
class Thread(db.Model):
members = db.StringListProperty(unique =True)
thanks
...
The Google App Engine memcache documentation states that the time parameter of memcache.set() is an "Optional expiration time, either relative number of seconds from current time (up to 1 month), or an absolute Unix epoch time."
So I tried to set a value for 30 days, which according to Google is 2 592 000 seconds.
However, I highly sus...
I would like to load a jsp file from a servlet-class I got in my App Engine project. I has been able to load jsp files by adding them to the web.xml file but is there any way to load them directly from a servlet class?
Edit:
I have tried this without success (no error msg or anything)
req.getRequestDispatcher("file.jsp").forward(req, r...
In my AppEngine project I have a need to use a certain filter as a base then apply various different extra filters to the end, retrieving the different result sets separately. e.g.:
base_query = MyModel.all().filter('mainfilter', 123)
Then I need to use the results of various sub queries separately:
subquery1 = basequery.filter('sub...
I have an application built with GWT/Appengine/Jdo...and i am using Google User Service for authentication.
Google Chrome Extensions can use OAuth...I don't really undestand OAuth yet..
Would GWT RPC have to be reworked to enable OAuth?
Is there another way to authenticate users for Chrome Extensions?
...
Hi,
Im trying to iterate over a nestled dict list. The first level works fine. But the second level is treated like a string not dict.
In my template I have this:
{% for product in Products %}
<li>
<p>{{ product }}</p>
{% for partType in product.parts %}
<p>{{ partType }}</p>
{% for part in partType %}
...
On Google App Engine in Python, I have a Visit entity that has a parent of Patient. A Patient may have multiple visits.
I need to set the most_recent_visit (and some auxiliary visit data) somewhere for later querying, probably in another child entity that Brett Slatkin might call a "relationship index entity."
I wish to do so in a bul...
Hi,
I am using crypto++ to send AES encrypted http requests to app engine, planning to decrypt them there. My plan is to encrypt the portion after the '?' so it's something like:
http://myurl.com/Command?eiwjfsdlfjldkjfs when it is encrypted. However, I'm stuck figuring out how to decrypt it at the other end and still user get() on th...
I've been going round in circles with what must be a very simple challenge but I want to do it the most efficient way from the start. So, I've watched Brett Slatkin's Google IO videos (2008 & 2009) about building scalable apps including http://www.youtube.com/watch?v=AgaL6NGpkB8 and read the docs but as a n00b, I'm still not sure.
I'm t...
I'm writing a simple App Engine app.
I have a simple page that allows a user to move a marker on a Google map instance. Each time the user drops the marker, I want to return the long/lat to my Python app.
function initialize() {
... // Init map
var marker = new GMarker(center, {draggable: true});
GEvent.addListener(marker, "dra...
Hello
I'm trying to make my mind on whether to store a binary representation of an entity as its Blob property, or whether I better keep the blobs in some separate 'wrapping' class.
Possible impact on memory heap and/or a query execution time are my concerns in the first case, complexity votes against the other one.
I know Blobs are no...
Hi,
I'm trying to encrypt http requests using crypto++ and decrypt them with pycrypto on the app engine server end. Using Arc4 encryption, I can successfully encrypt and decrypt on the iphone end but when I try decrypting on app engine, the result is garbled. The ciphertext after encrypting on the client is the same as the text receive...
I've been playing with google visualization annotated timeline and so far I'm comfortable displaying the data and adding annotations, but I'm fairly confused about how to implement getting additional data when the user zooms the chart using either the zoom links at the top of the chart or the timeline below.
A great example of the imple...
Possible Duplicate:
Choosing Java vs Python on Google App Engine
We are going to use Google Appengine platform for our next big web project.But we are not sure which flavour to use: Java or Python.
Could you please, advise on cons and pros of each approach? Which is the best way in order to build more scalable and efficient ...
I am having trouble upgrading my session token in google app engine if my user is not logged into my application using the google accounts user api, if the user is currently logged in then it functions perfectly.
If not then i am getting this error:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/...
Hi,
I have a productdatabase that contains products, parts and labels for each part based on langcodes.
The problem I'm having and haven't got around is a huge amount of resource used to get the different datasets and merging them into a dict to suit my needs.
The products in the database are based on a number of parts that is of a c...
I am using google-app-engine webapp, part of the code is :
class Post(db.Model):
title = db.StringProperty(required=True)
def categories(self):
return (x.category for x in self.postcategory_set)
class Category(db.Model):
name = db.StringProperty()
class PostCategory(db.Model):
post = db.ReferenceProperty(Post)...
How do I implement using python if I want to manage the 403 and 404 error, for example, to know which URL is most the 403 or 404 error?
...
Hej,
I want to export the datastore that i have running in app engine into my local "standalone" version of the application. Anyone know how i can do that?
I've been looking arround in the app engine dashboard but can't find it.
...