Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [python-huey]

Distributed task queue framework for python.

python-huey
0 votes
0 answers
20 views

Need solution to resolve this error:huey.exceptions.HueyException: task not found in TaskRegistry

`In my django application currently using huey queue to process tasks. Now I want to prioritise tasks in my queue based on my requirement. Found PriorityRedisHuey class in huey module. I updated my ...
Meena's user avatar
  • 1
1 vote
0 answers
104 views

How to run Huey consumer on Windows IIS

I am working on a Django application which is deployed on a Windows Server using IIS. I want to use Huey to be able to run background tasks e.g. sending of emails and report generation. Celery does ...
Frankline's user avatar
  • 40.8k
0 votes
0 answers
149 views

Huey Monitor - Error occurred sending signal "executing" - database kills the connection

In a Django 4.1 project I have huey (2.4.5) with django-huey (1.1.1) and django-huey-monitor (0.7.1) set up. Redis broker. 5 queues, including default, and are run in docker containers: PYTHONBUFFERED=...
Archarachne's user avatar
1 vote
2 answers
393 views

Django and Huey task issue, record in DB doesn't exist when the task is ran

I am testing Huey with Django and found one issue, tasks can't find the record in DB. Postgres 14 Redis 7.0.5 Django 4 use with docker Here is the code: # settings.py USE_HUEY = env.bool("...
Mirza Delic's user avatar
  • 4,259
2 votes
1 answer
797 views

Run two commands, one after the other, on digitalocean app platform

I want to automatically start huey (a background task manager) going when I deploy a Django site on Digital Ocean's "App" platform. It provides a "run command" box where one can ...
Jack's user avatar
  • 327
1 vote
1 answer
252 views

Using Huey with Django: How to keep run_huey command running?

I'm using Django on Ubuntu 18.04. I've got everything set up. And I type python manage.py run_huey in the server (through an SSH connection) to start huey, and it works. However this is done through ...
Valachio's user avatar
  • 1,115
-1 votes
2 answers
1k views

Django Huey Crontab every day at 10am

I'm using Django 4.0.4 and huey 2.4.3. What I would like to atchieve it's to run a task everyday at 10am, using a periodic task. My task folder path => project/apps/utils/tasks +-- project/ | +-- ...
MOURET Jonas's user avatar
1 vote
1 answer
737 views

Django with Huey - delay a task

For a scenario with sales orders, I'm needing to execute a task with a given delay. To accomplish this, I added a task in my tasks.py file like so: from huey import crontab from huey.contrib.djhuey ...
S.D.'s user avatar
  • 2,851
0 votes
2 answers
470 views

Flask, push application context for Flask-sqlalchemy to huey worker

I'm novice novice with the python ecosystem and in web development and I would like to build an application with the Flask framework. This application will have to execute a background task. For this ...
wadl's user avatar
  • 3
2 votes
1 answer
929 views

Huey ``db_task`` successfully registered by consumer but does not receive/execute any task

I have a Django project with huey as task queue. In my dev environment (see below), everything works as expected: [save] Django model instance saved [trigger] huey task triggerd [execute] huey task ...
tombreit's user avatar
  • 1,319
3 votes
1 answer
1k views

Python Huey throws huey.exceptions.HueyException: xxxxxx not found in TaskRegistry

I'm trying to integrate Huey with Django where I'm almost done with the initial setting of app and everything with redis. Now when I'm running the actual .py file I'm getting an exception huey....
Vin's user avatar
  • 986
0 votes
1 answer
2k views

AttributeError: 'int' object has no attribute 'timetuple'

Quick note: this error may be somewhat linked to this thread, but the use case and python version (the other one is still at v2) is different. Other similar threads don't regard specifically to python ...
crimsonpython24's user avatar
0 votes
0 answers
30 views

Prevent Django from Removing Previous Entries in PostgreSQL

I have the following Django code that is being run on PostgreSQL and Huey (an automatic scheduler). The problem is that, whenever the periodic task is run, Django removes the previous rows in a table ...
crimsonpython24's user avatar
2 votes
1 answer
1k views

How does Huey call task?

I have this code here # it's not every five mins but let's overlook that for now @periodic_task(crontab(minute='*/1')) def every_five_mins(): # ... But I couldn't find where Huey calls the ...
crimsonpython24's user avatar
1 vote
1 answer
880 views

Retry a Huey task when something fails

Hi we are using Python Huey https://pypi.org/project/huey/1.1.0/ on a django project for running our background task, we are use it as a decorator @task() on some functions. To be more precise we are ...
Jose Pato's user avatar
  • 111

15 30 50 per page