I am trying to break my app into separate scripts. Part of this effort meant breaking the api calls into it's own file. However the calls to the api (like http://example.com/api/game/new no longer work).
My app.yaml contains this:
- url: /api.*
script: api.py
which seems to be redirecting properly because this configuration works:
...
I've got a fairly new site where I upload images using the blobstore
and storing the url in my datastore model as an db.StringProperty().
When the file is uploaded I get the serving url with: image.imageUrl = images.get_serving_url(str(upload_files[0].key())) where image is my datastore model.
I haven't modified the code for about 2 wee...
the 2 filtered fields would actually be a unique index in sql so i want to see if an entity exists based on these 2 fields before inserting a new one.
currently i have:
t2get = db.GqlQuery("SELECT __key__ FROM Talk2 WHERE ccc = :1 AND ms = :2", c, theDay)
for x in t2get:
theKey = x[0]
if theKey:
t2 = Talk2.get(theKey)
else:
...
I've been working my way through a Google App Engine tutorial.
I entered the code shown in section 6 and then tried to test the functionality as instructed.
However, regardless of what email address I put in the form's To:
field, I get an error that looks like this:
Message send failure
HTTP ERROR 404
Problem accessing /_ah/mail/somee...
I've been working my way through a Google App Engine tutorial.
I entered the code as shown in section 8.2 and then tried to visit "Static List" from the administrative console.
When I click the link, I get:
Error: Not Found
The requested URL /static.html was not found on this server.
I tried to modify "<page name="Static List" url="/...
I'd like to know what my options are for an open-source SIP server based on Java, that would work under GAE.
...
I'm trying to make http requests from my Google App Engine webapp, and discovered I have to use URLConnection since it's the only whitelisted class. The corresponding Clojure library is clojure.contrib.http.agent, and my code is as follows:
(defroutes example
(GET "/" [] (http/string (http/http-agent "http://www.example.com")))
(rou...
This syntax does not produce unique values across different Fetch Groups:
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private long id;
So I've written the method below to simulate generating a database sequence for my Order model. But what I'm not sure about is what the transactional state needs to be configured as here ...
Hey, yall.
I have an existing webapp, running in Python on App Engine, in which users can login through open-id using a Yahoo account. Now, once they're signed in, I'd like them to be able to access their Yahoo contacts, through OAuth. I'm working though the Yahoo Python SDK and am just stuck.
I have the consumer key, consumer secret...
I'm having an issue with blobstore uploads, but because of the way gae handles all of that, actually figuring out what the error was is giving me some trouble. I'm using django, which unfortunately tries very hard to prevent exceptions from reaching the user without formatting. It looks like the uploads are successful, there are __Blob...
Hello GAE Experts,
I am trying to see if it possible to build an App which uses multiple Google App Engine Accounts - sort of a distributed App on GAE.
Fact: Each Google Account can have upto 10 Google AppEngine Apps under it.
My Requirement: What i am trying to do is to see if my Media intensive App can be distributed over multiple G...
I write blog by using rst, and I manually convert it into html, and post it.
For now, I want to create a simple blog system by using GAE,
I know docutils can convert rst to html,
but docutils is big, is there a single py file for convert rst to html?
anyone notice GAE?
...
How would you go about internationalizing a Google App Engine webapp application using BABEL? I am looking here for all the stages:
Marking the strings to be translated.
Extracting them.
Traslating
Configuring your app to load the right language requested by the browser
...
I need to import some data to show it for user but page execution time exceeds 30 second limit. So I decided to split my big code into several tasks and try Task Queues. I add about 10-20 tasks to queue and app engine executes tasks in parallel while user is waiting for data. How can I determine that my tasks are completed to show user d...
I am building a demo for a banking application in App Engine.
I have a Users table and Stocks table.
In order for me to be able to list the "Top Earners" in the application, I save a "Total Amount" field in each User's entry so I will later be able to SELECT it with ORDER BY.
I am running a cron job that runs over the Stocks table and ...
Hi.
I've written an app that scans the internet and saves some data it retrieves from there. After a while the percentage of Datastore quota (Total stored data) jumped from 7% to 99%. I stopped my robot, but the figure raised to 100% after some time. The Datastore stats, though, says that the total volume of data stored in the datastore ...
What options exist for Python Cloud Hosting other than Google App Engine?
I'm looking for solutions that let me write and publish code to servers that will scale up automatically to meet demand. I don't want to spend my time on IT tasks.
So far, I've really only found this: https://www.picloud.com/
App Engine is great, but has some im...
Hi folks,
I'm using quercus for appengine. I tried saving a long php string (> 1000 characters) but appengine won't allow me as String can only hold 500 characters. So I tried using appengine's Text datatype. It lets me save, however, when I retrieve the data from PHP, it returns me a resource() type instead of string.
Let me explain w...
Hi, i'm working on on a project with DJango but i'm also thinking about going the Jython route. By doing so...since i'll be using the java instance instead of cpython wouldn't I be able to use java, scala, ruby and other other languages that run on top of the jvm if need be?
...
How can I determine how many sub-queries are required for a single top-level query on app engine (python)?
I am playing around with the IN operator, and I am curious if there is any way to be notified if I over-step my 30 sub-query limit.
...