Hey guys, I am a little lost on how to get the auth token. Here is the code I am using on the return from authorizing my app:
client = gdata.service.GDataService()
gdata.alt.appengine.run_on_appengine(client)
sessionToken = gdata.auth.extract_auth_sub_token_from_url(self.request.uri)
client.UpgradeToSessionToken(sessionToken)
logging.i...
If I passed a list of key ids as an argument in a transaction, would the change associated with the first key in the list happen first? And if not, how do I specify the order that I want the changes to happen in?
As a concrete example, consider this code below from Google Docs Transactions--would changes to the first item in acc.key() h...
I wonder if there is a possible way to install a custom set of data entities (specified in a java class, for example) to local Google App Engine database everytime maven execute the compile phase?
...
Is there a way I can figure out the time the current request reached the app engine?
For example a user might make a request to my app, but due to app engine latencies my code might not start handling the request until one second later, is there a way I can figure out that the user has already had to wait one second?
The reason I wan...
I created entity in google App Engine datastore.I know how to create entity and remove data from table.My constraints is how to delete entity from google App engine Datastore?
Thanks in advance
...
Fatal Error: no matching class connection
index.php
<?php
import database.connection;
$connection = connection::get()->getPersistenceManager(); // ***ERROR HERE***
?>
connection.java
package database;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;
public final class connection {
private static fi...
We want to implement a "News feed" where a user can see messages
broadcasted by her friends, sorted with newest message first. But the
feed should reflect changes in her friends list. (If she adds new
friends, messages from those should be included in the feed, and if
she removes friends their messages should not be included.) If we use
...
My query is essentially the following:
entries=Entry.all().order("-votes").order("-date").filter("votes >", VOTE_FILTER).fetch(PAGE_SIZE+1, page* PAGE_SIZE)
I want to grab N of the latest entries that have a voting score above some benchmark (VOTE_FILTER). Google currently says that I cannot filter on 'votes' because I order by 'date....
I am running a live system that is currently serving about 20K pages a day which is based on App Engine Helper (Python) with session support provided by AppEngine utilities.
One problem that I have been having is that sessions are occasionally randomly logging out. I would like to try using the App Engine Patch, since it has "native" dj...
Hello. I'm a python newbie and starting out with using the Bottle web framework on Google App Engine. I've been messing with the super small, super easy Hello World sample and have already ran into problems. Heh. I finally got the code to work with this...
import bottle
from bottle import route
from google.appengine.ext.webapp impor...
I've been trying to track down why Spring Security isn't creating the Spring Security remember me cookie (SPRING_SECURITY_REMEMBER_ME_COOKIE). However, based on what I see via the HTTP headers the cookie is being set it's just that there is an additional GET request for /j_spring_security_check that is causing the exception below. This a...
Hi,
i saw a project that made mechanize compatible to google app engine. But I couldn't find the sourcecode to it
It would be very nice if someone can give me the source of it, because I most likely need this in the app I'm creating currently.
...
Is there a project that can log errors in requests to Django on Google App Engine to the datastore (like django-db-log or django.crashlog)?
Thanks!
...
I've got a set of classes, namely, a data transfer object, a service implementation object, and a data access object. I currently have business logic in the service implementation object; it uses the dao to get data to populate the dto that is shipped back to the client/gui code.
The issue is that I can't create a lightweight junit test...
I'm trying to optimize the startup time/class loading time of my Java web app because its on the Google App Engine and startup time is important.
Is there a way I can turn on some sort of class loading debug messages or someway to see where time is being spent while class loading? I want to see if any specific libraries take a while to...
I have looked into Geopy and googlemaps (http://py-googlemaps.sourceforge.net/) and they both do not work for Chinese addresses. My app is stored on the Google App Engine. What I want to do is to parse a file containing addresses of restaurants in Hong Kong, and then Geocode the addresses and store the Lat and Lng in the datastore. How d...
I am using this middleware to make my app restful, but it looks like my form parameters are not coming through:
from google.appengine.ext import webapp
class RestHTTPMiddleware(object):
def __init__(self, app):
self.app = app
def __call__(self, environ, start_response):
method = webapp.Request(environ).get('_method')
r...
I have setup a project using both Jdo and Jpa.
I used Jpa Annotation to Declare my Entity.
Then I setup my testCases based on LocalTestHelper (from Google App Engine Documentation).
When I run the test,
a call to makePersistent of Jdo:PersistenceManager is perfectly OK;
a call to persist of Jpa:EntityManager raised an error:
java.lang....
hi i have one doubt.How to set primary key in table using googledatastore.
...
There are a couple limits on the size of images when you start to talk about Google's App Engine:
10 MB -- the upload limit
1 MB -- the manipulation limit (I do not know what else to call this)
But, folks have reported that they have exceeded the manipulation limit while working with images that are smaller than 1MB...
So, it seems t...