4.4. You may not develop multiple Applications to simulate or act as a
single Application or otherwise access
the Service in a manner intended to
avoid incurring fees.
That's what GAE's ToS says here. My question is, would I be violating this by having my blogs, forums and etc. hosted as separate apps and putting them all on s...
I have this Java code:
public class TestMapper extends AppEngineMapper<Key, Entity, NullWritable, NullWritable> {
public TestMapper() {
}
// [... other overriden methods ...]
@Override
public void setup(Context context) {
log.warning("Doing per-worker setup");
}
}
...which I've converted to:
class TestMa...
I am trying to design a data model which can hold a very large amount of data, does anyone with experience in large volumes of data have any feedback on this, ie:
// example only, not meant to compile
public class TransactionAccount {
private long balance;
private List<Transaction> transactions = new ArrayList<Transaction>();
...
I have a model which looks like this:
class Example (db.Model) :
row_num = db.IntegerProperty(required=True)
updated = db.IntegerProperty()
...
...
Now when i store values, I may not fill the value for the updated property every time, which implies that in some entities it may not exist.
I want to construct a datastore query so ...
I have an existing schema:
class Example (db.Model) :
row_num = db.IntegerProperty(required=True)
updated = db.IntegerProperty()
...
...
I have now updated this to :
class Example (db.Model) :
row_num = db.IntegerProperty(required=True)
updated = db.IntegerProperty(default=0)
...
...
However, there are over 2 million entiti...
Hi i need to parse xml file which is more then 1 mb in size, i know GAE can handle request and response up to 10 MB but as we need to use SAX parser API and API GAE has limit of 1 MB so is there way we can parse file more then 1 mb any ways.
...
I m starting to build python application in windows platform using google appengine
whats the steps to debug and run my application
...
Say I have 2 kind:
class Account(db.Model):
name = db.StringProperty()
create_time = db.DataTimeProperty()
last_login = db.DateTimeProperty()
last_update = db.DataTimeProperty()
class Relationship(db.Model)
owner = db.ReferenceProperty(Account)
target = db.ReferenceProperty(Account)
type = db.IntegerProperty()
I want...
I am learning Google App Engine / Python and I love it. Unfortunately I am not allowed to use my own computer in the office and not allowed to install anything on the corporate machine.
It would be so great to have an online IDE for Google App Engine where I could play with my Python code using any browser, including the one on my iPad....
hey,
when i'm going to login i got the following error
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3199, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
File "C:\Program Files\Google\google_appengine\google\appengin...
Hello,
I am new to GAE and I am creating an application with the webapp framework. I was wondering when do you set handlers in your app.yaml and when you define them in your WSGI?
At first I thought you only have one main.py main file running the WSGIApplication but I notice if you want to use the GAE authorization you define that in ...
I'm stuck with this problem I made an HTML Array, but I can't read it out with Python. Is it even possible to do it in App Engine? I read it was possible in PHP.
This is the html code:
<label for="hashtags">Hashtags: </label><br/>
{% for hashtag in stream.hashtags %}
<input type="text" value="{{hashtag}}" name="hashtags[]" id="hash...
This is a follow-up question to Drew Sears' answer to this discussion:
http://stackoverflow.com/questions/3314721/app-engine-datastore-data-model-question
If I model bucket as a reference property in the object kind and say I want to query for objects in bucket 1234 with size > 1000. My query will look like "where bucket = key('Bucket'...
Is there a way to change the From email address to another email address in google app engine. Right now I want to send from addresses in my domain that is linked to google app engine, not the email address or the main address. ie: my account address is [email protected] but I want the email to come from [email protected].
thanks,
...
I have a property oldStatus and newStatus in my object and when I try to run a query on the object where newStart = approved. I am getting an error.
Seems like the newStatus is being treated as new Status() and getting an exception that object Status not found.
Anyone with similar issue? and possible solution.
Query query = pm.newQu...
I have following model:
@PersistenceCapable(detachable="true")
public class User {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent(defaultFetchGroup = "true", mappedBy="owner")
@Element(dependent = "true")
private List<Offer> offers;
@Persistent(defaultFetc...
I have a model containing ranges of IP addresses, similar to this:
class Country(db.Model):
begin_ipnum = db.IntegerProperty()
end_ipnum = db.IntegerProperty()
On a SQL database, I would be able to find rows which contained an IP in a certain range like this:
SELECT * FROM Country WHERE ipnum BETWEEN begin_ipnum AND end_ipnum
o...
I'm aware that urllib2 is available on Google App Engine as a wrapper of Urlfetch and, as you know, Universal Feedparser uses urllib2.
Do you know any method to set a timeout on urllib2 ?
Is timeout parameter on urllib2 been ported on Google App Engine version?
I'm not interested in method like:
rssurldata = urlfetch(rssurl, deadline=...
how is this solution I am using now:
I have a 1MB .dbf file in the same directory of all my .py modules. In main.py I have
import tools
In tool.py code is :
the_list_that_never_changes = loadDbf(file).variables['CNTYIDFP'].
So the_list_that_never_changes is only loaded once and is always in memory ready to be used...correct?
...
Is there a way to get to the admin interface if I'm not using the dev_appserver.sh script and instead loading up jetty myself?
I'm doing this so that I can use the Clojure repl during development. While my application works as expected, there is nothing handling the /_ad/admin requests and so I can't get to the data store viewer or look...