for writing files to the blobstore see the GAE docs:
http://code.google.com/appengine/docs/python/blobstore/overview.html#Writing_Files_to_the_Blobstore
Now the task queue is working fine. I have another problem. I am
generating a csv file.. Now since its running at background there will
not be any popup so I want to attach the file as an attachment in mail
and send or store the file in blobstore and send the link to user.
This is my code:
def re
what is the error in the logs when the task fails? what is the URL
shown in the task list? something is either amok with the URL itself,
or something is causing that function to fail when called via the task
queue.
On 2/13/12 20:05 , Saurabh S wrote:
It worked when I passed a different cont
If it worked with different controller my guess is still that the URL you
are passing is wrong.
Try to simplify it to: taskqueue.add(url=URL('hello'))
It worked when I passed a different controller in the url other than
the one it is being called from.
It is production.
I checked the task queue it simply retries continuously if the same
controller is provided.
No params is not a mandatory argument to takqueue.add() I guess.
Because it does not t
some questions/thoughts:
- local test server or production?
- did you check the task queue? in production go to the admin console and
find the task queues link. in local test go to /_ah/admin and find the
task queue link
- is params a required argument to taskqueue.add()? i don't know if i
Check the app engine requests log to make sure the right task URL is being
used.
7 matches
Mail list logo