Hello i use a servlet that contains a persistence manager object with two objects and when i use it in the dashboard i have this message:
"This URI uses a hight amount of cpu and may soon exceed its quota."
I have 2300 for the avg Cpu for this uri, why it takes so long?
When i'm looking the log at the beginning i have a hight amount o...
Hi-
I'm having a bit of trouble in Google App Engine ensuring that my data is correct when using an ancestor relationship without key names.
Let me explain a little more: I've got a parent entity category, and I want to create a child entity item. I'd like to create a function that takes a category name and item name, and creates both ...
Currently, I'm when passing around a cursor string in a URL, and it looks very ugly. I was wondering if there was a way to shorten these? I was thinking I could encode it & decode it somehow, but I don't really know where to start looking for information on this.
The cursor string is a base 64 encoded string. Any way to shorten it witho...
Hi
I'm having the fallowing classes in Google app engine
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
public class A {
@PrimaryKey
@Persistent
String pk;
@Persistent(dependent = "true")
private B b;
.
.
.
}
and
import javax.jdo.annotations.IdGeneratorStrategy;
im...
any insight as to making/optimizing full-text searches on bigtable using java? best practices and such? how do u guys do it?
...
I'm new to app engine, so bear it with me.
I've a App-Engine web app project that does multiple things and populates Database using JDO persistence. App takes long time to execute, so I prefer running it offline (as time limit is much higher).
Now where is this local JDO data persisted?
I can access it at http://localhost:8888/_ah/adm...
Current configuration
Use Android emulator and GAE tools
(to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.
Question
I would like to use Android device(phone) via USB to call web service running on connected "local" computer.
What is best configuration practice ((I don't have static IP) I am using mac and ...
Is it possible to upload blob to blobstore using remote API (not the standard upload scheme)?
I want to write backup/restore script for my application and blobstore is the only thing that doesn't work.
...
I am trying to use google appengine. I have this model:
def Human(db.Model):
name = db.StringProperty()
friends = db.SelfReferenceProperty()
This Human has more than one friend. So, how to handle this with google appengine?
...
Hi,
I am porting a Python investing application to Google App Engine. Every market that you can trade in is a plugin: for example the stocks trading and FOREX trading are all plugins.
The application stores the portfolio (which is a Portfolio class instance containing the active investments (class instances) and history) as a pickle. H...
I have a small yest App running on GAE under the default free quota. It runs fine locally. When deployed on GAE (appspot), some parts of it do not work. Appspot dashboard does not show any error in the logs. Added code to trap quota limits is not triggered. Why is there a variation between the App running locally, versus failing whe...
Looking at the Google App Engine API, it seems that despite all its great features, the User API is extremely limiting. It seems you can only authenticate people who have a Google account, or use an OpenID account, or via some OAuth kung fu (handshaking with a Facebook account etc).
This appears to be a major stumbling block for anyone...
How do I specify that a property should not be indexed using the bulk loader yaml definition?
transformers:
- kind: SomeEntity
connector: csv
property_map:
- property: prop
external_name: prop
export_transform: int
- property: prop_unindexed
external_name: prop_unindexed
export_transform: int
# ... what goe...
I'm trying to obtain the base URL (hostname) of the server in which my appengine app is running on.
Ie something along the lines of
wsgiref.util.application_uri(self.request.environ)
However it's returning the PATH_INFO which I do not want. Perhaps I'm missing something but even this article states the path info should be omitted.
h...
why isn't it possible to define another key than
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
?
If i try to define a @PrimaryKey as say, an Integer I get an Server Error...
http://code.google.com/intl/de-DE/appengine/docs/java/datastore/dataclasses.html
...
# I need this behaviour:
# 1) check if the service from flash is included in the services array
# 2) if not, return false or an error | if yes, step 3
# 3) combine the rootPath('app.controllers') with the service name('sub1.sub2.sub3.function_name')
# 4) and then get the function('function_name') from the 'app.controllers.sub1.sub2.sub3....
Is there a tool/client to view inside and make queries for google appengine datastore?
...
I have a general purpose file storage backed by Google App Engine Blobstore, when I show users it's contents I would like to differentiate images from other files — I would like to show thumbnail for each image.
Python get_serving_url function does not care (at least at dev server) if given blob is in fact an image, java's getServingUrl...
My Gae application retrieves JSON data from a third party site; given an ID representing the item to download , the item's data on this site is organized in multiple pages so my code has to download chunks of data, page after page, until the data of the last available page is retrieved.
My simplified code looks like this:
class FetchDat...
Hi,
I am migrating a django application to GAE,and am going to use bulkloader to upload existing data.
The model is quite simple, basically there are two models:
class Tag(db.Model):
name = db.StringProperty (required=True)
class Entry(db.Model):
# some properties ...
# ...
tags = db.ListProperty(db.Key)
I ...