Created
December 21, 2022 13:34
-
-
Save cddesja/bc341e09b9e58ab118e02147f2780d93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[internal] Wed Dec 21 08:22:34 2022: | |
(:message "Running language server: (/Library/Frameworks/Python.framework/Versions/3.10/bin/pyright-langserver --stdio)") | |
[client-request] (id:1) Wed Dec 21 08:22:34 2022: | |
(:jsonrpc "2.0" :id 1 :method "initialize" :params | |
(:processId 11322 :rootPath "/Users/cdesjardins/Dropbox/chris/programming/python/python_data_science_handbook/" :rootUri "file:///Users/cdesjardins/Dropbox/chris/programming/python/python_data_science_handbook" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data | |
()) | |
:capabilities | |
(:workspace | |
(:applyEdit t :executeCommand | |
(:dynamicRegistration :json-false) | |
:workspaceEdit | |
(:documentChanges t) | |
:didChangeWatchedFiles | |
(:dynamicRegistration t) | |
:symbol | |
(:dynamicRegistration :json-false) | |
:configuration t :workspaceFolders t) | |
:textDocument | |
(:synchronization | |
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) | |
:completion | |
(:dynamicRegistration :json-false :completionItem | |
(:snippetSupport :json-false :deprecatedSupport t :tagSupport | |
(:valueSet | |
[1])) | |
:contextSupport t) | |
:hover | |
(:dynamicRegistration :json-false :contentFormat | |
["markdown" "plaintext"]) | |
:signatureHelp | |
(:dynamicRegistration :json-false :signatureInformation | |
(:parameterInformation | |
(:labelOffsetSupport t) | |
:activeParameterSupport t)) | |
:references | |
(:dynamicRegistration :json-false) | |
:definition | |
(:dynamicRegistration :json-false :linkSupport t) | |
:declaration | |
(:dynamicRegistration :json-false :linkSupport t) | |
:implementation | |
(:dynamicRegistration :json-false :linkSupport t) | |
:typeDefinition | |
(:dynamicRegistration :json-false :linkSupport t) | |
:documentSymbol | |
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind | |
(:valueSet | |
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26])) | |
:documentHighlight | |
(:dynamicRegistration :json-false) | |
:codeAction | |
(:dynamicRegistration :json-false :codeActionLiteralSupport | |
(:codeActionKind | |
(:valueSet | |
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) | |
:isPreferredSupport t) | |
:formatting | |
(:dynamicRegistration :json-false) | |
:rangeFormatting | |
(:dynamicRegistration :json-false) | |
:rename | |
(:dynamicRegistration :json-false) | |
:publishDiagnostics | |
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport | |
(:valueSet | |
[1 2]))) | |
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data | |
())) | |
:workspaceFolders | |
[(:uri "file:///Users/cdesjardins/Dropbox/chris/programming/python/python_data_science_handbook" :name "~/Dropbox/chris/programming/python/python_data_science_handbook/")])) | |
[stderr] Traceback (most recent call last): | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open | |
[stderr] h.request(req.get_method(), req.selector, req.data, headers, | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request | |
[stderr] self._send_request(method, url, body, headers, encode_chunked) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request | |
[stderr] self.endheaders(body, encode_chunked=encode_chunked) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders | |
[stderr] self._send_output(message_body, encode_chunked=encode_chunked) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output | |
[stderr] self.send(msg) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send | |
[stderr] self.connect() | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect | |
[stderr] self.sock = self._context.wrap_socket(self.sock, | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket | |
[stderr] return self.sslsocket_class._create( | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create | |
[stderr] self.do_handshake() | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake | |
[stderr] self._sslobj.do_handshake() | |
[stderr] ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) | |
[stderr] | |
[stderr] During handling of the above exception, another exception occurred: | |
[stderr] | |
[stderr] Traceback (most recent call last): | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main | |
[stderr] return _run_code(code, main_globals, None, | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code | |
[stderr] exec(code, run_globals) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nodeenv.py", line 1519, in <module> | |
[stderr] main() | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nodeenv.py", line 1093, in main | |
[stderr] args.node = get_last_stable_node_version() | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nodeenv.py", line 1026, in get_last_stable_node_version | |
[stderr] return _get_versions_json()[0]['version'].lstrip('v') | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nodeenv.py", line 1002, in _get_versions_json | |
[stderr] response = urlopen('%s/index.json' % src_base_url) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nodeenv.py", line 624, in urlopen | |
[stderr] return urllib2.urlopen(req) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen | |
[stderr] return opener.open(url, data, timeout) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open | |
[stderr] response = self._open(req, data) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open | |
[stderr] result = self._call_chain(self.handle_open, protocol, protocol + | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain | |
[stderr] result = func(*args) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open | |
[stderr] return self.do_open(http.client.HTTPSConnection, req, | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open | |
[stderr] raise URLError(err) | |
[stderr] urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> | |
[stderr] Traceback (most recent call last): | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/bin/pyright-langserver", line 8, in <module> | |
[stderr] sys.exit(entrypoint()) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/langserver.py", line 57, in entrypoint | |
[stderr] sys.exit(main(*sys.argv[1:])) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/langserver.py", line 26, in main | |
[stderr] return run(*args, **kwargs).returncode | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/langserver.py", line 37, in run | |
[stderr] version = node.latest('pyright') | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/node.py", line 135, in latest | |
[stderr] proc = run( | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/node.py", line 97, in run | |
[stderr] binary = _ensure_available(target) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/node.py", line 36, in _ensure_available | |
[stderr] return Binary(path=_ensure_node_env(target), strategy=Strategy.NODEENV) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/node.py", line 63, in _ensure_node_env | |
[stderr] _install_node_env() | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyright/node.py", line 90, in _install_node_env | |
[stderr] subprocess.run(args, check=True) | |
[stderr] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run | |
[stderr] raise CalledProcessError(retcode, process.args, | |
[stderr] subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10', '-m', 'nodeenv', '/var/folders/77/jqqmprj106jgtfpl96dr7910wy6yyk/T/pyright-python.cdesjardins/env']' returned non-zero exit status 1. | |
[internal] Wed Dec 21 08:22:34 2022: | |
(:message "Connection state changed" :change "exited abnormally with code 1\n") | |
----------b---y---e---b---y---e---------- | |
[stderr] | |
[stderr] | |
[stderr] nil | |
[stderr] nil | |
[stderr] Process EGLOT (python_data_science_handbook/(python-mode)) stderr finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment