Hello,
I want to be able to check if a key_name for my model exists in the datastore.
My code goes:
t=MyModel.get_by_key_name(c)
if t==None:
#key_name does not exist
I don't need the object, so is there a way (which would be faster and cost less resource) to ccheck if the object exist without returning it? I only know the...
I need to make application that needs to poll server often, but GAE has limitations on requests, so making a lot of requests could be very costly. Is it possible to use long polling and make requests wait for the maxium 30 seconds for changes?
...
Hello,
When executing:
path=os.path.dirname(__file__)+'/log.txt'
log=open(path,"w",encoding='utf-8')
I get:
log=open(path,'w',encoding='utf-8')
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1203, in __init__
raise IOError('invalid mode: %s' % mode)
IOError: invalid mode: w
I'm not sur...
Hello there!
I'm getting myself confused as to how to get a JRuby app cranking on App Engine.
I know that you can get started using the appengine-jruby "gem" (Note: I'm a Java programmer, so this is all completely new to me). I've also seen some talk about Warbler, and am getting the impression that I could probably use Warbler someho...
Hi All,
I have some CSV files for cities,state and countries with their ids, names etc. I want to put all this data into Google app engine datastore.
Can someone please suggest an efficient way of doing this on development server as well as on the production server?
Thanks in advance.
...
Hello,
I'm running my app on the GAE development server, with app-engine-patch to run Django.
One of my views is bugged , so I want to log everything that happens.
I added in myapp.views:
import logging
LOG_FILENAME = '/mylog.txt'
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
and my function is:
def function(string...
Hi!
I have a model with a list property.
I have a csv that has each list data that looks like this.
[u'1234567']
The list has only one item each.
My bulkloader.yaml has configured import_transform: transform.none_if_empty(list). It uploads the above list property as [u'[', u'u', u"'", u'1', u'2', u'3', u'4', u'5', u'6', u'7', u"'", ...
Hi,
I'm new in google-app-engine and google datastore (bigtable) and I've some doubts in order of which could be the best approach to design the required data model.
I need to create a hierarchy model, something like a product catalog, each domain has some subdomains in deep. For the moment the structure for the products changes less t...
Hey,
In the application we are working on we have to send secured messages from a flash movie running in the browser to an app engine application. One good candidate would be SSL which app engine seems to somewhat support (not exactly sure). But is there any implementation for SSL sockets for actionscript 3 (since afaik as3 doesn't have...
Hello, I'm using Google appengine and want to generate a PDF with reportlab.
The application works well and can generate PDF's like 'Hello World' and little else.
But what I want is to fetch data from a form with the data that the user entered and generate PDF dynamically.
Anyone can share a piece of code? I would be grateful.
...
Hello!!!
I have downloaded and installed Python 2.5.4 on my computer (my OS is Windows XP), downloaded “Goggle App Engine Software Development Kit” and created my first application in Python, which was a directory named helloworld that contained a small python file with the same name (helloworld.py). Here are the contents of that small ...
Hello, the title speaks for itself. I play with GAE and some of my apps have versions like (1,2,3,4 and dev). So, is there a way to get all of them, so I could use it in my app to generate links to different versions ?
...
I am trying to have this function limit a user to only one vote per image. However it currently lets all votes through. If I change "if existing_vote != 0:" to "if existing_vote == 0:" it lets no votes through. Thoughts?
class VoteHandler(webapp.RequestHandler):
def get(self):
#See if logged in
self.Session = Session()
if ...
At first I thought the com.google.appengine.api.datastore.PostalAddress class was going to provide some way of validating addresses entered by users in an App Engine app but I don't even know how to instantiate this class - it doesn't have a public constructor.
Is there a Java library that could be used in an App Engine app to validate...
I want my app to communicate with with server. I want the app to store something like notes and contacts. They can run the app on any system, and get their contacts on any machine by entering their username and password...
As you can see authentication security of user's data is important. I am considering using Google App Engine as the...
I have a simple form that submits a image to the blobstore and a title for the image.
This works on my local devserver but when I deploy my code, non ascii letters in the title become garbled with some kind of mixture of ascii and hex. For example Ísland becomes =CDsland. Note, I am using <meta http-equiv="Content-Type" content="text/...
So I am trying to implement a global highscore for my game in google apps engine java. The information I want to retrieve is twofold:
Which position did the user place?
How many percent of all records did he beat?
The second question is solved if I solve the first one, and find a way to count the total number of rows in the database....
I'm deploying a simple Java app to Google App Engine.
I have a simple JPA Entity containing a Key as my generated ID.
import javax.persistence.*;
@Entity
public class MyEntity
{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private com.google.appengine.api.datastore.Key key;
...
Once I persisted this ob...
Hello all!
Is this the right aproch while using the datastore under Google App Engine?
I have this super-class with the right includes:
package gae.google.db.object;
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
@Inheritance(strategy = InheritanceStrategy.NEW_TABLE)
public class User{
@PrimaryKey...
Hi all,
I have to integrate paypal with my application which is built on app engine patch with python.
I searched over the web and found some issues reported in paypal integration with google application engine like here:
http://groups.google.com/group/google-appengine/browse_thread/thread/9059b0750c45703b/b1d0611dd4b04273
There is ...