mdhiggins / sonarr-sma

Sonarr docker based on linuxserver/sonarr with SMA built in using python3
MIT License
37 stars 18 forks source link

Sonarr V3 and Radarr V3 Connect/PostProcess Exit1 Using Script #35

Closed infamouswb closed 2 years ago

infamouswb commented 2 years ago

I looked through various threads, and closed issues herein and been banging my head against the wall trying to figure this out. I am running Ubuntu 16.04 and calling Python3.5.

Here is the log from SonarrV3:

<html>
<body>
<!--StartFragment-->

SonarrErrorPipeline | Invalid request Validation failed: -- : Script exited with code: 1 | 5:02pm |  
-- | -- | -- | --
  | postSonarr.py | SyntaxError: invalid syntax | 5:02pm |  
  | postSonarr.py | ^ | 5:02pm |  
  | postSonarr.py | return f"{type(self).__name__}({list(self)})" | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/rebulk/utils.py", line 153 | 5:02pm |  
  | postSonarr.py | from .utils import is_iterable | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/rebulk/loose.py", line 18, in <module> | 5:02pm |  
  | postSonarr.py | from .loose import set_defaults | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/rebulk/builder.py", line 11, in <module> | 5:02pm |  
  | postSonarr.py | from .builder import Builder | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/rebulk/rebulk.py", line 8, in <module> | 5:02pm |  
  | postSonarr.py | from .rebulk import Rebulk | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/rebulk/__init__.py", line 7, in <module> | 5:02pm |  
  | postSonarr.py | from rebulk.match import Match | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/guessit/monkeypatch.py", line 9, in <module> | 5:02pm |  
  | postSonarr.py | from . import monkeypatch as _monkeypatch | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/guessit/__init__.py", line 6, in <module> | 5:02pm |  
  | postSonarr.py | from guessit import guessit | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/subliminal/core.py", line 12, in <module> | 5:02pm |  
  | postSonarr.py | from .core import (AsyncProviderPool, ProviderPool, check_video, download_best_subtitles, download_subtitles, | 5:02pm |  
  | postSonarr.py | File "/usr/local/lib/python3.5/dist-packages/subliminal/__init__.py", line 11, in <module> | 5:02pm |  
  | postSonarr.py | import subliminal | 5:02pm |  
  | postSonarr.py | File "/home/(removed)/Desktop/MKV_2_MP4/resources/mediaprocessor.py", line 21, in <module> | 5:02pm |  
  | postSonarr.py | from resources.mediaprocessor import MediaProcessor | 5:02pm |  
  | postSonarr.py | File "/home/(removed)/Desktop/MKV_2_MP4/postSonarr.py", line 10, in <module> | 5:02pm |  
  | postSonarr.py | Traceback (most recent call last):

<!--EndFragment-->
</body>
</html>

.sh Script


#!/bin/bash
/usr/bin/python3.5 [path to postsonarr.py]