Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8892933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:07:48+00:00 2026-06-14T23:07:48+00:00

Have some problems using taskqueues in google app engine. I tried doing the same

  • 0

Have some problems using taskqueues in google app engine. I tried doing the same as in this site:
https://developers.google.com/appengine/docs/python/taskqueue/overview-push

But it seems like my task is never executed, I get this error:

WARNING 2012-11-25 15:29:21,258 taskqueue_stub.py:1978] Task task1 failed to execute. This task will retry in 12.800 seconds

The code is mainly the same except of these:

class CounterWorker(webapp.RequestHandler):
  def init(self): # should run at most 1/s
    def txn():
      logging.info("bla")
    db.run_in_transaction(txn)

and I just add the task like this:

taskqueue.add(url='/worker')

What I really want is just running a block of code that dont timeouts. So I read I could use taskqueues. But I cant seem to make it work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:07:49+00:00Added an answer on June 14, 2026 at 11:07 pm

    If you just want to execute tasks “vanilla” then have a look at the deferred functions.

    Background work with the deferred library

    from google.appengine.ext import deferred
    
      def do_something_expensive(a, b, c=None):
          logging.info("Doing something expensive!")
          # Do your work here
    
      # Somewhere else
      deferred.defer(do_something_expensive, "Hello, world!", 42, c=True)
    

    You won’t need a url/webapp handler as you can pass the function directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some problems with using queries in Hebrew. I tried this: http://sphinxsearch.com/forum/view.html?id=1431 But
I have some problems with a java app i'm developing, i'm using HtmlCleaner 2.2
I have some strange scrolling problems with my PhoneGap (using jQuery Mobile) app: I'm
I'm using this library to hook keys and I have some problems with comparing
I have some problems displaying data in JTable. My app is using a JTable
i've got some problems using jQTouch. I have this Link <a href=#site_map class=swap>Map</a> and
I have some problems using asyncore with AF_UNIX sockets. This code import asyncore, socket,
I am learning Java with Swing and I have some problems with using JTextField
I have some problems to start programming using cocos2D on linux + android. I
I have some problems sending mails through SMTP using Spring's MailSender interface and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.