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

pypi.attakei.net: Name or service not known #6

Open
Enemico opened this issue Jun 15, 2022 · 1 comment
Open

pypi.attakei.net: Name or service not known #6

Enemico opened this issue Jun 15, 2022 · 1 comment

Comments

@Enemico
Copy link

Enemico commented Jun 15, 2022

Using

pipenv install --extra-index-url https://pypi.attakei.net/simple/ errbot-slack-bolt-backend
Installing --extra-index-url…
⠋/usr/lib/python3/dist-packages/pipenv/vendor/requirements/parser.py:44: UserWarning: Private repos not supported. Skipping.
  warnings.warn('Private repos not supported. Skipping.')
Traceback (most recent call last):
  File "/usr/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 349, in install
    core.do_install(
  File "/usr/lib/python3/dist-packages/pipenv/core.py", line 1919, in do_install
    c = pip_install(
  File "/usr/lib/python3/dist-packages/pipenv/core.py", line 1409, in pip_install
    req = get_requirement(
  File "/usr/lib/python3/dist-packages/pipenv/utils.py", line 126, in get_requirement
    req = [r for r in requirements.parse(dep)][0]
IndexError: list index out of range

I found this https://docs.pipenv.org/advanced/#specifying-package-indexes
I then proceeded to add the repository to my Pipfile in this fashion instead:

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[[source]]
name = "errbot-slack-bolt-backend"
url = "https://pypi.attakei.net/simple/"
verify_ssl = false

Without success:

$ pipenv --three update
Virtualenv already exists!
Remove existing virtualenv? [Y/n]: Y
Removing existing virtualenv…
Creating a virtualenv for this project…
Using /usr/bin/python3 (3.8.10) to create virtualenv…
⠋created virtual environment CPython3.8.10.final.0-64 in 82ms
  creator CPython3Posix(dest=/home/ico/.local/share/virtualenvs/monitoring-errbot-WedZzu8s, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/home/ico/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

Virtualenv location: /home/ico/.local/share/virtualenvs/monitoring-errbot-WedZzu8s
Running $ pipenv lock then $ pipenv sync.
Locking [dev-packages] dependencies…
andling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pipenv/resolver.py", line 82, in <module>
    main()
  File "/usr/lib/python3/dist-packages/pipenv/resolver.py", line 66, in main
    results = resolve(
  File "/usr/lib/python3/dist-packages/pipenv/resolver.py", line 56, in resolve
    return pipenv.utils.resolve_deps(
  File "/usr/lib/python3/dist-packages/pipenv/utils.py", line 417, in resolve_deps
    resolved_tree, resolver = actually_resolve_reps(
  File "/usr/lib/python3/dist-packages/pipenv/utils.py", line 336, in actually_resolve_reps
    resolved_tree.update(resolver.resolve(max_rounds=PIPENV_MAX_ROUNDS))
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/resolver.py", line 193, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/resolver.py", line 193, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/resolver.py", line 257, in get_best_match
    best_match = self.repository.find_best_match(ireq, prereleases=self.prereleases)
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 116, in find_best_match
    all_candidates = self.find_all_candidates(ireq.name)
  File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 101, in find_all_candidates
    candidates = self.finder.find_all_candidates(req_name)
  File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/index.py", line 456, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/index.py", line 606, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/index.py", line 722, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/index.py", line 827, in get_page
    resp = session.get(
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/_vendor/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/_vendor/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/_vendor/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/_vendor/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
pip9._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pypi.attakei.net', port=443): Max retries exceeded with url: /simple/autopep8/ (Caused by NewConnectionError('<pip9._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4758618520>: Failed to establish a new connection: [Errno -2] Name or service not known'))
@attakei
Copy link
Contributor

attakei commented Jun 29, 2022

Sorry for late response.

I missed migrate of DNS records when changing nameserver.
It has been recovered at now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants