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.

BUG: Unhandled exception during task queue run loop.

See original GitHub issue
2016-02-02 23:41 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task_queue.py", line 47, in run
    self.current_task.execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 69, in wrapper
    return func(self, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 578, in execute
    self._execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 557, in _execute
    entry.complete()
  File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 163, in complete
    self.run_hooks('complete', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 78, in run_hooks
    func(self, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 178, in entry_complete
    search_results.remove(entry)
KeyError: <Entry(title=Sarah.&.Duck.S01E03.Lach.mal.Esel.GERMAN.HDTV.x264-pbw,state=rejected)>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:31 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Cheynascommented, Dec 27, 2017

Just flagging that error still annoyingly present and wishes that either

  • a developer have a quick look at the hotfix posted above and apply it, or explain why that fix is not feasable, or that
  • someone explains how to apply that hotfix temporarily, locally, and that it may need to be reapplied after updating flexget

I’d accept either to close an issue that’s been around for close to two years now…

1reaction
snickers2kcommented, Nov 3, 2017

@pirandello9 @gazpachoking shouldn’t the fix be implement ?! Still a problem for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unhandled exception during task queue run loop. Python ...
Actual behaviour: BUG: Unhandled exception during task queue run loop. Config: http://pastebin.com/Di6CHWQz. Log: http://pastebin.com/QPhQm7Sr3
Read more >
python - Using queues results in asyncio exception "got Future ...
run () creates a new loop, and futures created for the queue in one loop can't then be used in the other. Create...
Read more >
How to: Handle Exceptions in Parallel Loops | Microsoft Learn
Learn how to handle exceptions in parallel loops in .NET. See an example of how to wrap all exceptions from the loop in...
Read more >
Exception Handling in asyncio – roguelynn - Lynn Root
Our exception handler function must take in two arguments, loop and context (if you want to give it other arguments, use functools. partial...
Read more >
Error Messages | Cypress Documentation
When the error is fixed in your test file, your tests will automatically re-run. Support File Errors. Support file missing or invalid. The...
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