Page 1 of 1

"OSError: [Errno 2] No such file or directory" After nzbToMedia auto update

Posted: December 27th, 2018, 8:50 am
by Kohmei358
Image

This was the first time it started not running, and every download after this has the same issue.

Code: Select all

[14:05:59] [INFO]::MAIN: Loading config from [/scripts/autoProcessMedia.cfg]
[14:06:00] [INFO]::MAIN: Checking database structure...
[14:06:00] [INFO]::MAIN: Checking if source needs an update
[14:06:00] [INFO]::MAIN: There is a newer version available (you're 7 commits behind)
[14:06:00] [INFO]::MAIN: Auto-Updating nzbToMedia, Please wait ...
[14:06:01] [INFO]::MAIN: Creating update folder /scripts/sb-update before extracting
[14:06:01] [INFO]::MAIN: Downloading update from 'https://github.com/clinton-hall/nzbToMedia/tarball/master'
[14:06:04] [INFO]::MAIN: Extracting file /scripts/sb-update/nzbtomedia-update.tar
[14:06:05] [INFO]::MAIN: Deleting file /scripts/sb-update/nzbtomedia-update.tar
[14:06:05] [INFO]::MAIN: Moving files from /scripts/sb-update/clinton-hall-nzbToMedia-c428b57 to /scripts
[14:06:05] [INFO]::MAIN: Restarting nzbToMedia with ['/usr/bin/python2', '/scripts/nzbToCouchPotato.py', '/downloads/sabnzbd/movie/Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115)', 'Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115).nzb', 'Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115)', '', 'movie', 'alt.binaries.newznzb.alpha', '0']
-- Cleaning bytecode --
Traceback (most recent call last):
File "/scripts/nzbToCouchPotato.py", line 259, in <module>
import nzbToMedia
File "/scripts/nzbToMedia.py", line 627, in <module>
cleanup.clean('core', 'libs')
File "/scripts/cleanup.py", line 79, in clean
result = clean_bytecode()
File "/scripts/cleanup.py", line 50, in clean_bytecode
'!**/__pycache__/',  # and __pycache__ folders
File "/scripts/cleanup.py", line 38, in git_clean
return subprocess.check_output(command)
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Here is the log for nzbToMedia:

Code: Select all

2018-12-26 01:04:54 INFO    ::MAIN: The /scripts/nzbToCouchPotato.py script completed successfully.
2018-12-26 14:05:59 INFO    ::MAIN: Loading config from [/scripts/autoProcessMedia.cfg]
2018-12-26 14:06:00 INFO    ::MAIN: Checking database structure...
2018-12-26 14:06:00 INFO    ::MAIN: Checking if source needs an update
2018-12-26 14:06:00 INFO    ::MAIN: There is a newer version available (you're 7 commits behind)
2018-12-26 14:06:00 INFO    ::MAIN: Auto-Updating nzbToMedia, Please wait ...
2018-12-26 14:06:01 INFO    ::MAIN: Creating update folder /scripts/sb-update before extracting
2018-12-26 14:06:01 INFO    ::MAIN: Downloading update from 'https://github.com/clinton-hall/nzbToMedia/tarball/master'
2018-12-26 14:06:04 INFO    ::MAIN: Extracting file /scripts/sb-update/nzbtomedia-update.tar
2018-12-26 14:06:05 INFO    ::MAIN: Deleting file /scripts/sb-update/nzbtomedia-update.tar
2018-12-26 14:06:05 INFO    ::MAIN: Moving files from /scripts/sb-update/clinton-hall-nzbToMedia-c428b57 to /scripts
2018-12-26 14:06:05 INFO    ::MAIN: Restarting nzbToMedia with ['/usr/bin/python2', '/scripts/nzbToCouchPotato.py', '/downloads/sabnzbd/movie/Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115)', 'Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115).nzb', 'Thor.The.Dark.World.2013.1080p.BluRay.x264-nikt0-xpost.cp(tt1981115)', '', 'movie', 'alt.binaries.newznzb.alpha', '0']
I also ran a few downloads with +debug, but I don't what Im looking for so here is the whole thing:
https://drive.google.com/file/d/17PV4tR ... sp=sharing

Thanks in advance and please let me know if there is anything I can provide!

Edit: This is running on a Docker in Unraid. Version: 2.3.5 [76c7a6c]

Re: "OSError: [Errno 2] No such file or directory" After nzbToMedia auto update

Posted: December 28th, 2018, 7:19 am
by Meufa
I have the same issue and don't know how to fix it =(

Re: "OSError: [Errno 2] No such file or directory" After nzbToMedia auto update

Posted: December 28th, 2018, 8:10 am
by sander
Wait ... nzbToMedia is something from https://github.com/clinton-hall/nzbToMedia, not SABnzbd, right? So why are you reporting here, and not on https://github.com/clinton-hall/nzbToMedia ?

Re: "OSError: [Errno 2] No such file or directory" After nzbToMedia auto update

Posted: December 28th, 2018, 5:37 pm
by safihre
Please report indeed at nzbToMedia repo.
Regarding Sab, just make sure to use the latest version.