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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Kohmei358
Newbie
Newbie
Posts: 10
Joined: June 14th, 2016, 6:15 am

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

Post 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]
Meufa
Newbie
Newbie
Posts: 1
Joined: December 28th, 2018, 6:17 am
Location: https://waveadvice.com/
Contact:

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

Post by Meufa »

I have the same issue and don't know how to fix it =(
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

Please report indeed at nzbToMedia repo.
Regarding Sab, just make sure to use the latest version.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply