caronc / nzb-subliminal

Fetches subtitles for the videos it's provided. It can be easily integrated into NZBGet and SABnzbd too.
GNU General Public License v3.0
103 stars 14 forks source link

Issue with dependencies #72

Open ulrick65 opened 4 years ago

ulrick65 commented 4 years ago

I have not used this after upgrading my system a long while back. I wanted to start using it again, but I am getting an error that it can't find the dependencies. I am running nzbget as a system user, so I can't manually install them....however, the folder is there with them all in (git pull is up to date) but yet I still get:

Post-process-script nzb-subliminal/Subliminal.py for DownloadFile (terminated with unknown status) INFO | Sun Feb 23 2020 13:50:22 | Subliminal: ImportError: No module named nzbget INFO | Sun Feb 23 2020 13:50:22 | Subliminal: from nzbget import SABPostProcessScript

As a side note, any chance of getting this moved to Python 3? With so many scripts going that way now, it would be nice to get rid of Python2 completely.

Thanks.

caronc commented 4 years ago

@ulrick65 This project has been somewhat abandoned unfortunately. There are better alternatives to it such as Bazarr for example.

As per your specific issue, you should be able to just log into your system as the root user and install the missing dependencies:

pip install  -r requirements.txt

It was to much work to always keep all of the requirements bundled together and independently updated each when there were new enhancements/bug fixes. It's so much better this way to let the actual maintainers deal with that. You only need to make sure the requirements are present once (at the start) and then it's up to you if you want to keep them updated. But all will work from there.

I do agree that Python 3.x support would be nice for sure; at this time I simply don't have the time to dive into this :disappointed: ; sorry. It doesn't mean it won't happen, but not any time soon ...

ulrick65 commented 4 years ago

Thanks for the reply, sorry it took so long for me to get back to you.

I did try to install the requirements via pip as you said, but that did not work either....still get the same error.

I had not checked out Bazarr yet...I will look into that, but it does not mention nzbGet support...does it work with nzbGet as well?

Thanks.