Hi,
I am very new to sql and more over GQL used in Google app engine. I have managed to push my data to the Google servers but I am not able to figure out a way to query from the entities I've loaded to the datastrore.
Here's the problem, i want to query only the names and numbers of a user's contacts marked by user id apart from other...
I'm trying to upload and save a resized image in a db.BlobProperty field on Google App Engine using Django.
the relevant part of my view that process the request looks like this:
image = images.resize(request.POST.get('image'), 100, 100)
recipe.large_image = db.Blob(image)
recipe.put()
Which seems like it would be the logical django ...
I have recently been tasked with working on creating a gadget for a
project that is hosted on app engine. I am also hosting the gadget
specification on app engine.
The gadget specification is generated on the server side as it refers
back to the application id that the gadget is hosted on (this project
may be hosted on multiple IDs), so...
I'm pretty sure the following error is related to the fact that I'm sharing code via SVN with a colleague that is using a Windows system.
Myself, I use Python on Mac, editing with TextMate.
#!/usr/bin/python
import os
from google.appengine.api import users
from google.appengine.ext import webapp
...
When running that code, I get a...
I'm trying to delete some unwanted data from my datastore with Java and found
some code using the DatastoreService that I modified to delete as many
entries as possible in 10 seconds:
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Query query = new Query("PostalCodes");
long starttime = (new Date()).getTime(...
What are db backup options for (offline):
1 - Amazon EC2
2 - GAE (Google App Engine)
Note: For example ESB (Amazon Elastic Block Store) provides differential snapshots which is great; and we can have backups in Amazon S3, which is great too. But I do not know if I can have latest version of my db, on my local machine.
Thanks
...
Hello,
I try to implement Spring Security with OpenID in Google App Engine but I am getting a
'java.security.AccessControlException: access denied' for the
RequestURI /j_spring_openid_security_chec
It is working fine if I use '-D--enable_all_permissions=true' as VM
Argument.
Any ideas?
Thanks,
Ralph
...
Hi,
I'm new to python and I'm trying to obtain a username from the UI and query the result to get the phone book contacts of the user. But I am not able to set the user name to be a global variable to use it for multiple queries. Here's the code, I believe I am doing some syntax error/improper usage, please help out in correcting my cod...
I am using Grails with the App Engine plugin and JPA persistence. When running
grails test-app
my unit tests run perfectly, but I receive the error below when the integration tests start.
Is this a known issue with the app-engine plugin?
Starting integration tests ...
[copy] Copying 1 file to /home/matthew/.grails/1.1.1/p...
Hi,
my question is the following. I run a web project targeted to be deployed on the Google Appengine locally from within Eclipse. So the server starts up and it can be accessed normally by typing localhost:8080 into some browser. Everything fine so far.
But what I need is to access it from outside, say from a friend's machine (which ob...
Hi,
I am very new to python and after a brief intro on to python + Google app engine, I've started to work on a pilot project. I have bulkloaded 2 entities UserDetails and PhoneBook with data onto the app engine. Now in my UI I try to first take in the user name then query it to get the user id from UserDetails, then using the retrieved...
Let's say I have 1000's of jobs to perform repeatedly, how would you propose I architect my system on Google AppEngine?
I need to be able to add more jobs whilst effectively scaling the system. Scheduled Tasks are part of the solution of course as well as Task Queues but I am looking for more insights has to best utilize these resources...
It's been noted that Google App Engine is moving its datastore implementation from BigTable to MegaStore. What's the difference between the two?
...
Ive been working on a feature of my application to implement a leaderboard - basically stack rank users according to their score. Im currently tracking the score on an individual basis. My thought is that this leaderboard should be relative instead of absolute i.e. instead of having the top 10 highest scoring users across the site, its...
I have a website I am looking to stay updated with and scrape some content from there every day. I know the site is updated manually at a certain time, and I've set cron schedules to reflect this, but since it is updated manually it could be 10 or even 20 minutes later.
Right now I have a hack-ish cron update every 5 minutes, but I'd li...
I'm wondering what would be the best way to design a social application where members make activities and follow other member's activities using Google AppEngine.
To be more specific lets assume we have these entities:
Users who have friends
Activities which represent actions made by users (lets say each has a string message and a Ref...
Wave protocol bot is just like any typical xmpp agent bot / component bot right?
Can wave bots used on other places or use bosh and create webclient to consume the bot?
Is wave protocol bot library created using ignite whack library? if yes, can we just use directly whack library to create component bot for wave?
...
The default choice field display of a reference property in appengine returns the choices
as the string representation of the entire object. What is the best method to override this behaviour? I tried to override str() in the referenced class. But it does not work.
...
I'm developing an application on Google App Engine and needs to find all the points that are in a box.
A basic SQL search would be:
minlatitude < latitude AND maxlatitude > latitude AND minlongitude < longitude AND maxlongitude > longitude
But, this request is both inefficient and forbidden (you cannot use inequality on 2 differe...
I've noticed google app engine's development server handling cookies very strangely. Basically, they don't always to go away when they should. Hopefully somebody else knows what's going on and can enlighten me. Here's a rough outline of the steps to reproduce.
First, create three RequestHandlers: setcookie, deletecookie and display...