I believe I read that if you wanted to use Google's App Engine, your application needed to be open source. With the recent announcement of App Engine for Business, does the same rule apply? I would like to host an application on this particular platform but have no interest in releasing the code initially (down the road, potentially).
...
Thanks for the help.
Currently I import in gae:
from google.appengine.ext.webapp import template
then use this to render:
self.response.out.write(template.render('tPage1.htm', templateInfo ))
I believe the template that Google supplied for Django templete is version 0.96.
How do I setup and import the newer version of only the Django ...
in order to dynamically create a form, i have to find the property types of a model's properties at runtime.
appengine docs says that Model.properties() will return a dictionary of properties name and their class type. when i use this method in my code, only the name is returned and the classtype value is always empty.
...
All lines in my AppStats look like this: real=19ms cpu=0ms api=0ms overhead=0ms, it has the correct real time, but the other values are always 0. Anyone have this problem before or know how to fix this?
...
Platform: App Engine
Framework: webapp / CGI / WSGI
On my client side (JS), I construct a URL by concatenating a URL with an unicode string:
http://www.foo.com/地震
then I call encodeURI to get
http://www.foo.com/%E5%9C%B0%E9%9C%87
and I put this in a HTML form value.
The form gets submitted to PayPal, where I've set the encoding t...
in my application, user sign in/sing out via openid ( same as stackoverlfow ).
i would like to open up my application a bit via oauth to third party applications.
how do i create my app which is openid-consumer to make it oauth-provider ?
is there some standard,library etc out there ? i am basically working in app engine and python...
I was playing with Goole App Engine Task Queue API to learn how to use it. But I couldn't make it trigger locally. My application is working like a charm when I upload to Google servers. But it doesn't trigger locally. All I see from the admin is the list of the tasks. But when their ETA comes, they just pass it. It's like they runs but ...
Hi there,
I'm banging my head against the wall with this one:
What I want to do is store a file that is returned from an API in the data store as a blob.
Here is the code that I use on my local machine (which of course works due to an existing file system):
client.convertHtml(html, open('html.pdf', 'wb'))
Since I cannot write to a ...
I'm using the python api and have created a few orphaned blobs during testing.
Because of a bug in the dashboard, I can't currently delete these, and in any case going forward I would like to be able to do this programmatically since it will be unfeasible to do it manually once the number of entities goes up.
...
When I call hreq.getSession().invalidate(); app engine slows down tremendously. I looked at appstats and saw that on a page where no database calls are made, it was calling memcache.get and datastore.get 23 times each. The stack trace of these calls showed that it was being called from getSession(). This only happens on the production ...
I tried to update my app on google appengine by my wireless dropped during the process. When i tried again i got an error "Another transaction by user ajakimov is already in progress for this app and major version." I know i can rollback the update using "appcfg.sh -e [mygmail] rollback [war path]" but i was wondering if it's possible to...
I'm getting back to programming for Google App Engine and I've found, in old, unused code, instances in which I wrote constructors for models. It seems like a good idea, but there's no mention of it online and I can't test to see if it works. Here's a contrived example, with no error-checking, etc.:
class Dog(db.Model):
name = db....
Hi,
i have declared an entity the following way:
public class MyEntity {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;
@Persistent
private String text;
//getters and setters
}
Now I want to retrieve the objects using the id. I tried to manage it from the Google Appengine Data Vie...
Hi,
I'm a Google App Engine newbie and would be grateful for any help. I have an iPhone app which sources data from an sqlite db stored localling on the device.
I'd like to set up a Google App Engine web service which my iPhone client will talk to and check if there is a newer version of the sqlite database it needs to download.
So iP...
I have created a new task queue and defined it in queue.yaml
I am not sure how to start adding tasks to this queue?
with the default queue it is simple taskqueue.add(...)
how do we do it for a custom queue?
...
I've got a number of tasks/servlets that are hitting the HardDeadlineExceededError which is leaving everything hanging in an 'still executing' state.
The work being done can easily exceed the 29 second threshold.
I try to catch the DeadlineExceededException and base Exception in order to save the exit
state but neither of these excep...
...Like Django's session or cookies
Does anyone have a simple way of allowing this?
...
I am trying to extract some common classes out to be a common jar, and I want to reference it by the appengine project in Eclipse.
It compiles well but could not run. The console just told that some classes from the common jar project could not be found.
I know I can just export the project into a jar, but I may want to change it some...
Currently, my code would construct the GWT form, which user would submit directly to openId (or any authenticaiton service). Such a method works fine.
However, what if I had the gwt page server access the OpenID provider, is there a way/strategy for the server to mediate authentication between its client and the auth provider?
I wish t...
I've setup this task queue implementation on a site I host for a customer, it has a cron job which runs each morning at 2am "/admin/tasks/queue", this queues up emails to be sent out, "/admin/tasks/email", and uses cursors so as to do the queuing in small chunks. For some reason last night /admin/tasks/queue kept getting run by this code...