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
102 stars 14 forks source link

AttributeError: 'dict' object has no attribute 'nice_string' #32

Closed mattmac24 closed 7 years ago

mattmac24 commented 7 years ago

Script is failure when called by nzbget.

Debug Log file: https://pastebin.com/01yyDDsH

caronc commented 7 years ago

@mattmac24 I'm starting to like you, you keep finding bugs and sharing them (helping me add bulletproofing). I just want to let you know i appreciate it. Just in case the pastebin link ever goes sour, I'm just going to paste the specific error in question so that if i reference this bug in the future, it'll still make sense (to me what's going on).

ERROR   Sat Jul 22 2017 10:48:35    Subliminal: AttributeError: 'dict' object has no attribute 'nice_string'
INFO    Sat Jul 22 2017 10:48:35    Subliminal: self.logger.debug(guess.nice_string())
ERROR   Sat Jul 22 2017 10:48:35    Subliminal: File "/opt/nzbget/scripts/Subliminal.py", line 609, in apply_nzbheaders
INFO    Sat Jul 22 2017 10:48:35    Subliminal: self.apply_nzbheaders(guess)
ERROR   Sat Jul 22 2017 10:48:35    Subliminal: File "/opt/nzbget/scripts/Subliminal.py", line 731, in guess_info
INFO    Sat Jul 22 2017 10:48:35    Subliminal: use_nzbheaders=use_nzbheaders,
ERROR   Sat Jul 22 2017 10:48:35    Subliminal: File "/opt/nzbget/scripts/Subliminal.py", line 1400, in subliminal_fetch
INFO    Sat Jul 22 2017 10:48:35    Subliminal: overwrite=overwrite,
ERROR   Sat Jul 22 2017 10:48:35    Subliminal: File "/opt/nzbget/scripts/Subliminal.py", line 1779, in postprocess_main
mattmac24 commented 7 years ago

Thanks, happy to help :)

caronc commented 7 years ago

Closing issue as I'm quite confident this is fixed now.

mattmac24 commented 7 years ago

Great to hear, I'll let you know if I see this error popping up again