Hello,
I have started using Jinja2 as my templating engine on Google App Engine (in Python).
My question is this: Will bytecode caching work in production? It is working very well on the development server, but I read somewhere that bytecode caching depends on the marshal module, which is not supported in App Engine. This answer to a d...
I'm using the python runtime on the AppEngine. I have a model (or handful of models) which are currently not playing nicely with my client code. I'd like to be able to debug this locally, with the data in whatever state it's in. The obvious answer is to use bulkloader.py to download the data & restore it to the SDK. But I can't.
T...
Hi,
Is it possible sign a plain text string with RSA private key on Google App Engine with Java SDK?
Thanks
...
In the App Engine docs, what is the ellipsis (JID...) for in this method signature?
public MessageBuilder withRecipientJids(JID... recipientJids)
What's the function of those three dots?
...
I am writing a container framework that can dynamically deploy a Jar file containing user developed classes in the container, and then using a web interface execute certain classes from the Jar file.
Everything else is well set, including the validations. However, a requirement is to only allow access to certain JDK and other library c...
I'd like to determine what place a particular entry is in, but the appropriate GQL query is escaping me. Ideally I'd like to know the following details, which seem like they should be known by the datastore. I just can't seem to figure how to determine it. Can someone help?
the placement of a particular entry (in a given sorting, i....
I'm just getting started with Google App Engine. Currently, my app has two pages: one lists all the inventory currently in stock, and the other is a detail page for a given item. I feel that my coding could be much more DRY. (I'm making all the calls to print headers and footers twice, for instance.)
Here is the code. How can I factor o...
I'm using Django templating with Google App Engine. I'm trying unsuccessfully to print out a menu.
The controller:
menu_items = {'menu_items': [{'href': '/', 'name': 'Home'},
{'href': '/cart', 'name': 'Cart'}],
}
render('Views/menu.html', self, {'menu_items': menu_items})
# .....
I have models set up as the following:
class Day(db.Model):
date = db.DateProperty()
total = db.FloatProperty()
class Event(db.Model):
desc = db.StringProperty()
amount = db.FloatProperty()
The hierarchy is as such: User > Day > Event (Users have Days. Days have Events.)
When a user logs in I want to select their day...
Hi,
I am wondering if it is possible to test Google App Engine Servlets using Cactus or HTTPUnit?
If possible, is there a reference/guide on this?
Thanks!
...
I was wondering about the following two options when one is not using SQL tables but ORM based DBs (Example - when you are using GAE)
Would the second option be less efficient?
Requirement:
There is an object. The object has a collection of similar items. I need to store this object. Example, say the object is a tree and it has a co...
I want to build an application where a user identified by an email address can have several application accounts. Each account can have one o more users. I am trying to use the JDO Storage capabilities with Google App Engine Java. Here is my attempt:
@PersistenceCapable
@Inheritance(strategy = InheritanceStrategy.NEW_TABLE)
public class...
I have the next persistence capable classes:
@PersistenceCapable
public class AppAccount {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;
@Persistent
private String companyName;
@Persistent
List<AppUser> users = new ArrayList<AppUser>();
// Getters and Sett...
Hi,
I want to bulk upload data for following entity:
class Person(db.Model):
name = db.StringProperty(required=True)
type = db.StringProperty(required=True)
refer = db.SelfReferenceProperty()
What is best way to load this data into appspot ?
Thanks,
...
I ran bulkloader with parameters to export my bigtable to a csv file, and it spent a lot of time downloading the table (it's large). It failed to export do to a problem with one of the lambda expressions in the Exporter class. I fixed that, can I run bulkloader.py again without having to redownload all of the data from GAE? I'd like t...
I'm new to Python. Am I doing it right?
The goal:
Get a bunch of InCart objects from
Google App Engine's datastore that
corresponds to the current user.
Each InCart item has two
attributes: InCart.owner and
InCart.item
Provide the templating engine a
set of items in any InCart.item
The code:
cartEntries = InCart.gql("WHERE ...
It's not clear to me if the Eclipse plugin completely replaces the need to download the SDK.
?
...
I am trying to automate the deploy process with the Google AppEngine Launcher, and the one thing getting in my way is the password enquiry; I am trying to set it up so that I don't have to enter my password after the first time.
One approach I am looking at is to somehow ensure the cookie does not expire; any ideas on how this may be a...
New to app engine and django. I think this is an issue with my django install, which is 1.1.1, but I've also read that I can just use the django packaged with the app engine SDK.
Any help on why I'm getting this error when I test locally would be greatly appreciated.
The callback:
Variable Value
callback
<class 'ourlat.main.views.Se...
I have followed the instructions found at code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide , however when I start the hub I get some warnings (http://pastie.org/853356), and when I point my browser to localhost:8080 I get a nasty exceptions.AttributeError thrown in my face ( http://pastie.org/853357 ) in browser & console...