clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
672 stars 176 forks source link

Post processing error with nzbtoMedia #656

Closed thomass02 closed 9 years ago

thomass02 commented 9 years ago

I changed my Sickrage postprocessing and have the scan and process box checked as well as input my completed download dir into the TV Download Dir option. I have changed on the autoProcessMedia.cfg to account for my sickrage and couchpotato settings. Installed pywin32. If this is something simple please let me know. I appreciate any advice anyone could give.

Thanks

[12:34:50] [ERROR]::MAIN: Unable to migrate config file C:\SickRage\Scripts\nzbToMedia\autoProcessMedia.cfg, exiting ...

clinton-hall commented 9 years ago

When you edited autoProcessMedia.cfg, did you first copy autoProcessMedia.cfg.spec to autoProcessMedia.cfg? You need to copy, not move or rename...

So, you should have an autoProcessMedia.cfg.spec and an autoProcssMedia.cfg If you have both of these, then try running the script manually in command prompt.

python C:\SickRage\Scripts\nzbToMedia\nzbToMedia.py

Post the output of that command here...

thomass02 commented 9 years ago

C:\Windows\system32>python C:\SickRage\Scripts\nzbToMedia\nzbToMedia.py [15:38:45] [INFO]::MAIN: Loading config from [C:\SickRage\Scripts\nzbToMedia\aut oProcessMedia.cfg] [15:38:45] [INFO]::MAIN: Checking database structure... [15:38:45] [INFO]::MAIN: Database upgrade required: Initial Schema [15:38:46] [INFO]::MAIN: Checking if git needs an update [15:38:49] [INFO]::MAIN: No update needed [15:38:49] [INFO]::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d629 4a12 Branch:master (Windows 7) [15:38:49] [WARNING]::MAIN: Failed to locate ffmpeg.exe. Transcoding disabled! [15:38:49] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feat ure ... [15:38:49] [WARNING]::MAIN: Failed to locate ffprobe.exe. Video corruption detec tion disabled! [15:38:49] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feat ure ... [15:38:49] [INFO]::MAIN: #######################################################

[15:38:49] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ## [15:38:49] [INFO]::MAIN: #######################################################

[15:38:49] [WARNING]::MAIN: Invalid number of arguments received from client, Sw itching to manual run mode ... [15:38:49] [INFO]::MAIN: The C:\SickRage\Scripts\nzbToMedia\nzbToMedia.py script completed successfully.

clinton-hall commented 9 years ago

Ok... That migrated the config fine...

Do you still ge issues from the downloader? If so, there must be an environment/user/permissions issue...

thomass02 commented 9 years ago

In sabnzb I do infact have a category named tv with the nzbToMedia.py script selected. If this isnt a processing error and an indexer/provider error please let me know. I have yet to get one show to successful download even with running scripts. Using giganews/Oznzb. I do appreciate all the help!

[18:05:20] [INFO]::MAIN: Loading config from [C:\SickRage\Scripts\nzbToMedia\autoProcessMedia.cfg] [18:05:20] [INFO]::MAIN: Checking database structure... [18:05:20] [INFO]::MAIN: Checking if git needs an update [18:05:21] [INFO]::MAIN: No update needed [18:05:21] [INFO]::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (Windows 7) [18:05:21] [WARNING]::MAIN: Failed to locate ffmpeg.exe. Transcoding disabled! [18:05:21] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [18:05:21] [WARNING]::MAIN: Failed to locate ffprobe.exe. Video corruption detection disabled! [18:05:21] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [18:05:21] [INFO]::MAIN: ######################################################### [18:05:21] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ## [18:05:21] [INFO]::MAIN: ######################################################### [18:05:21] [INFO]::MAIN: Script triggered from SABnzbd [18:05:21] [WARNING]::MAIN: Data from SABnzbd could not be parsed [18:05:21] [ERROR]::MAIN: Unable to locate a section with subsection:tv enabled in your autoProcessMedia.cfg, exiting! [18:05:21] [ERROR]::MAIN: A problem was reported in the C:\SickRage\Scripts\nzbToMedia\nzbToMedia.py script.

clinton-hall commented 9 years ago

Ok, now edit autoProcessMedia.cfg in notepad++ or similar.

Enable the section...

[SickBeard]
    [[tv]]
        enabled = 1

And set the remaining details (host, port, username, password) for SickRage.

thomass02 commented 9 years ago

Got my scripts working perfectly now after a bit of trial and error! Thank you so much!

On Sat, Jan 3, 2015 at 7:17 PM, Clinton Hall notifications@github.com wrote:

Ok, now edit autoProcessMedia.cfg in notepad++ or similar.

Enable the section...

[SickBeard] [[tv]] enabled = 1

And set the remaining details (host, port, username, password) for SickRage.

— Reply to this email directly or view it on GitHub https://github.com/clinton-hall/nzbToMedia/issues/656#issuecomment-68616673 .

clinton-hall commented 9 years ago

No worries. Please let me know if you have any further issues.