I'm having a bit of trouble with ReferencePropertys in App Engine (Python).
For a bit of fun, I'm trying to model a folder/file system, but having trouble getting folders to reference folders.
My first attempt was this:
class Folder(db.Model):
id = db.StringProperty()
name = db.StringProperty()
created = db.DateTimeProper...
Hi,
I'm trying to build my application for GoogleAppEngine using maven. I've added the following to my pom which should "enhance" my classes after building, as suggested on the DataNucleus documentation
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>maven-datanucleus-plugin</artifactId>
...
can curl be used on google app engine ?
...
i built an appengine web app cricket.hover.in. The web app consists of about 15k url's
linked in it, But even after a long time of my launch, no pages are indexed on google.
Any base link place on my root site hover.in are being indexed with in minutes.
but i placed the same link home page of root site a long back. but its of no use.
c...
I want to create search interface to search data from GAE datastore? Can i use Google Search API to search this way?
...
When deploying my application to GoogleAppEngine I'm getting the following message after the upload
Exception in thread "Thread-0" You have selected to use ClassEnhancer "ASM" yet the JAR for that enhancer does not seem to be in the CLASSPATH!
org.datanucleus.enhancer.NucleusEnhanceException: You have selected to use ClassEnhancer "ASM"...
My app on google app engine returns content items (just text) and comments on them. It works like this (pseudo-ish code):
query: get keys of latest content #query to datastore
for each item in content
if item_dict in memcache:
use item_dict
else:
build_item_dict(item) #by fetching from datastore
store it...
Hello,
I was looking for a python code that would be able to log in from "Google App Engine" to some of my accounts on some websites (like yahoo or eBay) and was given this code:
import urllib, urllib2, cookielib
url = "https://login.yahoo.com/config/login?"
form_data = {'login' : 'my-login-here', 'passwd' : 'my-password-here'}
jar =...
Hello,
I was given this Python code that would calculate an MD5 value for any phrase:
import md5
md5.new("Nobody inspects the spammish repetition").digest()
(The phrase here is: "Nobody inspects the spammish repetition")
What I want to do is display this value in my browser. How do I do it in Python?
I tried all these variants, non...
Is there a datastore performance difference between adding dynamic properties of the expando class when they are needed for an entity or the simpler (for me) framework of just setting up all possible properties I might need from the start even though most instances will just be left empty.
In my specific case I would be having 5-8 empty...
What is the best way to reference datastore model attributes without using the four 'if statements' I have in the below sample code, which seem messy and inefficient. For real-world code I may have a situation of 100 attributes such as self.var1, self.var2, ... self.varN that I want to some how reference with just an integer (or strings)...
how to move a Google Application Engine based website to Amazon platform?
do i need to recode all of the API?
...
Hi,
I would like my application - an iPhone app, to use the Google App Engine to authenticate for all requests. I would prefer a single email/password to be stored inside the app, and to be used for these reqeusts.
Now, suppose the app is installed by say 1000 people and all 1000 people use it at the same time - will google cause issue...
URL url = new URL("http://twitter.com/statuses/update.xml");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setDoOutput(true);
String cridentials =
new sun.misc.BASE64Encoder().encode((username + ":" + password).getBytes());
conn.setRequestProperty ("Authorization", "Basic " + cridentials);
OutputStreamWr...
how can i set proxy in the netbeans app engine plugin ? so that the it works like command line appcfg -p proxy:port update application_name
i want to do this because i am behind a proxy.
...
Hello, I try to deploy a GWT application, to Google App Engine using NetBeans.
I had successful run GWT sample http://code.google.com/webtoolkit/doc/latest/tutorial/create.html using Personal GlassFish v3 Prelude Domain, by
1) Copy generated source code from StockWatcher to C:\Projects\StockWatcherNetbeans\src\java\com\google\
2) Modi...
Are very large TextProperties a burden? Should they be compressed?
Say I have a information stored in 2 attributes of type TextProperty in my datastore entities.
The strings are always the same length of 65,000 characters and have lots of repeating integers, a sample appearing as follows:
entity.pixel_idx = 0,0,0,0,0,0,0,0,0,1,1,1,1,...
There is little documentation on how to use the low level api for datastore and quite a lot on JPA and JDO and how it translates to it.
My question is: is there any advantage in coding against the JPA or JDO specs instead of accessing directly the low level api for datastore ?
From an initial look, it seems simple and straight forward...
Сould you please tell me how to place the session identifier into the cookie, if you are working with google app engine.
Thanks.
...
I'm developing application for google app engine (python), witch needs not only to send emails, but also know which ones bounce back.
I created special account for my domain [email protected], added it as an app admin and sending messages from it.
The problem is (and it was described here http://code.google.com/p/googleappengine/issu...