(FYI: Also reported this at
https://github.com/clinton-hall/nzbToMedia/issues/919)
Hello Clinton (and all others ...). I'm taking the plunge and moving away from SABnzbd+ and SickRageTV to NZBget and SickRage. Did my share of reading today and am having some issues.
UPDATE 2 : Clinton: typo !! TORRENT_CHMOD_DIRECTORY = int(CFG["Torrent"] ******>>>["chmodDirecotry"]<<<*********** , 8) . I edited the file \nzbToMedia\core\__init__.py and this error is cleared
UPDATE : the error below the ----- line is due to running incorrect versions of both python 2.7.11 and pywin32. In my case I needed to make sure they were both for 64 bit platform. Fixed this, and now I have a different error
(keep smiling ...)
See the nzbget log file attached: (same download which I know now is a corrupt download, but never the less, just for testing purposes). Notice the line :
INFO nzbToSickBeard: TypeError: int() can't convert non-string with explicit base
The same happens when running a command line like this:
C:\>C:\Python27\python.exe C:\nzbToMedia-GIT\nzbToMedia\TorrentToMedia.py "C:\Video\link_w_torrent_download\SickRagetv_"
"TV-show-name-xxx-SxxExx" "SickRagetv_" "6D11233407D4BCCDB29B738C49277AAAD4149772"
[19:58:25] [INFO]::MAIN: Loading config from [C:\nzbToMedia-GIT\nzbToMedia\autoProcessMedia.cfg]
[19:58:25] [INFO]::MAIN: Checking database structure...
[19:58:25] [DEBUG]::MAIN: Checking Initial Schema database upgrade
[19:58:25] [DEBUG]::MAIN: InitialSchema upgrade not required
[19:58:25] [DEBUG]::MAIN: Checking if we can use git commands: "C:\Program Files (x86)\Git\bin\git.exe" version
[19:58:25] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" version with your shell in C:\nzbToMedia-GI
T\nzbToMedia
[19:58:25] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" version : returned successful
[19:58:25] [DEBUG]::MAIN: Using: "C:\Program Files (x86)\Git\bin\git.exe"
[19:58:25] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" symbolic-ref -q HEAD with your shell in C:\
nzbToMedia-GIT\nzbToMedia
[19:58:25] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" symbolic-ref -q HEAD : returned successful
[19:58:25] [INFO]::MAIN: Checking if git needs an update
[19:58:25] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" rev-parse HEAD with your shell in C:\nzbToM
edia-GIT\nzbToMedia
[19:58:25] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" rev-parse HEAD : returned successful
[19:58:25] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" fetch origin with your shell in C:\nzbToMed
ia-GIT\nzbToMedia
[19:58:27] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" fetch origin : returned successful
[19:58:27] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" rev-parse --verify --quiet "@{upstream}" wi
th your shell in C:\nzbToMedia-GIT\nzbToMedia
[19:58:27] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" rev-parse --verify --quiet "@{upstream}" : returned s
uccessful
[19:58:27] [DEBUG]::MAIN: Executing "C:\Program Files (x86)\Git\bin\git.exe" rev-list --left-right "@{upstream}"...HEAD
with your shell in C:\nzbToMedia-GIT\nzbToMedia
[19:58:27] [DEBUG]::MAIN: "C:\Program Files (x86)\Git\bin\git.exe" rev-list --left-right "@{upstream}"...HEAD : returned
successful
[19:58:27] [DEBUG]::MAIN: cur_commit = 3e4861e87c543a4d2debd8997feb16bda3ef5339 % (newest_commit)= 3e4861e87c543a4d2debd
8997feb16bda3ef5339, num_commits_behind = 0, num_commits_ahead = 0
[19:58:27] [INFO]::MAIN: No update needed
[19:58:27] [INFO]::MAIN: nzbToMedia Version:3e4861e87c543a4d2debd8997feb16bda3ef5339 Branch:master (Windows 7)
Traceback (most recent call last):
File "C:\nzbToMedia-GIT\nzbToMedia\TorrentToMedia.py", line 345, in <module>
exit(main(sys.argv))
File "C:\nzbToMedia-GIT\nzbToMedia\TorrentToMedia.py", line 260, in main
core.initialize()
File "C:\nzbToMedia-GIT\nzbToMedia\core\__init__.py", line 348, in initialize
TORRENT_CHMOD_DIRECTORY = int(CFG["Torrent"]["chmodDirecotry"], 8)
TypeError: int() can't convert non-string with explicit base
Any suggestions please?
---------------------------------------------------------------------------------------------------------------
The request is send from SR to NZBget. Download starts and aborts with error:
Post-process-script nzbToSickBeard.py for "TV-show-name-xxx-SxxExx" failed (terminated with unknown status)
The log tells me "WARNING Skipping par-check for"TV-show-name-xxx-SxxExx" due to health 89.2% below critical 89.5%, so I can assume this is a bad download"
Next the log shows this (never seen this before):
Thu Jan 21 19:02:29 2016 INFO Executing post-process-script nzbToSickBeard.py for"TV-show-name-xxx-SxxExx
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: Traceback (most recent call last):
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: File "C:\nzbToMedia-GIT\nzbToMedia\nzbToSickBeard.py", line 252, in <module>
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: result = nzbToMedia.main(sys.argv, section)
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: File "C:\nzbToMedia-GIT\nzbToMedia\nzbToMedia.py", line 626, in main
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: core.initialize(section)
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: File "C:\nzbToMedia-GIT\nzbToMedia\core\__init__.py", line 234, in initialize
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: MYAPP = RunningProcess()
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: File "C:\nzbToMedia-GIT\nzbToMedia\core\nzbToMediaUtil.py", line 1140, in __init__
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: self.process = WindowsProcess()
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: File "C:\nzbToMedia-GIT\nzbToMedia\core\nzbToMediaUtil.py", line 1155, in __init__
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: from win32event import CreateMutex
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: ImportError: DLL load failed: %1 is not a valid Win32 application.
Thu Jan 21 19:02:31 2016 INFO nzbToSickBeard: Exception AttributeError: "WindowsProcess instance has no attribute 'mutex'" in <bound method WindowsProcess.__del__ of <core.nzbToMediaUtil.WindowsProcess instance at 0x03481A58>> ignored
Thu Jan 21 19:02:31 2016 ERROR Post-process-script nzbToSickBeard.py for "TV-show-name-xxx-SxxExx failed (terminated with unknown status)
Thu Jan 21 19:02:31 2016 INFO Collection "TV-show-name-xxx-SxxExx added to history
Any idea what is going on? Running on Win7, Python 2.7.11, NZBget 16.4, installed pywin32-2.7, don't know how to check version of nzbTo_XX, latest I used is Version:6552007fc95d841c95d65f7c9a553b593aed1f8c Branch:nightly (Windows 7), but did a new pull just to make sure just now.