Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download handler fails: "No processable items found in folder:", Manual PP works just fine #11912

Open
Fuergrissa1 opened this issue Jan 8, 2025 · 2 comments

Comments

@Fuergrissa1
Copy link

Lately, download handler is failing to process files after they are successfully downloaded by NZBget

To Reproduce
Steps to reproduce the behavior:

  1. Manual Search any show, selct any release
  2. release is added to NZBget, downloaded, marked successful and moved to history
  3. After Download handler interval, Medusa history shows an entry for "Snatched" with client status: "Failed, Postprocessed"
  4. A new History entry shows the release failed. Log has a debug entry: No processable items found in folder:"
  5. Run Manual PP in same folder
  6. Release correctly marked as "Downloaded" in History

Expected behavior
Download handler scans the release folder and marks it as "Downloaded"

Screenshots
image

Medusa (please complete the following information):

  • OS: TrueNAS Scale 24.10 - Linux-6.6.44-production+truenas-x86_64-with
  • Branch: master
  • Commit: d996387
  • Python version: 3.10.8
  • Database version: 44.19

Debug logs (at least 50 lines):
General > Advanced Settings > Enable debug

2025-01-08 17:01:25 DEBUG	FORCEDSEARCHQUEUE-MANUAL-289882 :: NZBGeek :: [d996387] GuessIt cache was cleared due to invalidation object change: previous={'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_title': ['Made in Abyss - The Golden City of the Scorching Sun', 'Made in Abyss S2', 'Made in Abyss S2 - The Golden City of the Scorching Sun', 'Mushoku Tensei II - Isekai Ittara Honki Dasu (2024)', 'Mushoku Tensei - Isekai Ittara Honki Dasu', 'Mushoku Tensei II - Isekai Ittara Honki Dasu', 'Mushoku Tensei II - Isekai Ittara Honki Dasu Part 2', 'Mushoku Tensei S2', 'Ishura S2', 'Blue Lock VS. U-20 Japan', 'NOVA', 'Oshi no Ko', 'Oshi no Ko 2nd Season', 'DanMachi S5', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka - Familia Myth V', 'DanMachi5', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S5', 'DanMachi S2', 'DanMachi S3', 'DanMachi S4', 'Is It Wrong to Try to Pick Up Girls in a Dungeon II (DanMachi S02)', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S3', 'Dungeon ni Deai S4', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka - Familia Myth IV', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S4'], 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7'], 'allowed_languages': ['de', 'en', 'es', 'ca', 'fr', 'he', 'hu', 'it', 'jp', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'uk', 'mul', 'und'], 'allowed_countries': ['us', 'gb']} new={'show_type': 'anime', 'type': 'episode', 'implicit': True, 'episode_prefer_number': True, 'expected_title': ['Made in Abyss - The Golden City of the Scorching Sun', 'Made in Abyss S2', 'Made in Abyss S2 - The Golden City of the Scorching Sun', 'Mushoku Tensei II - Isekai Ittara Honki Dasu (2024)', 'Mushoku Tensei - Isekai Ittara Honki Dasu', 'Mushoku Tensei II - Isekai Ittara Honki Dasu', 'Mushoku Tensei II - Isekai Ittara Honki Dasu Part 2', 'Mushoku Tensei S2', 'Ishura S2', 'Blue Lock VS. U-20 Japan', 'NOVA', 'Oshi no Ko', 'Oshi no Ko 2nd Season', 'DanMachi S5', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka - Familia Myth V', 'DanMachi5', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S5', 'DanMachi S2', 'DanMachi S3', 'DanMachi S4', 'Is It Wrong to Try to Pick Up Girls in a Dungeon II (DanMachi S02)', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S3', 'Dungeon ni Deai S4', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka - Familia Myth IV', 'Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S4'], 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7'], 'allowed_languages': ['de', 'en', 'es', 'ca', 'fr', 'he', 'hu', 'it', 'jp', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'uk', 'mul', 'und'], 'allowed_countries': ['us', 'gb']}
2025-01-08 16:52:35 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [d996387] Updated history with resource path: /Media-temp/completed/TV/NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE and resource: NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE.nzb with new status Failed, Postprocessed
2025-01-08 16:52:35 DEBUG	POSTPROCESSQUEUE-POST-PROCESS :: [d996387] No processable items found in folder: /downloads/completed/NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE
2025-01-08 16:52:35 DEBUG	POSTPROCESSQUEUE-POST-PROCESS :: [d996387] Processing resource: NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE.nzb
2025-01-08 16:52:35 DEBUG	POSTPROCESSQUEUE-POST-PROCESS :: [d996387] Trying to use folder: /downloads/completed/NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE
2025-01-08 16:52:35 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [d996387] Beginning postprocessing for path /Media-temp/completed/TV/NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE and resource NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE.nzb
2025-01-08 16:52:33 INFO	DOWNLOADHANDLER :: [d996387] Updating status to [Completed] for NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE with info_hash 2061
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] 76119: Formatting pattern: %SN - %Sx17 - %EN - %QN -> NOVA - 51x17 - Building Stuff Change It! - 1080p WEB-DL
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Found codec for NOVA Building Stuff: Change It!
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Parsed /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It! into title: NOVA, season: 51, episode: [17], episode_title: Building Stuff Change It!, type: episode, parsing_time: 0.008915901184082031, absolute_episode: [], quality: Unknown, total_time: 0.00899362564086914
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Matched release /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It! to a series in your database: NOVA using guessit title: NOVA
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] New guessit parse for item /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It!
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Trying guessit cache for item /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It!
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] 76119: Formatting pattern: %SN - S%0SE17 - %EN -> NOVA - S51E17 - Building Stuff Change It!
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Found codec for NOVA Building Stuff: Change It!
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Parsed /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It! into title: NOVA, season: 51, episode: [17], episode_title: Building Stuff Change It!, type: episode, parsing_time: 0.016597270965576172, absolute_episode: [], quality: Unknown, total_time: 0.01673412322998047
2025-01-08 16:51:30 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Matched release /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It! to a series in your database: NOVA using guessit title: NOVA
2025-01-08 16:51:29 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] New guessit parse for item /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It!
2025-01-08 16:51:29 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Trying guessit cache for item /Media/TV Shows/NOVA/NOVA - S51E17 - Building Stuff Change It!
2025-01-08 16:51:29 DEBUG	SNATCHQUEUE-SNATCH-76119 :: [d996387] Checking if we should stop searching for a better quality for for episode NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE
2025-01-08 16:51:29 INFO	SNATCHQUEUE-SNATCH-76119 :: [d996387] Downloading NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE with size: 1.92 GB from NZBGeek, through a SearchType.MANUAL_SEARCH search
2025-01-08 16:51:29 INFO	SNATCHQUEUE-SNATCH-76119 :: [d996387] Beginning to snatch release: NOVA.S51E17.Building.Stuff.Change.It.1080p.WEB.h264-BAE
@borntohonk
Copy link
Contributor

  • After Download handler interval, Medusa history shows an entry for "Snatched" with client status: "Failed, Postprocessed"

  • A new History entry shows the release failed. Log has a debug entry: No processable items found in folder:"

  • Run Manual PP in same folder

  • Release correctly marked as "Downloaded" in History

Go to /config/search/

enable "Use Failed Downloads"

@Fuergrissa1
Copy link
Author

Fuergrissa1 commented Jan 9, 2025

Go to /config/search/

enable "Use Failed Downloads"

This was already enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants