In AppEngine i could download the data from appspot to my local using appcfg download_data but it seems to be now downloading the one from the blobstore Api, is there any way i could download the blob as well as the data keeping their keys synchronized?
So the final outcome is I download data from the server (including blob) go to anoth...
Is it possible to use JSP sort of as a template without having code inside?
Values should be inserted into a hash map, and the JSP can read the values from there.
Is it possible to code like this in a GAE application, or do you need external tools/frameworks to accomplish this?
In other words, is it possible to pass values from the s...
Hi,
Trying to get started with OAuth - I have a webapp using google app engine (java). I'd like to let users find friends via twitter, gmail, yahoo, etc etc. For this I believe I need to get them to authorize my app, then I can use each api to search their friends/contacts etc.
I believe I'm supposed to copy all the contents of the:
n...
Is there any way to run a Javascript engine, like Spidermonkey, on Google App Engine? Spidermonkey is a C module, so obviously that wont work (GAE doesn't allow those types of modules)... is there something else available?
...
I wanted to view the size of my datastore entities OR be able to estimate them some how?
(I cant see where memory size info is on Appstats Console or the Development Console?)
My problem is that I want to know the byte size of 2 types of entities:
Entity A
The key_name is 20 characters. (ie. {AAAA}{BBBB}{CCCC} ).
Only one TextProper...
I have a GAE app that does some heavy processing up front, then is able to do very little processing on subsequent user requests. However, when I deploy my app to the Google's servers, and try to do the heavy processing, I get a DeadlineExceededError. Is there any way around this?
UPDATE: What if I do something through /remote_api? That...
What is the best way to determine how many models of a certain kind are in my app's datastore? The documentation says that MyKind.all().count() is only marginally better than retrieving all of the data, and has a limit of 1000. This is not helpful, because I am expecting to have 6000+ instances of MyKind stored.
Is there a better way to...
I'm using the Python GAE SDK.
I have some processing that needs to be done on 6000+ instances of MyKind. It is too slow to be done in a single request, so I'm using the task queue. If I make a single task process only one entity, then it should take only a few seconds.
The documentation says that only 100 tasks can be added in a "batc...
I've been trying to Base64 encode image data from the user (in this case a trusted admin) in order to skip as many calls to the BlobStore as I possibly can. Every time I attempt to encode it, I recieve an error saying:
Error uploading image: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)
I've googled the...
Hi,
I have a User class and store the user's submitted full name as a single String:
class User {
private String mFullName;
}
there's no partial string matching available in app engine though. I am looking through current options, looks like this project has come up with a pretty good solution:
http://www.allbuttonspressed.com/p...
When the following code is executed:
q = MyKind.all()
taskqueue.add(url="/admin/build", params={'cursor': q.cursor()})
I get:
AssertionError: No cursor available.
Why does this happen? Do I need to fetch something first? (I'd rather not; the code is cleaner just to get the query and pass it on.)
I'm using Python on Google ...
can anyone tell me how to do indexing in gql
...
Is there a way to substitute:
def get_objects(attr1,attr2,..):
objects = Entities.all()
if attr1 != None:
objects.filter('attr1',attr1)
if attr2 != None:
objects.filter('attr2',attr2)
....
return objects
With a single query:
Entities.all().filter('attr1',attr1).filter('attr2',attr2)
By using som...
Hi,
I previously asked a question about using app engine's remote_api with openID, and the answer worked well, both securely and insecurely. At some point soon after, however, something in app engine changed, and the solution no longer worked securely - i.e. the following
remote_api_stub.ConfigureRemoteDatastore(app_id=app_id, path='/...
What is the best way to publish an rss feed or a sitemap to facebook?
I am using google app engine as the platform and the python language
...
I am getting the ApplicationError: 2 nonnumeric port: '' randomly for about 1/10th of my url request, the rest work fine, I seen this is a bug but I have yet to find any solutions, anyone have any thoughts in why this is occurring? I am running python 2.5.4 and google app engine 1.3.3
here is some generic code the error is occuring w...
I am developing for appengine python on windows 7. I am looking for a set up that will allow me to debug my python scripts. I would prefer a GUI based defugger as opposed to command line one. Something like eclipse provides.
...
I'm writing a db.Model class in google app engine that looks something like this:
class Cheese(db.Model):
name = db.StringProperty()
def say_cheese(self):
return name + "cheese"
For some reason, whenever I run:
cheese = Cheese(name = "smelly")
print thing.say_cheese()
I get a KindError - No implementation for kind 'Chee...
Using an alphabet like "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ" I'd like to generate 2 to 4 letter codes to identify unique datastore entries. I have a python function capable of doing this when passed an list indicating the letter positions of the last code [7,17,11] -> "7GA". the next code can be made by incrementing that right most elem...
this is my code:
$('.left').html("{% include 'foot.html' %}")
it will show error ,
so how to make it running.
thanks
...