mirror of
https://github.com/RandomNinjaAtk/arr-scripts.git
synced 2026-03-02 22:57:35 -05:00
[BUG] - RADARR - No module named 'guessit' #164
Labels
No labels
Needs Triage
Not Reproducible
Upstream Issue
User Error
bug
documentation
enhancement
good first issue
help wanted
invalid
lidarr
lidarr
question
radarr
readarr
sabnzbd
sonarr
synology (host)
unraid (host)
waiting for logs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/arr-scripts#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rav3ndk on GitHub (Jun 26, 2024).
Application
Radarr
Host platform
QNAP Container Station (Docker)
Script
AutoExtras
Script Version
1.5
Describe the bug
Trailer download stopped working. Can see in logs that trailers are downloaded, but then deleted again after getting this error:
File "/usr/local/sma/manual.py", line 5, in
import guessit
ModuleNotFoundError: No module named 'guessit'
2024-06-26 07:55:26 :: Extras :: 1.2 :: :: 1 of 4 :: Trailer :: Sneak Peek “Chapters” Trailer :: ERROR :: SMA Processing Error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected trailer to be downloaded and stored in movie folder
@RandomNinjaAtk commented on GitHub (Jun 26, 2024):
Looks like the qtfaststart pip package is broken and won't install which is preventing the other packages from being installed.... Not really sure what to do about it...
Submitted an issue here, to see what might possibly be done about it: https://github.com/mdhiggins/sickbeard_mp4_automator/issues/1716
@rav3ndk commented on GitHub (Jun 26, 2024):
Don't know about qtfaststart pip package as it's not really something I've come across. To me it looks like issue with the SMA.
I did further testing myself to see if I could find a workaround since I am only using the scripts to download trailers, so I found a quick and dirty workaround. :)
I did the following inside the container as workaround - Delete lines with references to modules not installed after latest update:
This allowed the script to download and keep the trailer - but of course not a proper solution. But it will work for me until you can solve the SMA package issues.
@RandomNinjaAtk commented on GitHub (Jun 26, 2024):
The problem is its a requirement for the SMA project, and when the installation attempts to install the SMA requirements, it fails because the package is broken, thus the other packages, guessit is not installed because of that single broken package...
If you comment out the qtfaststart package from the requirements.txt file and run it, it will install the remaining packages and work as intended after... Hence why I opened an issue with the SMA project...
@rav3ndk commented on GitHub (Jun 26, 2024):
Missing the part about your ticket initially. But good find and it definitely sound like the correct fix would be to have the requirements.txt centrally corrected.
Just for my testing purposes. So, if I remove the line qtfaststart from /usr/local/sma/setup/requirements.txt and the run the requirements again, it should also work. Do I run requirements again using:
pip install -r setup/requirements.txt
And should I be in directory /usr/local/sma when running it?
Also curious - would a restart of the Container then re-download requirements.txt again and then I have same issue again?
@RandomNinjaAtk commented on GitHub (Jun 26, 2024):
As long as you don't do a full image update, it shouldn't reinstall even when it attempts to on container reboot....
After you modified/commented out the line. The command would be from container cli:
pip3 install --break-system-packages -r /usr/local/sma/setup/requirements.txtI might push some sort of workaround soon, but was hoping to hear back from the upstream project before resorting to that... Its a package that is only used if certain setting is enabled and the output file type is MP4, which is not something I use...
@hockeygoalie35 commented on GitHub (Jun 26, 2024):
It’s pretty funny that the actual issue is the ReadME isn’t found…
KeyError: "linkname 'qtfaststart-1.8/README.rst' not found"@RandomNinjaAtk commented on GitHub (Jun 26, 2024):
@hockeygoalie35 Yarp
@rav3ndk
I did push a change to each arr app as a workaround, that should resolve it as long as the user isn't using the feature that requires it...
Simply restarting each container should resolve it...
@RandomNinjaAtk commented on GitHub (Jul 11, 2024):
This is resolved
#283