Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2021 16:17:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258389] ports-mgmt/distilator: Fails on comms/qtel: requests.exceptions.InvalidSchema: No connection adapters were found for 'make:'
Message-ID:  <bug-258389-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258389

            Bug ID: 258389
           Summary: ports-mgmt/distilator: Fails on comms/qtel:
                    requests.exceptions.InvalidSchema: No connection
                    adapters were found for 'make:'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ehaupt@FreeBSD.org, hamradio@FreeBSD.org
                CC: ehaupt@FreeBSD.org, hamradio@FreeBSD.org

rev eb3ceff682682389456e66657eabd66e01fdbca4



$ cd /usr/ports/comms/qtel && distilator=20
200 [WWW]       http://www.svxlink.org/
multiprocessing.pool.RemoteTraceback:=20
"""
Traceback (most recent call last):
  File "/usr/local/bin/distilator", line 134, in validate_url_pool
    req =3D requests.head(url, timeout=3Dargs.timeout, headers=3Dheaders)
  File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 104, =
in
head
    return request('head', url, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in
request
    return session.request(method=3Dmethod, url=3Durl, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line =
542,
in request
    resp =3D self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line =
649,
in send
    adapter =3D self.get_adapter(url=3Drequest.url)
  File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line =
742,
in get_adapter
    raise InvalidSchema("No connection adapters were found for
{!r}".format(url))
requests.exceptions.InvalidSchema: No connection adapters were found for
'make:'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 125, in wor=
ker
    result =3D (True, func(*args, **kwds))
  File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 48, in maps=
tar
    return list(map(*args))
  File "/usr/local/bin/distilator", line 158, in validate_url_pool
    status_code =3D resolve_or_timeout_error(url, urltype, args)
  File "/usr/local/bin/distilator", line 114, in resolve_or_timeout_error
    if hostname_resolves(hostname):
  File "/usr/local/bin/distilator", line 103, in hostname_resolves
    socket.gethostbyname(hostname)
TypeError: gethostbyname() argument 1 must be str, bytes or bytearray, not =
None
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/distilator", line 246, in <module>
    main()
  File "/usr/local/bin/distilator", line 238, in main
    result =3D pool.map(func, iterable)
  File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 771, in get
    raise self._value
TypeError: gethostbyname() argument 1 must be str, bytes or bytearray, not =
None

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258389-7788>