question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

So I installed the software correctly and did a manual migration on the app to get the database tables working. I’ve created a task by adding the @background() helper to a function.

I’m manually running python manage.py process_tasks to process the tasks. When I run the function I added the @background() to through a management command it doesn’t do anything. It creates the ‘Task’ in the database to be processed but fails to attempt.

I’m running Django 1.10… any suggestions?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
sumitalpcommented, Feb 24, 2017

In my case, I had written background tasks in a different file like mymodule.file1 where no tasks.py file existed in mymodule folder. After spending long hours I decided to put a tasks.py file and import those tasks from file1.py to tasks.py and surprisingly it works. I urge to @philippeowagner to update README regarding this issue.

0reactions
actlikewillcommented, Jun 9, 2022

I can’t get it to work. I have my function in tasks.py and I have run python manage.py process_tasks in another terminal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is another word for "doesn't work"? - WordHippo
What is another word for doesn't work? ; busted · down ; out · unfunctional ; unsound · disabled ; kaput · unavailing...
Read more >
Is there any difference between "it's not working" and "it doesn ...
It is correct to say "It's not working" when something is broken permanently, however, if something is broken forever (or permanently), stating, "It...
Read more >
138 Synonyms & Antonyms for NOT WORKING - Thesaurus.com
invalid · worthless; unfounded. bad · baseless · fallacious ; on the blink · not working continuously. bonkers · broken · busted ;...
Read more >
something will not work​/​start​/​open etc ​Definitions and ...
Definition of SOMETHING WILL NOT WORK / START / OPEN ETC (phrase): saying you cannot make something do something.
Read more >
What do "it doesn't work" and "phrase" mean? [closed]
1 Answer 1 · it is frequently used to mean that something mechanical or that has a function is broken and does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found