I have an application hosted on google app engine that sends mail to people under certain conditions. The mail is sent on my behalf. Earlier, each time a mail was sent, I would find the sent mail on my "Sent Items" folder in gmail. However, this does not appear to be happening consistently. I found that, a mail was sent yesterday and was...
Hi,
I'm trying to deploy my java based appengine app through the eclipse plugin. I get an error at the very end of the process whichI pasted below. Any ideas what this could mean?
com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: http://appengine.google.com/api/queue/update?app_id=ipoobeta&...
Any suggestions on where to find examples, tutorials, and more thorough documentation on how to use the Google App Engine Datastore "Low Level Api" for Java?
I know this basic documentation page exists, but it just tells me whats in the Api and doesn't say much about how to actually use it:
http://code.google.com/appengine/docs/java/jav...
I really need upload files bigger that 1 Mb, so i only have the Blobstore API. But any use it in production? know any issue or problems?
...
Is it possible to use a Facebook session in a Flash to authenticate on Google App Engine? I'm trying to create a Flash game and I want to use GAE as the back-end.
...
How do I set the timezone of a datetime instance that just came out of the datastore?
When it first comes out it is in UTC. I want to change it to EST.
I'm trying, for example:
class Book( db.Model ):
creationTime = db.DateTimeProperty()
When a Book is retrieved, I want to set its tzinfo immediately:
book.creationTime.tzinfo =...
I have a python web-application running inside the Google App Engine.
The application creates on user-demand a string and I want the string to be send to the browser client (application/octet-stream?) as a file.
How can i realize this?
...
I want to set the .tzinfo of every datetime instance automatically as soon as it comes out of the datastore.
So if I have
class Message( db.Model ):
creationTime = db.DateTimeProperty()
someOtherTime = db.DateTimeProperty()
## I really want to define a method like this,
## that runs immediately AFTER an instance has
...
I'm currently working on an AppEngine project, and I'd like to implement autocompletion of search terms. The items that can be searched for are reasonably unambiguous and short, so I was thinking of implementing it by giving each item a list of incomplete typings. So foobar would get a list like [f, fo, foo, foob, fooba, foobar]. The use...
When a user sends a filled form, I want to print an error message in case there is an input error. One of the GAE sample codes does this by embedding the error message in the URI.
Inside the form handler (get):
self.redirect('/compose?error_message=%s' % message)
and in the handler (get) of redirected URI, gets the message from reque...
Hi, in my application I have per-user models, let me explain with a simple example:
class Item(db.Model):
master = db.ReferenceProperty(User,collection_name="items")
name = db.StringProperty()
description = db.StringProperty()
value = db.StringProperty()
def __unicode__(self):
return u"%s"%self.name
So I can store informations on...
I am considering backing up data from an iPhone application using the Google App Engine (GAE) - I was also considering using Python to build a RESTful app to deal with incoming/outgoing data.
On the client side I am using Core Data to store the information I wish to back up, and retrieve using the GAE.
I was wondering whether there we...
I have a simple model object with
profilename = db.StringProperty()
and when I get a string with "Some More" and try to
put
it in model
it throws exception
Property profilename is not multi-line
Is space equivalent to newline or I have missed something here? It is
put ting
for single word strings without spaces....
I use Apache Commons FileUpload to receive uploaded files in a Servlet, as described at http://code.google.com/appengine/kb/java.html#fileforms
ServletFileUpload upload = new ServletFileUpload();
FileItemIterator iterator = upload.getItemIterator(request);
while (iterator.hasNext()) {
FileItemStream...
I want to create an Entity Group relationship in an Entity that is being created through a ModelForm.
How do I pass the parent instance and set the parent= attribute in the ModelForm?
...
So I'm using Django with Google App Engine and I have an urls.py file that redirects each url to a corresponding method. Each one of those methods is automatically passed "request" as one of the arguments, which I believe is an HttpRequest object.
How do I create this populated request object from within my code? For example, if I'm wi...
Hi i am hitting the common error "managed by a different object manager"
I have looked around online and not found a solution that fits my problem. I am calling the following code from a JSP page
PersistenceManager pm = PMF.get().getPersistenceManager();
String query = "SELECT FROM " +Location.class.getName();
List<Location> locTs = (L...
I have two models in relation one-to-many:
class Question(db.Model):
questionText = db.StringProperty(multiline=False)
class Answer(db.Model):
answerText = db.StringProperty(multiline=False)
question = db.ReferenceProperty(Question, collection_name='answers')
I have front-end implemented in F...
I'm working on an App Engine project that will have customizable themes. I'd like to be able to use jQuery UI themes. The problem is figuring out what the CSS file is going to be named. (Typically, "jquery-ui-1.7.2.custom.css". Version numbers will change, and people tend to rename things, but there should only be one CSS file, and I...
I have a Users table that has an element called "date".
I would like to make these pseudocode queries work in Java:
select * from Users WHERE date=today
and also
select * from Users WHERE date "in this hour"
How can I write the queries?
I am using Google App Engine, and the date was initially created using java.util.Date.
Please he...