Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failure to download 2stems.tar.gz #929

Open
4 tasks done
all-the-good-ones-are-gone opened this issue Feb 24, 2025 · 0 comments
Open
4 tasks done

[Bug] Failure to download 2stems.tar.gz #929

all-the-good-ones-are-gone opened this issue Feb 24, 2025 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@all-the-good-ones-are-gone
  • I didn't find a similar issue already open.
  • I read the documentation (README AND Wiki)
  • I have installed FFMpeg
  • My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description

Yesterday and today, running the docker container results in error message that model was not found to download.

Step to reproduce

  1. Installed using docker pull researchdeezer/spleeter

1.a. pull now results in Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.100:44489->10.0.2.3:53: i/o timeout

  1. using existing container, running docker run -v ~/Spleeter/output:/output -v ~/Spleeter/input:/input researchdeezer/spleeter separate -i input/* -o /output -p spleeter:2stems -d 7000
  2. Got
INFO:spleeter:Downloading model archive https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/lib/python3.7/socket.py", line 752, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/spleeter", line 8, in <module>
    sys.exit(entrypoint())
  File "/usr/local/lib/python3.7/site-packages/spleeter/__main__.py", line 54, in entrypoint
    main(sys.argv)
  File "/usr/local/lib/python3.7/site-packages/spleeter/__main__.py", line 46, in main
    entrypoint(arguments, params)
  File "/usr/local/lib/python3.7/site-packages/spleeter/commands/separate.py", line 45, in entrypoint
    synchronous=False
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 228, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 195, in separate
    return self._separate_librosa(waveform, audio_descriptor)
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 180, in _separate_librosa
    sess = self._get_session()
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 159, in _get_session
    latest_checkpoint = tf.train.latest_checkpoint(get_default_model_dir(self._params['model_dir']))
  File "/usr/local/lib/python3.7/site-packages/spleeter/utils/estimator.py", line 31, in get_default_model_dir
    return model_provider.get(model_dir)
  File "/usr/local/lib/python3.7/site-packages/spleeter/model/provider/__init__.py", line 67, in get
    model_directory)
  File "/usr/local/lib/python3.7/site-packages/spleeter/model/provider/github.py", line 97, in download
    with requests.get(url, stream=True) as response:
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

error

Output

:~/Spleeter>  ./spleet 
INFO:spleeter:Downloading model archive https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/lib/python3.7/socket.py", line 752, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/spleeter", line 8, in <module>
    sys.exit(entrypoint())
  File "/usr/local/lib/python3.7/site-packages/spleeter/__main__.py", line 54, in entrypoint
    main(sys.argv)
  File "/usr/local/lib/python3.7/site-packages/spleeter/__main__.py", line 46, in main
    entrypoint(arguments, params)
  File "/usr/local/lib/python3.7/site-packages/spleeter/commands/separate.py", line 45, in entrypoint
    synchronous=False
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 228, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 195, in separate
    return self._separate_librosa(waveform, audio_descriptor)
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 180, in _separate_librosa
    sess = self._get_session()
  File "/usr/local/lib/python3.7/site-packages/spleeter/separator.py", line 159, in _get_session
    latest_checkpoint = tf.train.latest_checkpoint(get_default_model_dir(self._params['model_dir']))
  File "/usr/local/lib/python3.7/site-packages/spleeter/utils/estimator.py", line 31, in get_default_model_dir
    return model_provider.get(model_dir)
  File "/usr/local/lib/python3.7/site-packages/spleeter/model/provider/__init__.py", line 67, in get
    model_directory)
  File "/usr/local/lib/python3.7/site-packages/spleeter/model/provider/github.py", line 97, in download
    with requests.get(url, stream=True) as response:
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc6ec13e5d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

real    0m23.126s
user    0m0.006s
sys     0m0.012s

Environment

OS Linux
Installation type Docker
RAM available 48GiB
Hardware spec R7 5800, 48 GiB DDR4, NVMe

Additional context

@all-the-good-ones-are-gone all-the-good-ones-are-gone added bug Something isn't working invalid This doesn't seem right labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant