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

Pext on windows can't download modules and themes from provided repos #155

Open
abhishek-mudgal opened this issue Jan 11, 2019 · 4 comments

Comments

@abhishek-mudgal
Copy link
Contributor

abhishek-mudgal commented Jan 11, 2019

Issue occurs due to non availability of 'SSL' module which restricts application from connecting to HTTPS.

Pext 0.22 on Windows 10 Pro
screenshot 2

@TheLastProject TheLastProject added this to the v1.0 milestone Jan 11, 2019
@abhishek-mudgal abhishek-mudgal changed the title Pext on windows can download modules and themes from provided repos Pext on windows can't download modules and themes from provided repos Jan 11, 2019
@TheLastProject
Copy link
Member

Can you please click "Show details..." and paste the text of that here? It'll tell me at exactly what line of code things went wrong.

@abhishek-mudgal
Copy link
Contributor Author

abhishek-mudgal commented Jan 11, 2019

@TheLastProject there you go

Traceback (most recent call last):
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 588, in urlopen
    conn = self._get_conn(timeout=pool_timeout)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 248, in _get_conn
    return conn or self._new_conn()
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 816, in _new_conn
    raise SSLError("Can't connect to HTTPS URL because the SSL "
urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\Pext\pext\__main__.py", line 1251, in install_module
    porcelain.clone(UpdateManager.fix_git_url_for_dulwich(url), module_path)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\porcelain.py", line 353, in clone
    depth=depth, **kwargs)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\porcelain.py", line 1109, in fetch
    depth=depth)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\client.py", line 398, in fetch
    progress=progress, depth=depth)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\client.py", line 1643, in fetch_pack
    b"git-upload-pack", url)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\client.py", line 1531, in _discover_references
    resp, read = self._http_request(url, headers, allow_compression=True)
  File "C:\Program Files (x86)\Pext\lib\site-packages\dulwich\client.py", line 1501, in _http_request
    resp = self.pool_manager.request("GET", url, headers=req_headers)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\request.py", line 68, in request
    **urlopen_kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\request.py", line 89, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\poolmanager.py", line 323, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
    **response_kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
    **response_kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 667, in urlopen
    **response_kw)
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "C:\Program Files (x86)\Pext\lib\site-packages\urllib3\util\retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Pext/pext_module_launcher.git/info/refs?service=git-upload-pack (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

@TangentFoxy
Copy link
Contributor

@TheLastProject Any thoughts on where this module is supposed to come from and why it isn't being included?

(Also I did not have this issue myself.)

@TheLastProject
Copy link
Member

I'm guessing it's in the AppVeyor build script and Conda should include it somehow.

Do you have a local Python environment? The .exe may be falling back on parts of that which would explain why it works for you.

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

No branches or pull requests

3 participants