0
votes
1answer
16 views
Taskqueue run only 1 task from the queue
Im using google appengine taskqueue to run one of my api in the background. this api takes about 3 seconds to run, but I add it to the queue several time like that:
while len(lst) > 0:
...
-2
votes
0answers
28 views
Passing classes between to App Engine Apps [closed]
There are two GAE apps. One has only one page, it has no HTML, only a class. The second app is mine. I want to get and use that first app's class. Basically I want to be able to take in a URL and use ...
0
votes
0answers
40 views
GAE UnicodeDecodeError: 'ascii' codec can't decode error
I've this annoying problem with UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position.... I've tryed out many things since many asked similar question but none of the solutions work ...
1
vote
2answers
30 views
Delete entity from Datastore by ID/ancestry
I have tried to delete an entity from the GAE datastore for hours now and it doesn't work as it should. I pretty much did the same thing as how to delete NDB entity using ID?, however I'm sure the ...
0
votes
1answer
35 views
why is urlfetch getting status:400 when URLs contain spaces?
class Crawl(webapp2.RequestHandler):
def get(self):
from google.appengine.api import urlfetch
url = "http://www.example.com/path/to a/page" #URL with a space
...
0
votes
1answer
26 views
how to migrate local datastore in google appengine python SDK 1.8.1
I am using GAE python-SDK 1.7.1 and have to update to 1.8.1 and migrate the local datastore to HRD. The appserver is also running locally.
So far, all information i found is a procedure if you are ...
0
votes
1answer
18 views
Charset/Encoding error while Inserting to Google Datastore
I know this question is an exact duplicate of at least a dozen other questions. But I posted this question helplessly only after being convinced that those questions seldom solved my problem.
...
0
votes
1answer
28 views
Nested url mapping at webapp2 (GAE)
In GAE there is a quite simple way to fold branched uri path with PathPrefixRoute, but what if I need something more complex, with more folding level and trailing slash?
Smart way is to use ...
1
vote
1answer
38 views
Save user uploaded file to server using Python
I have a small drag and drop file upload app that I was looking to rewrite using Python on App Engine, and plan to save files on Google Cloud Storage. The problem is, I can't figure out how (or if) I ...
0
votes
0answers
20 views
Strange KeyProperty failure when using flask-appengine-template
I'm using the flask-appengine-template from kamalgill and am getting a strange problem.
My models.py file looks like this:
from google.appengine.ext import ndb
class DimensionModel(ndb.Model):
...
0
votes
1answer
42 views
Python Request Module - Google App Engine
I'm trying to import the requests module for my app which I want to view locally on Google App Engine. I am getting a log console error telling me that "no such module exists".
I've installed it in ...
0
votes
0answers
26 views
Deploying spell checking solution on Google App Engine
I have been searching on this problem for a long time with no satisfiable solution. I am developing a web app in python using GAE. I need a spell checking service to make sure the user inputs are ...
0
votes
1answer
45 views
math.pow Form Input Values Processing
I asked and was advised previously about unpacking tuple with (*variable) to process exponent function that takes 2 values separated by commas, in using Python in command line. But now I'm going live ...
1
vote
2answers
44 views
Serving index.py on GAE without HTML?
This user-input math function (index.py) works in command line, and it and app.yaml file uploaded to and confirmed deployed from GAE, but throws internal server 500 error. Can these print statements ...
2
votes
1answer
14 views
Multiple field names in appengine search
Is it possible to have multiple fields with same name in Appengine Search service?
Why would i need this?
An example if the document is a newspaper page and it consists of single news, I would create ...