Failed to enable kite for autocompletion with the git version of spyder.

Hi,
I use the git version of spyder without installation and I installed the kite.  But the auto-completion in the spyder still don't use kite.
Any hints for this issue?

Since this isn't related to Spyder directly, you can track the issue here: https://github.com/kiteco/plugins/issues/175

I think we can solve this in our side, right @dalthviz?

@ccordoba12  I'm unsure since I don't know what could be causing this. Also, after testing a little bit, I'm able to run Kite while running Spyder from source (from the branch 4.x and master).
@hongyi-zhao could you try to run Spyder from the anaconda prompt/terminal/cmd with spyder --debug-info verbose?. Also, could you try to start Kite from outside Spyder and check the settings in the Copilot? (maybe a message there could appear indicating that some error exists).

Daniel Althviz Moré<EMAIL_ADDRESS>于2020年2月21日周五 上午11:29写道：

@ccordoba12 https://github.com/ccordoba12 I'm unsure since I don't know
what could be causing this. Also, after testing a little bit, I'm able to
run Kite while running Spyder from source (from the branch 4.x and master
).
@hongyi-zhao https://github.com/hongyi-zhao could you try to run Spyder
from the anaconda prompt/terminal/cmd with spyder --debug-info verbose?.

Why must I run from within anaconda?
The git master version use the bootstrap.py to launch spyder, which has the
--debug option, it seems this is corresponding to the
spyder --debug-info.  See my following testings.
Here, the spyder.git.sh is shell wrapper written by me to invoke the
bootstrap.py:
$ spyder.git.sh --debug
Executing Spyder from source checkout
0x. Switching debug mode on

Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git
01-1. Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git/external-deps/spyder-kernels
PyQt5 is detected, selecting
Imported Spyder 5.0.0.dev0 - Revision 9d1423a9a, Branch: master
[Python 3.8.1 64bits, Qt 5.12.5, PyQt5 5.12.3 on Linux]
Running Spyder
Bootstrap completed in 00:00:00.2901
Spyder is already running. If you want to open a new
instance, please pass to it the --new-instance option
(anaconda3-2019.10/envs/opencv-machine-learning)
werner@ubuntu-01:~/Desktop/opencv-machine-learning.git$
spyder.git.sh --debug
Executing Spyder from source checkout
0x. Switching debug mode on
Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git
01-1. Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git/external-deps/spyder-kernels
PyQt5 is detected, selecting
Imported Spyder 5.0.0.dev0 - Revision 9d1423a9a, Branch: master
[Python 3.8.1 64bits, Qt 5.12.5, PyQt5 5.12.3 on Linux]
Running Spyder
Bootstrap completed in 00:00:00.2848
2020-02-21 11:54:36,766 [INFO] [spyder.app.mainwindow] -> Start of
MainWindow constructor
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> End of MainWindow
constructor
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> *** Start of
MainWindow setup ***
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> Updating
PYTHONPATH
2020-02-21 11:54:36,846 [INFO] [spyder.app.mainwindow] -> Applying theme
configuration...
2020-02-21 11:54:36,846 [DEBUG] [qdarkstyle] -> Reading QSS file in:
:qdarkstyle/style.qss
2020-02-21 11:54:36,847 [INFO] [qdarkstyle] -> QSS file sucessfuly loaded.
2020-02-21 11:54:36,847 [DEBUG] [qdarkstyle] -> Checking patches for being
applied.
2020-02-21 11:54:36,847 [INFO] [qdarkstyle] -> Found application patches to
be applied.
2020-02-21 11:54:36,856 [INFO] [spyder.app.mainwindow] -> Creating core
actions...
2020-02-21 11:54:36,857 [INFO] [spyder.app.mainwindow] -> Creating
toolbars...
2020-02-21 11:54:36,866 [INFO] [spyder.app.mainwindow] -> Creating Tools
menu...
2020-02-21 11:54:36,869 [INFO] [spyder.app.mainwindow] -> Creating guidata
and sift entries...
2020-02-21 11:54:36,870 [INFO] [spyder.app.mainwindow] -> Loading
switcher...
2020-02-21 11:54:36,875 [INFO] [spyder.app.mainwindow] -> Loading internal
console...
2020-02-21 11:54:36,926 [INFO] [keyring.backend] -> Loading KWallet
2020-02-21 11:54:36,927 [INFO] [keyring.backend] -> Loading SecretService
2020-02-21 11:54:36,937 [INFO] [keyring.backend] -> Loading Windows
2020-02-21 11:54:36,938 [INFO] [keyring.backend] -> Loading chainer
2020-02-21 11:54:36,938 [INFO] [keyring.backend] -> Loading macOS
2020-02-21 11:54:36,956 [INFO] [spyder.plugins.console.plugin] ->
Initializing...
2020-02-21 11:54:37,022 [INFO] [spyder.app.mainwindow] -> Starting code
completion manager...
2020-02-21 11:54:37,122 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering lsp
2020-02-21 11:54:37,194 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering kite
2020-02-21 11:54:37,194 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering fallback
2020-02-21 11:54:37,194 [INFO] [spyder.app.mainwindow] -> Loading working
directory...
2020-02-21 11:54:37,210 [INFO] [spyder.app.mainwindow] -> Loading help...
2020-02-21 11:54:37,219 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:37,219 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:37,224 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,230 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:37,231 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:37,231 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,238 [DEBUG] [spyder.api.panel] -> ClassFunctionDropdown
visibility changed
2020-02-21 11:54:37,238 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,398 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,482 [INFO] [spyder.app.mainwindow] -> Loading outline
explorer...
2020-02-21 11:54:37,543 [INFO] [spyder.app.mainwindow] -> Loading editor...
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:37,663 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:37,677 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: None
2020-02-21 11:54:37,678 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - None
2020-02-21 11:54:37,680 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:37,680 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,682 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:37,682 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,688 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:37,689 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,694 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,697 [DEBUG] [spyder.api.panel] -> ClassFunctionDropdown
visibility changed
2020-02-21 11:54:37,697 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,834 [DEBUG] [spyder.plugins.editor.plugin] -> Start
completion server for /home/werner/.config/spyder-py3-dev/temp.py [Python]
2020-02-21 11:54:37,835 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:37,835 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:37,843 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Added thread <spyder.plugins.editor.widgets.editor.AnalysisThread object at
0x7f8e4b21b430> to queue
2020-02-21 11:54:37,870 [INFO] [spyder.app.mainwindow] -> Launching code
completion client for Python...
2020-02-21 11:54:37,871 [DEBUG] [spyder.plugins.completion.kite.plugin] ->
Kite was found on the system: /home/werner/.local/share/kite/kited
2020-02-21 11:54:38,037 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:38,037 [DEBUG] [spyder.plugins.completion.kite.client] ->
Starting Kite HTTP session...
2020-02-21 11:54:38,041 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (1): <IP_ADDRESS>:8118
2020-02-21 11:54:38,323 [DEBUG] [spyder.plugins.completion.kite.plugin] ->
Kite client is available for ['python']
2020-02-21 11:54:38,325 [INFO]
[spyder.plugins.completion.languageserver.plugin] -> Starting LSP client
for python...
2020-02-21 11:54:38,326 [INFO]
[spyder.plugins.completion.languageserver.client] -> Starting server:
/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python
-m pyls --host <IP_ADDRESS> --port 2087 --tcp --check-parent-process -vv
2020-02-21 11:54:38,336 [INFO]
[spyder.plugins.completion.languageserver.client] -> Starting transport:
/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python
-u /home/werner/.repo/
github.com/spyder-ide/spyder.git/spyder/plugins/completion/languageserver/transport/main.py
--server-host <IP_ADDRESS> --server-port 2087  --folder
/home/werner/.config/spyder-py3-dev/lsp_root_path --transport-debug 3
--external-server --zmq-in-port 39023 --zmq-out-port 33291
2020-02-21 11:54:38,342 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> LSP python client
started!
2020-02-21 11:54:38,344 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 1
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
===>starting: <spyder.plugins.editor.widgets.editor.AnalysisThread object
at 0x7f8e4b21b430>
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 0
2020-02-21 11:54:38,412 [INFO] [spyder.app.mainwindow] -> Loading namespace
browser...
2020-02-21 11:54:38,435 [INFO] [spyder.app.mainwindow] -> Loading figure
browser...
2020-02-21 11:54:38,451 [INFO] [spyder.app.mainwindow] -> Loading history
plugin...
2020-02-21 11:54:38,497 [INFO] [spyder.app.mainwindow] -> Loading IPython
console...
2020-02-21 11:54:38,780 [INFO] [spyder.app.mainwindow] -> Loading file
explorer...
2020-02-21 11:54:38,781 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python response:
server_ready
2020-02-21 11:54:38,781 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
initialize
2020-02-21 11:54:38,813 [INFO] [spyder.app.mainwindow] -> Loading online
help...
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.python_history'
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio1: 0.0
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio2: 1.0
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> is_likely_binary: False
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language':
''}
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> failure: decodable_as_unicode: False
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.gnus.el'
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio1: 0.0
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio2: 1.0
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> is_likely_binary: False
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language':
''}
2020-02-21 11:54:38,817 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> failure: decodable_as_unicode: False
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.newsrc.eld~'
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio1: 0.0
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio2: 1.0
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> is_likely_binary: False
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language':
''}
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> failure: decodable_as_unicode: False
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.newsrc.eld'
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio1: 0.0
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> nontext_ratio2: 1.0
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> is_likely_binary: False
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language':
''}
2020-02-21 11:54:38,820 [DEBUG] [spyder.utils.external.binaryornot.helpers]
-> failure: decodable_as_unicode: False
2020-02-21 11:54:38,844 [INFO] [spyder.app.mainwindow] -> Loading project
explorer...
2020-02-21 11:54:38,888 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
workspace/didChangeConfiguration
2020-02-21 11:54:39,131 [INFO] [spyder.app.mainwindow] -> Loading
third-party plugins...
2020-02-21 11:54:39,138 [INFO] [spyder.app.mainwindow] -> Setting up main
window...
2020-02-21 11:54:39,199 [INFO] [spyder.app.mainwindow] -> Setting up
window...
2020-02-21 11:54:39,213 [INFO] [spyder.app.mainwindow] -> *** End of
MainWindow setup ***
2020-02-21 11:54:39,241 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,303 [INFO] [spyder.app.mainwindow] -> Deleting previous
Spyder instance LSP logs...
2020-02-21 11:54:39,379 [DEBUG] [traitlets] -> Using default logger
2020-02-21 11:54:39,516 [INFO]
[spyder.plugins.ipythonconsole.utils.kernelspec] -> Kernel command:
['/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python',
'-m', 'spyder_kernels.console', '-f', '{connection_file}']
2020-02-21 11:54:39,518 [DEBUG] [traitlets] -> Starting kernel:
['/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python',
'-m', 'spyder_kernels.console', '-f',
'/home/werner/.local/share/jupyter/runtime/kernel-f12db1af560a.json']
2020-02-21 11:54:39,528 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:53493
2020-02-21 11:54:39,532 [DEBUG] [traitlets] -> connecting heartbeat channel
to tcp://<IP_ADDRESS>:59643
2020-02-21 11:54:39,534 [DEBUG] [asyncio] -> Using selector: EpollSelector
2020-02-21 11:54:39,534 [DEBUG] [asyncio] -> Using selector: EpollSelector
2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> connecting shell channel to
tcp://<IP_ADDRESS>:58229
2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:58229
2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> connecting iopub channel to
tcp://<IP_ADDRESS>:35543
2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:35543
2020-02-21 11:54:39,537 [DEBUG] [traitlets] -> connecting stdin channel to
tcp://<IP_ADDRESS>:50705
2020-02-21 11:54:39,538 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:50705
2020-02-21 11:54:39,612 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:39,618 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:39,623 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,623 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:39,625 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,625 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,625 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,631 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:39,631 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:39,632 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:39,634 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,634 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,635 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,635 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,636 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,636 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,638 [DEBUG] [spyder.api.panel] -> ClassFunctionDropdown
visibility changed
2020-02-21 11:54:39,638 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,639 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,699 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,761 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Call ThreadManager's 'close_threads'
2020-02-21 11:54:39,774 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
workspace/didChangeConfiguration
2020-02-21 11:54:39,775 [DEBUG] [spyder.plugins.editor.plugin] ->
Completion server settings for python are: {'textDocumentSync': {'change':
2, 'save': {'includeText': True}, 'openClose': True}, 'hoverProvider':
True, 'completionProvider': {'resolveProvider': False, 'triggerCharacters':
['.']}, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']},
'definitionProvider': True, 'referencesProvider': True,
'documentHighlightProvider': True, 'documentSymbolProvider': True,
'workspaceSymbolProvider': False, 'codeActionProvider': True,
'codeLensProvider': {'resolveProvider': False},
'documentFormattingProvider': True, 'documentRangeFormattingProvider':
True, 'documentOnTypeFormattingProvider': {'firstTriggerCharacter': None,
'moreTriggerCharacter': []}, 'renameProvider': True,
'documentLinkProvider': {'resolveProvider': False},
'executeCommandProvider': {'commands': []}, 'workspace':
{'workspaceFolders': {'supported': True, 'changeNotifications': True}},
'experimental': {}, 'foldingRangeProvider': True}
2020-02-21 11:54:39,775 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
initialized
2020-02-21 11:54:39,866 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:39,866 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,870 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:39,870 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:39,875 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,875 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:39,876 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,877 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,877 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,883 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:39,883 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:39,884 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:39,893 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,893 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,894 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,894 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,894 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,894 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,895 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,895 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,895 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,895 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,896 [DEBUG] [spyder.api.panel] -> ClassFunctionDropdown
visibility changed
2020-02-21 11:54:39,897 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,897 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,899 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: None
2020-02-21 11:54:39,899 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - None
2020-02-21 11:54:39,901 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,901 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,902 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,902 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,902 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,903 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,903 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,903 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,904 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,904 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,905 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,905 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,908 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,911 [DEBUG] [spyder.api.panel] -> ClassFunctionDropdown
visibility changed
2020-02-21 11:54:39,911 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,936 [DEBUG] [spyder.plugins.editor.plugin] -> Start
completion server for /home/werner/.config/spyder-py3-dev/temp.py [Python]
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.plugin] -> Python
completion server is ready
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.widgets.codeeditor]
-> Completions services available for:
/home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/didOpen'
2020-02-21 11:54:39,937 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/didOpen
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.widgets.codeeditor]
-> LSP available for: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/didOpen request with id 0
2020-02-21 11:54:39,938 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/didOpen'
2020-02-21 11:54:39,938 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/didOpen
2020-02-21 11:54:39,939 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,939 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,945 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (2): <IP_ADDRESS>:8118
2020-02-21 11:54:39,983 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Added thread <spyder.plugins.editor.widgets.editor.AnalysisThread object at
0x7f8e4b3e3310> to queue
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 1
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
===>starting: <spyder.plugins.editor.widgets.editor.AnalysisThread object
at 0x7f8e4b3e3310>
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 0
2020-02-21 11:54:40,037 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 0 timed out
2020-02-21 11:54:40,039 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 1 timed out
2020-02-21 11:54:40,116 [DEBUG] [traitlets] -> Received history reply with
32 entries
2020-02-21 11:54:40,117 [DEBUG] [traitlets] -> execute_reply: {'status':
'ok', 'execution_count': 0, 'user_expressions': {}, 'payload': []}
2020-02-21 11:54:40,355 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:40,358 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (3): <IP_ADDRESS>:8118
2020-02-21 11:54:40,390 [DEBUG] [traitlets] ->
handle_msg[e27182b8545d11eabcea0cc47a6af7f0]({'header': {'msg_id':
'df41a27f-1c9474d0538e936b8a7da243', 'msg_type': 'comm_msg', 'username':
'werner', 'session': 'ef8c8ff5-c574a52dd7d4916300dd97bd', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 387507, tzinfo=tzutc()),
'version': '5.3'}, 'msg_id': 'df41a27f-1c9474d0538e936b8a7da243',
'msg_type': 'comm_msg', 'parent_header': {'msg_id':
'476afb8b-3385c69e13806e7ad9d84087', 'msg_type': 'comm_msg', 'username':
'werner', 'session': '7b1eafa2-5b8daf794e5e4edda28e45f3', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 117259, tzinfo=tzutc()),
'version': '5.3'}, 'metadata': {}, 'content': {'data': {'spyder_msg_type':
'remote_call_reply', 'content': {'is_error': False, 'call_id':
'c55c5ffb2aef4a6f98d18e2c35fcf8d6', 'call_name': 'get_namespace_view'},
'pickle_protocol': 5, 'python_version': '3.8.1 (default, Jan  8 2020,
22:29:32) \n[GCC 7.3.0]'}, 'comm_id': 'e27182b8545d11eabcea0cc47a6af7f0'},
'buffers': [<memory at 0x7f8d907b3d00>]})
2020-02-21 11:54:40,395 [DEBUG] [traitlets] ->
handle_msg[e27182b8545d11eabcea0cc47a6af7f0]({'header': {'msg_id':
'7a5884a0-c5741a76c4374c2fe268eeaa', 'msg_type': 'comm_msg', 'username':
'werner', 'session': 'ef8c8ff5-c574a52dd7d4916300dd97bd', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 391062, tzinfo=tzutc()),
'version': '5.3'}, 'msg_id': '7a5884a0-c5741a76c4374c2fe268eeaa',
'msg_type': 'comm_msg', 'parent_header': {'msg_id':
'6533c540-51bd9272dffd058b9d5e2bd8', 'msg_type': 'comm_msg', 'username':
'werner', 'session': '7b1eafa2-5b8daf794e5e4edda28e45f3', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 117489, tzinfo=tzutc()),
'version': '5.3'}, 'metadata': {}, 'content': {'data': {'spyder_msg_type':
'remote_call_reply', 'content': {'is_error': False, 'call_id':
'd7c5847d59104b0dbcdb72b325f48234', 'call_name': 'get_var_properties'},
'pickle_protocol': 5, 'python_version': '3.8.1 (default, Jan  8 2020,
22:29:32) \n[GCC 7.3.0]'}, 'comm_id': 'e27182b8545d11eabcea0cc47a6af7f0'},
'buffers': [<memory at 0x7f8d907b3d00>]})
2020-02-21 11:54:40,454 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python response:
textDocument/publishDiagnostics
2020-02-21 11:54:40,454 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/foldingRange'
2020-02-21 11:54:40,454 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/foldingRange
2020-02-21 11:54:40,455 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/documentSymbol'
2020-02-21 11:54:40,455 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/documentSymbol
2020-02-21 11:54:40,508 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 2 Got response from lsp
2020-02-21 11:54:40,508 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/foldingRange
2020-02-21 11:54:40,532 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 0 Got response from kite
2020-02-21 11:54:40,533 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/didOpen request with id 1
2020-02-21 11:54:40,537 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (4): <IP_ADDRESS>:8118
2020-02-21 11:54:40,555 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 timed out
2020-02-21 11:54:40,750 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 Got response from lsp
2020-02-21 11:54:40,750 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/documentSymbol
2020-02-21 11:54:40,866 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:40,869 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (5): <IP_ADDRESS>:8118
2020-02-21 11:54:41,006 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 1 Got response from kite
2020-02-21 11:54:41,010 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (6): <IP_ADDRESS>:8118
2020-02-21 11:54:42,719 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 2 Got response from kite
2020-02-21 11:54:42,720 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 Got response from kite
2020-02-21 11:54:42,724 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (7): <IP_ADDRESS>:8118
2020-02-21 11:54:43,072 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:43,074 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (8): <IP_ADDRESS>:8118
2020-02-21 11:55:37,488 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:55:52,787 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/hover'
2020-02-21 11:55:52,789 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/hover
2020-02-21 11:55:52,789 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/hover request with id 4
2020-02-21 11:55:52,790 [DEBUG]
[spyder.plugins.completion.kite.providers.document] ->
:home:werner:.config:spyder-py3-dev:temp.py
2020-02-21 11:55:52,797 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (9): <IP_ADDRESS>:8118
2020-02-21 11:55:52,798 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 Got response from lsp
2020-02-21 11:55:52,889 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 timed out
2020-02-21 11:55:52,889 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/hover
2020-02-21 11:55:52,890 [DEBUG] [qdarkstyle] -> Reading QSS file in:
:qdarkstyle/style.qss
2020-02-21 11:55:52,891 [INFO] [qdarkstyle] -> QSS file sucessfuly loaded.
2020-02-21 11:55:52,891 [DEBUG] [qdarkstyle] -> Checking patches for being
applied.
2020-02-21 11:55:52,891 [INFO] [qdarkstyle] -> Found application patches to
be applied.
2020-02-21 11:55:52,972 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 Got response from kite
2020-02-21 11:55:52,976 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (10): <IP_ADDRESS>:8118
2020-02-21 11:55:56,282 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (11): <IP_ADDRESS>:8118
2020-02-21 11:55:56,876 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:55:56,880 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (12): <IP_ADDRESS>:8118
2020-02-21 11:55:57,335 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:55:57,337 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (13): <IP_ADDRESS>:8118
2020-02-21 11:56:37,487 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:57:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:58:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:59:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered

Also, could you try to start Kite from outside Spyder and check the

settings in the Copilot? (maybe a message there could appear indicating
that some error exists).

Yes.  no problem.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/11612?email_source=notifications&email_token=ACVDTDW6FZT3E34XIWGTIHTRD5DAVA5CNFSM4KYZYQJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMRMKOI#issuecomment-589481273,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVDTDRBOCYQPDNCMAZVKU3RD5DAVANCNFSM4KYZYQJA
.

--
Hongsheng Zhao<EMAIL_ADDRESS>Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

Got it.
With the --debug option, I found the cause.  See the following for detail:
I've globally exported http(s) proxy via the environment variables as
following:
$ export {http,https,ftp}_proxy="http://<IP_ADDRESS>:8118"
Which will cause the spyder fail to communicate with kite.  When I disable
this proxy, kite works smoothly within spyder.
But, I still cannot figure out kow to solve this problem without disable
the proxy.   Due to some times I want to use this proxy for downloading
jobs say for the installation of kite itself.
Regards
Hongyi Zhao<EMAIL_ADDRESS>于2020年2月21日周五 下午12:01写道：

Daniel Althviz Moré<EMAIL_ADDRESS>于2020年2月21日周五 上午11:29写道：

@ccordoba12 https://github.com/ccordoba12 I'm unsure since I don't
know what could be causing this. Also, after testing a little bit, I'm able
to run Kite while running Spyder from source (from the branch 4.x and
master).
@hongyi-zhao https://github.com/hongyi-zhao could you try to run
Spyder from the anaconda prompt/terminal/cmd with spyder --debug-info
verbose?.

Why must I run from within anaconda?
The git master version use the bootstrap.py to launch spyder, which has
the --debug option, it seems this is corresponding to the
spyder --debug-info.  See my following testings.
Here, the spyder.git.sh is shell wrapper written by me to invoke the
bootstrap.py:
$ spyder.git.sh --debug
Executing Spyder from source checkout
0x. Switching debug mode on

Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git
01-1. Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git/external-deps/spyder-kernels
PyQt5 is detected, selecting
Imported Spyder 5.0.0.dev0 - Revision 9d1423a9a, Branch: master
[Python 3.8.1 64bits, Qt 5.12.5, PyQt5 5.12.3 on Linux]
Running Spyder
Bootstrap completed in 00:00:00.2901
Spyder is already running. If you want to open a new
instance, please pass to it the --new-instance option
(anaconda3-2019.10/envs/opencv-machine-learning) werner@ubuntu-01:~/Desktop/opencv-machine-learning.git$
spyder.git.sh --debug
Executing Spyder from source checkout
0x. Switching debug mode on
Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git
01-1. Patched sys.path with /home/werner/.repo/
github.com/spyder-ide/spyder.git/external-deps/spyder-kernels
PyQt5 is detected, selecting
Imported Spyder 5.0.0.dev0 - Revision 9d1423a9a, Branch: master
[Python 3.8.1 64bits, Qt 5.12.5, PyQt5 5.12.3 on Linux]
Running Spyder
Bootstrap completed in 00:00:00.2848
2020-02-21 11:54:36,766 [INFO] [spyder.app.mainwindow] -> Start of
MainWindow constructor
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> End of
MainWindow constructor
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> *** Start of
MainWindow setup ***
2020-02-21 11:54:36,845 [INFO] [spyder.app.mainwindow] -> Updating
PYTHONPATH
2020-02-21 11:54:36,846 [INFO] [spyder.app.mainwindow] -> Applying theme
configuration...
2020-02-21 11:54:36,846 [DEBUG] [qdarkstyle] -> Reading QSS file in:
:qdarkstyle/style.qss
2020-02-21 11:54:36,847 [INFO] [qdarkstyle] -> QSS file sucessfuly loaded.
2020-02-21 11:54:36,847 [DEBUG] [qdarkstyle] -> Checking patches for being
applied.
2020-02-21 11:54:36,847 [INFO] [qdarkstyle] -> Found application patches
to be applied.
2020-02-21 11:54:36,856 [INFO] [spyder.app.mainwindow] -> Creating core
actions...
2020-02-21 11:54:36,857 [INFO] [spyder.app.mainwindow] -> Creating
toolbars...
2020-02-21 11:54:36,866 [INFO] [spyder.app.mainwindow] -> Creating Tools
menu...
2020-02-21 11:54:36,869 [INFO] [spyder.app.mainwindow] -> Creating guidata
and sift entries...
2020-02-21 11:54:36,870 [INFO] [spyder.app.mainwindow] -> Loading
switcher...
2020-02-21 11:54:36,875 [INFO] [spyder.app.mainwindow] -> Loading internal
console...
2020-02-21 11:54:36,926 [INFO] [keyring.backend] -> Loading KWallet
2020-02-21 11:54:36,927 [INFO] [keyring.backend] -> Loading SecretService
2020-02-21 11:54:36,937 [INFO] [keyring.backend] -> Loading Windows
2020-02-21 11:54:36,938 [INFO] [keyring.backend] -> Loading chainer
2020-02-21 11:54:36,938 [INFO] [keyring.backend] -> Loading macOS
2020-02-21 11:54:36,956 [INFO] [spyder.plugins.console.plugin] ->
Initializing...
2020-02-21 11:54:37,022 [INFO] [spyder.app.mainwindow] -> Starting code
completion manager...
2020-02-21 11:54:37,122 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering lsp
2020-02-21 11:54:37,194 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering kite
2020-02-21 11:54:37,194 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Registering fallback
2020-02-21 11:54:37,194 [INFO] [spyder.app.mainwindow] -> Loading working
directory...
2020-02-21 11:54:37,210 [INFO] [spyder.app.mainwindow] -> Loading help...
2020-02-21 11:54:37,219 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:37,219 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:37,220 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:37,221 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:37,222 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,223 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:37,224 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,224 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,230 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:37,231 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:37,231 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,233 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,233 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,234 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:37,234 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,238 [DEBUG] [spyder.api.panel] ->
ClassFunctionDropdown visibility changed
2020-02-21 11:54:37,238 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,398 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,482 [INFO] [spyder.app.mainwindow] -> Loading outline
explorer...
2020-02-21 11:54:37,543 [INFO] [spyder.app.mainwindow] -> Loading editor...
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,658 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:37,659 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:37,660 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,661 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,662 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:37,663 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,663 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:37,670 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:37,677 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: None
2020-02-21 11:54:37,678 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - None
2020-02-21 11:54:37,680 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:37,680 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,681 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:37,681 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,682 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:37,682 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,688 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:37,689 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,694 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,697 [DEBUG] [spyder.api.panel] ->
ClassFunctionDropdown visibility changed
2020-02-21 11:54:37,697 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:37,834 [DEBUG] [spyder.plugins.editor.plugin] -> Start
completion server for /home/werner/.config/spyder-py3-dev/temp.py [Python]
2020-02-21 11:54:37,835 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:37,835 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:37,843 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Added thread <spyder.plugins.editor.widgets.editor.AnalysisThread object at
0x7f8e4b21b430> to queue
2020-02-21 11:54:37,870 [INFO] [spyder.app.mainwindow] -> Launching code
completion client for Python...
2020-02-21 11:54:37,871 [DEBUG] [spyder.plugins.completion.kite.plugin] ->
Kite was found on the system: /home/werner/.local/share/kite/kited
2020-02-21 11:54:38,037 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:38,037 [DEBUG] [spyder.plugins.completion.kite.client] ->
Starting Kite HTTP session...
2020-02-21 11:54:38,041 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (1): <IP_ADDRESS>:8118
2020-02-21 11:54:38,323 [DEBUG] [spyder.plugins.completion.kite.plugin] ->
Kite client is available for ['python']
2020-02-21 11:54:38,325 [INFO]
[spyder.plugins.completion.languageserver.plugin] -> Starting LSP client
for python...
2020-02-21 11:54:38,326 [INFO]
[spyder.plugins.completion.languageserver.client] -> Starting server:
/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python
-m pyls --host <IP_ADDRESS> --port 2087 --tcp --check-parent-process -vv
2020-02-21 11:54:38,336 [INFO]
[spyder.plugins.completion.languageserver.client] -> Starting transport:
/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python
-u /home/werner/.repo/
github.com/spyder-ide/spyder.git/spyder/plugins/completion/languageserver/transport/main.py
--server-host <IP_ADDRESS> --server-port 2087  --folder
/home/werner/.config/spyder-py3-dev/lsp_root_path --transport-debug 3
--external-server --zmq-in-port 39023 --zmq-out-port 33291
2020-02-21 11:54:38,342 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> LSP python client
started!
2020-02-21 11:54:38,344 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 1
2020-02-21 11:54:38,345 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
===>starting: <spyder.plugins.editor.widgets.editor.AnalysisThread object
at 0x7f8e4b21b430>
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:38,412 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 0
2020-02-21 11:54:38,412 [INFO] [spyder.app.mainwindow] -> Loading
namespace browser...
2020-02-21 11:54:38,435 [INFO] [spyder.app.mainwindow] -> Loading figure
browser...
2020-02-21 11:54:38,451 [INFO] [spyder.app.mainwindow] -> Loading history
plugin...
2020-02-21 11:54:38,497 [INFO] [spyder.app.mainwindow] -> Loading IPython
console...
2020-02-21 11:54:38,780 [INFO] [spyder.app.mainwindow] -> Loading file
explorer...
2020-02-21 11:54:38,781 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python response:
server_ready
2020-02-21 11:54:38,781 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
initialize
2020-02-21 11:54:38,813 [INFO] [spyder.app.mainwindow] -> Loading online
help...
2020-02-21 11:54:38,815 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.python_history'
2020-02-21 11:54:38,815 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio1: 0.0
2020-02-21 11:54:38,815 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio2: 1.0
2020-02-21 11:54:38,815 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> is_likely_binary: False
2020-02-21 11:54:38,815 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> detected_encoding:
{'encoding': 'ascii', 'confidence': 1.0, 'language': ''}
2020-02-21 11:54:38,815 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> failure:
decodable_as_unicode: False
2020-02-21 11:54:38,816 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.gnus.el'
2020-02-21 11:54:38,816 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio1: 0.0
2020-02-21 11:54:38,816 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio2: 1.0
2020-02-21 11:54:38,816 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> is_likely_binary: False
2020-02-21 11:54:38,816 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> detected_encoding:
{'encoding': 'ascii', 'confidence': 1.0, 'language': ''}
2020-02-21 11:54:38,817 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> failure:
decodable_as_unicode: False
2020-02-21 11:54:38,818 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.newsrc.eld~'
2020-02-21 11:54:38,818 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio1: 0.0
2020-02-21 11:54:38,818 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio2: 1.0
2020-02-21 11:54:38,818 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> is_likely_binary: False
2020-02-21 11:54:38,818 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> detected_encoding:
{'encoding': 'ascii', 'confidence': 1.0, 'language': ''}
2020-02-21 11:54:38,818 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> failure:
decodable_as_unicode: False
2020-02-21 11:54:38,819 [DEBUG] [spyder.utils.external.binaryornot.check]
-> is_binary: '/home/werner/.newsrc.eld'
2020-02-21 11:54:38,819 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio1: 0.0
2020-02-21 11:54:38,819 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> nontext_ratio2: 1.0
2020-02-21 11:54:38,819 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> is_likely_binary: False
2020-02-21 11:54:38,819 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> detected_encoding:
{'encoding': 'ascii', 'confidence': 1.0, 'language': ''}
2020-02-21 11:54:38,820 [DEBUG]
[spyder.utils.external.binaryornot.helpers] -> failure:
decodable_as_unicode: False
2020-02-21 11:54:38,844 [INFO] [spyder.app.mainwindow] -> Loading project
explorer...
2020-02-21 11:54:38,888 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
workspace/didChangeConfiguration
2020-02-21 11:54:39,131 [INFO] [spyder.app.mainwindow] -> Loading
third-party plugins...
2020-02-21 11:54:39,138 [INFO] [spyder.app.mainwindow] -> Setting up main
window...
2020-02-21 11:54:39,199 [INFO] [spyder.app.mainwindow] -> Setting up
window...
2020-02-21 11:54:39,213 [INFO] [spyder.app.mainwindow] -> *** End of
MainWindow setup ***
2020-02-21 11:54:39,241 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,303 [INFO] [spyder.app.mainwindow] -> Deleting
previous Spyder instance LSP logs...
2020-02-21 11:54:39,379 [DEBUG] [traitlets] -> Using default logger
2020-02-21 11:54:39,516 [INFO]
[spyder.plugins.ipythonconsole.utils.kernelspec] -> Kernel command:
['/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python',
'-m', 'spyder_kernels.console', '-f', '{connection_file}']
2020-02-21 11:54:39,518 [DEBUG] [traitlets] -> Starting kernel:
['/home/werner/.pyenv/versions/miniconda3-latest/envs/spyder.git/bin/python',
'-m', 'spyder_kernels.console', '-f',
'/home/werner/.local/share/jupyter/runtime/kernel-f12db1af560a.json']
2020-02-21 11:54:39,528 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:53493
2020-02-21 11:54:39,532 [DEBUG] [traitlets] -> connecting heartbeat
channel to tcp://<IP_ADDRESS>:59643
2020-02-21 11:54:39,534 [DEBUG] [asyncio] -> Using selector: EpollSelector
2020-02-21 11:54:39,534 [DEBUG] [asyncio] -> Using selector: EpollSelector
2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> connecting shell channel to
tcp://<IP_ADDRESS>:58229
2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:58229
2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> connecting iopub channel to
tcp://<IP_ADDRESS>:35543
2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:35543
2020-02-21 11:54:39,537 [DEBUG] [traitlets] -> connecting stdin channel to
tcp://<IP_ADDRESS>:50705
2020-02-21 11:54:39,538 [DEBUG] [traitlets] -> Connecting to: tcp://
<IP_ADDRESS>:50705
2020-02-21 11:54:39,612 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:39,614 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:39,615 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:39,616 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,617 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:39,618 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:39,623 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,623 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,624 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:39,625 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,625 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,625 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,631 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:39,631 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:39,632 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:39,634 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,634 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,635 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,635 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,635 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,636 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,636 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,636 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,638 [DEBUG] [spyder.api.panel] ->
ClassFunctionDropdown visibility changed
2020-02-21 11:54:39,638 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,639 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,699 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,761 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Call ThreadManager's 'close_threads'
2020-02-21 11:54:39,774 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
workspace/didChangeConfiguration
2020-02-21 11:54:39,775 [DEBUG] [spyder.plugins.editor.plugin] ->
Completion server settings for python are: {'textDocumentSync': {'change':
2, 'save': {'includeText': True}, 'openClose': True}, 'hoverProvider':
True, 'completionProvider': {'resolveProvider': False, 'triggerCharacters':
['.']}, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']},
'definitionProvider': True, 'referencesProvider': True,
'documentHighlightProvider': True, 'documentSymbolProvider': True,
'workspaceSymbolProvider': False, 'codeActionProvider': True,
'codeLensProvider': {'resolveProvider': False},
'documentFormattingProvider': True, 'documentRangeFormattingProvider':
True, 'documentOnTypeFormattingProvider': {'firstTriggerCharacter': None,
'moreTriggerCharacter': []}, 'renameProvider': True,
'documentLinkProvider': {'resolveProvider': False},
'executeCommandProvider': {'commands': []}, 'workspace':
{'workspaceFolders': {'supported': True, 'changeNotifications': True}},
'experimental': {}, 'foldingRangeProvider': True}
2020-02-21 11:54:39,775 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
initialized
2020-02-21 11:54:39,866 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel EdgeLine at floating
2020-02-21 11:54:39,866 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel EdgeLine installed
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel IndentationGuide at floating
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,867 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel IndentationGuide installed
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel FoldingPanel at left
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,868 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel FoldingPanel installed
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel DebuggerPanel at left
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel DebuggerPanel installed
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel LineNumberArea at left
2020-02-21 11:54:39,869 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,870 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel LineNumberArea installed
2020-02-21 11:54:39,870 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ClassFunctionDropdown at top
2020-02-21 11:54:39,875 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,875 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ClassFunctionDropdown installed
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
adding panel ScrollFlagArea at right
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,876 [DEBUG] [spyder.plugins.editor.panels.manager] ->
panel ScrollFlagArea installed
2020-02-21 11:54:39,876 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,877 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,877 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,883 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseQuotesExtension
2020-02-21 11:54:39,883 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension SnippetsExtension
2020-02-21 11:54:39,884 [DEBUG] [spyder.plugins.editor.extensions.manager]
-> adding extension CloseBracketsExtension
2020-02-21 11:54:39,893 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,893 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,894 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,894 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,894 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,894 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,895 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,895 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,895 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,895 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,896 [DEBUG] [spyder.api.panel] ->
ClassFunctionDropdown visibility changed
2020-02-21 11:54:39,897 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,897 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,899 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: None
2020-02-21 11:54:39,899 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - None
2020-02-21 11:54:39,901 [DEBUG] [spyder.api.panel] -> DebuggerPanel
visibility changed
2020-02-21 11:54:39,901 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,902 [DEBUG] [spyder.api.panel] -> FoldingPanel
visibility changed
2020-02-21 11:54:39,902 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,902 [DEBUG] [spyder.api.panel] -> ScrollFlagArea
visibility changed
2020-02-21 11:54:39,903 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,903 [DEBUG] [spyder.api.panel] -> EdgeLine visibility
changed
2020-02-21 11:54:39,903 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,904 [DEBUG] [spyder.api.panel] -> IndentationGuide
visibility changed
2020-02-21 11:54:39,904 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,905 [DEBUG] [spyder.api.panel] -> LineNumberArea
visibility changed
2020-02-21 11:54:39,905 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,908 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,911 [DEBUG] [spyder.api.panel] ->
ClassFunctionDropdown visibility changed
2020-02-21 11:54:39,911 [DEBUG] [spyder.plugins.editor.panels.manager] ->
Refresh panels
2020-02-21 11:54:39,936 [DEBUG] [spyder.plugins.editor.plugin] -> Start
completion server for /home/werner/.config/spyder-py3-dev/temp.py [Python]
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.plugin] -> Python
completion server is ready
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.widgets.codeeditor]
-> Completions services available for:
/home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/didOpen'
2020-02-21 11:54:39,937 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/didOpen
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.editor.widgets.codeeditor]
-> LSP available for: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,937 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/didOpen request with id 0
2020-02-21 11:54:39,938 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/didOpen'
2020-02-21 11:54:39,938 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/didOpen
2020-02-21 11:54:39,939 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Set focus to: /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,939 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Current changed: 0 - /home/werner/.config/spyder-py3-dev/temp.py
2020-02-21 11:54:39,945 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (2): <IP_ADDRESS>:8118
2020-02-21 11:54:39,983 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Added thread <spyder.plugins.editor.widgets.editor.AnalysisThread object at
0x7f8e4b3e3310> to queue
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 1
2020-02-21 11:54:40,034 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
===>starting: <spyder.plugins.editor.widgets.editor.AnalysisThread object
at 0x7f8e4b3e3310>
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
Updating queue:
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
started: 0
2020-02-21 11:54:40,035 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
pending: 0
2020-02-21 11:54:40,037 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 0 timed out
2020-02-21 11:54:40,039 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 1 timed out
2020-02-21 11:54:40,116 [DEBUG] [traitlets] -> Received history reply with
32 entries
2020-02-21 11:54:40,117 [DEBUG] [traitlets] -> execute_reply: {'status':
'ok', 'execution_count': 0, 'user_expressions': {}, 'payload': []}
2020-02-21 11:54:40,355 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:40,358 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (3): <IP_ADDRESS>:8118
2020-02-21 11:54:40,390 [DEBUG] [traitlets] ->
handle_msg[e27182b8545d11eabcea0cc47a6af7f0]({'header': {'msg_id':
'df41a27f-1c9474d0538e936b8a7da243', 'msg_type': 'comm_msg', 'username':
'werner', 'session': 'ef8c8ff5-c574a52dd7d4916300dd97bd', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 387507, tzinfo=tzutc()),
'version': '5.3'}, 'msg_id': 'df41a27f-1c9474d0538e936b8a7da243',
'msg_type': 'comm_msg', 'parent_header': {'msg_id':
'476afb8b-3385c69e13806e7ad9d84087', 'msg_type': 'comm_msg', 'username':
'werner', 'session': '7b1eafa2-5b8daf794e5e4edda28e45f3', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 117259, tzinfo=tzutc()),
'version': '5.3'}, 'metadata': {}, 'content': {'data': {'spyder_msg_type':
'remote_call_reply', 'content': {'is_error': False, 'call_id':
'c55c5ffb2aef4a6f98d18e2c35fcf8d6', 'call_name': 'get_namespace_view'},
'pickle_protocol': 5, 'python_version': '3.8.1 (default, Jan  8 2020,
22:29:32) \n[GCC 7.3.0]'}, 'comm_id': 'e27182b8545d11eabcea0cc47a6af7f0'},
'buffers': [<memory at 0x7f8d907b3d00>]})
2020-02-21 11:54:40,395 [DEBUG] [traitlets] ->
handle_msg[e27182b8545d11eabcea0cc47a6af7f0]({'header': {'msg_id':
'7a5884a0-c5741a76c4374c2fe268eeaa', 'msg_type': 'comm_msg', 'username':
'werner', 'session': 'ef8c8ff5-c574a52dd7d4916300dd97bd', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 391062, tzinfo=tzutc()),
'version': '5.3'}, 'msg_id': '7a5884a0-c5741a76c4374c2fe268eeaa',
'msg_type': 'comm_msg', 'parent_header': {'msg_id':
'6533c540-51bd9272dffd058b9d5e2bd8', 'msg_type': 'comm_msg', 'username':
'werner', 'session': '7b1eafa2-5b8daf794e5e4edda28e45f3', 'date':
datetime.datetime(2020, 2, 21, 3, 54, 40, 117489, tzinfo=tzutc()),
'version': '5.3'}, 'metadata': {}, 'content': {'data': {'spyder_msg_type':
'remote_call_reply', 'content': {'is_error': False, 'call_id':
'd7c5847d59104b0dbcdb72b325f48234', 'call_name': 'get_var_properties'},
'pickle_protocol': 5, 'python_version': '3.8.1 (default, Jan  8 2020,
22:29:32) \n[GCC 7.3.0]'}, 'comm_id': 'e27182b8545d11eabcea0cc47a6af7f0'},
'buffers': [<memory at 0x7f8d907b3d00>]})
2020-02-21 11:54:40,454 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python response:
textDocument/publishDiagnostics
2020-02-21 11:54:40,454 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/foldingRange'
2020-02-21 11:54:40,454 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/foldingRange
2020-02-21 11:54:40,455 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/documentSymbol'
2020-02-21 11:54:40,455 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/documentSymbol
2020-02-21 11:54:40,508 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 2 Got response from lsp
2020-02-21 11:54:40,508 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/foldingRange
2020-02-21 11:54:40,532 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 0 Got response from kite
2020-02-21 11:54:40,533 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/didOpen request with id 1
2020-02-21 11:54:40,537 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (4): <IP_ADDRESS>:8118
2020-02-21 11:54:40,555 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 timed out
2020-02-21 11:54:40,750 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 Got response from lsp
2020-02-21 11:54:40,750 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/documentSymbol
2020-02-21 11:54:40,866 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:40,869 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (5): <IP_ADDRESS>:8118
2020-02-21 11:54:41,006 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 1 Got response from kite
2020-02-21 11:54:41,010 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (6): <IP_ADDRESS>:8118
2020-02-21 11:54:42,719 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 2 Got response from kite
2020-02-21 11:54:42,720 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 3 Got response from kite
2020-02-21 11:54:42,724 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (7): <IP_ADDRESS>:8118
2020-02-21 11:54:43,072 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:54:43,074 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (8): <IP_ADDRESS>:8118
2020-02-21 11:55:37,488 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:55:52,787 [DEBUG] [spyder.plugins.editor.plugin] -> python
completion server request: 'textDocument/hover'
2020-02-21 11:55:52,789 [DEBUG]
[spyder.plugins.completion.languageserver.client] -> python request:
textDocument/hover
2020-02-21 11:55:52,789 [DEBUG] [spyder.plugins.completion.kite.client] ->
Perform textDocument/hover request with id 4
2020-02-21 11:55:52,790 [DEBUG]
[spyder.plugins.completion.kite.providers.document] ->
:home:werner:.config:spyder-py3-dev:temp.py
2020-02-21 11:55:52,797 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (9): <IP_ADDRESS>:8118
2020-02-21 11:55:52,798 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 Got response from lsp
2020-02-21 11:55:52,889 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 timed out
2020-02-21 11:55:52,889 [DEBUG] [spyder.plugins.completion.plugin] ->
Gather responses for textDocument/hover
2020-02-21 11:55:52,890 [DEBUG] [qdarkstyle] -> Reading QSS file in:
:qdarkstyle/style.qss
2020-02-21 11:55:52,891 [INFO] [qdarkstyle] -> QSS file sucessfuly loaded.
2020-02-21 11:55:52,891 [DEBUG] [qdarkstyle] -> Checking patches for being
applied.
2020-02-21 11:55:52,891 [INFO] [qdarkstyle] -> Found application patches
to be applied.
2020-02-21 11:55:52,972 [DEBUG] [spyder.plugins.completion.plugin] ->
Completion plugin: Request 4 Got response from kite
2020-02-21 11:55:52,976 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (10): <IP_ADDRESS>:8118
2020-02-21 11:55:56,282 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (11): <IP_ADDRESS>:8118
2020-02-21 11:55:56,876 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:55:56,880 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (12): <IP_ADDRESS>:8118
2020-02-21 11:55:57,335 [DEBUG]
[spyder.plugins.completion.kite.utils.status] -> Kite process already
running with PID 36919
2020-02-21 11:55:57,337 [DEBUG] [urllib3.connectionpool] -> Starting new
HTTP connection (13): <IP_ADDRESS>:8118
2020-02-21 11:56:37,487 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:57:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:58:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered
2020-02-21 11:59:37,486 [DEBUG] [spyder.plugins.editor.utils.autosave] ->
Autosave triggered

Also, could you try to start Kite from outside Spyder and check the

settings in the Copilot? (maybe a message there could appear indicating
that some error exists).

Yes.  no problem.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/11612?email_source=notifications&email_token=ACVDTDW6FZT3E34XIWGTIHTRD5DAVA5CNFSM4KYZYQJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMRMKOI#issuecomment-589481273,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVDTDRBOCYQPDNCMAZVKU3RD5DAVANCNFSM4KYZYQJA
.

--
Hongsheng Zhao<EMAIL_ADDRESS>Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

--
Hongsheng Zhao<EMAIL_ADDRESS>Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

Thanks for the feedback @hongyi-zhao !
@ccordoba12 @its-dhung what do you guys thing, this is something from the Spyder side or Kite side (or both) to tackle?
From the Spyder side I think that maybe we can detect that a proxy is set, and inform the user that Kite will be unable if using the proxy

From the Spyder side I think that maybe we can detect that a proxy is set, and inform the user that Kite will be unable if using the proxy

Agreed, that's the only thing we can do in our side. Although I have no idea how it can be accomplished, but we'll take a look at it for 4.2.0, to be released in another couple of months.

Sounds good. We'll see if there's anything we can do from the Kite application to inform the user as well.

Kite is no longer supported by us, so this doesn't apply anymore.


fix: Wrap more types in Box<'a>

Everything here except StringLiteral: https://github.com/oxc-project/oxc/pull/2987#issuecomment-2081177143

Thanks Miles!
We shouldn't merge this into main. I'll rebase on top of #2987 and merge it there.

All commits merged onto #2987 branch.


cjs version

Because of the way that we're running the current scripts, I needed a CJS version instead of an ES version, so here's a quick and dirty CJS version. Ideally we would have this library generate both versions with rollup or webpack, so this is just a quick stopgap to be aware of this issue.
Also I don't currently have push access to this repo so I had to fork it.

I don't feel informed enough to review, but I added you as a contributor to this repo so you can do what feels right!

thanks @almccon! I'll find some time to redo this the right way to support both CJS and ESM, luckily it shouldn't be too bad.


Cannot read property 'outerHTML' of undefined with mount() on Redux connected component

Hey all,
We're migrating from Karma/mocha/chai/... to Jest; we use Enzyme everywhere.
We're running into strange problems when using mount with (Redux) connected components. For example, here is a simple test:
test('should render', () => {
  const Content = () =>
content
;
  const store = createStore();
  const Connected = connect(() => ({}))(Content);
  const result = mount(
    <Provider store={store}>
      <Connected />
    </Provider>,
  );

  expect(result.html()).toEqual('
content
');
});

That fails with the following error:
    TypeError: Cannot read property 'outerHTML' of undefined

      at ReactWrapper.<anonymous> (../../node_modules/enzyme/build/ReactWrapper.js:728:45)
      at ReactWrapper.single (../../node_modules/enzyme/build/ReactWrapper.js:1421:25)
      at ReactWrapper.html (../../node_modules/enzyme/build/ReactWrapper.js:726:21)
      at Object.<anonymous> (components/__tests__/connect-test.js:19:22)
          at Promise (<anonymous>)
          at <anonymous>
      at process._tickCallback (../../internal/process/next_tick.js:188:7)

console.log(result.debug()) outputs:
    <Provider store={{...}}>
      <Connect(Content)>
        <Content dispatch={[Function]}>

            content

        </Content>
      </Connect(Content)>
    </Provider>

I haven't been able to find much about this on the Web. Does anyone have any clues as to what is going on?
We get other variants of that one depending on what we're testing. In other tests, outerHTML is classList for example.
We're using React 15.6.0.
Thanks!

What version of enzyme and cheerio are you using?

The specific code erroring is:
  return node === null ? null : node.outerHTML.replace(/\sdata-(reactid|reactroot)+="([^"]*)+"/g, '');

This would happen if node is anything that lacks an outerHTML property - and node comes from adapter.nodeToHostNode - which is a wrapper around React.findDOMNode. So, I can only imagine it's a React + Karma bug, if anything.
Closing, but happy to reopen with more information.


Different source file creation from 1.1.6 to 1.1.7 (or 1.1.8)

I've a big problem when I try to upgrade from 1.1.6 to majior build version.
When I use an ArrayList this is the result with new version that compile with error
for (com.myapp.data.MyItemClass myItemClass$$0 : InjectionUtil.getField(java.util.ArrayList.class, com.myapp.data.MyClass.class, myClass$$1, "items")) {

Error:(66, 119) error: incompatible types: Object cannot be converted to MyItemClass

before that with 1.1.6 all work fine:
for (com.myapp.data.MyItemClass myItemClass$$0 : ((java.util.ArrayList<com.myapp.data.MyItemClass> ) InjectionUtil.getField(java.util.ArrayList.class, com.myapp.data.MyClass.class, myClass$$1, "items")))

Thanks

I have same problem, but after I try the 1.1.9-SNAPSHOT, the problem still persist (and I don't see InjectionUtil used there).
The code has error:
error: incompatible types: Object cannot be converted to DialogButtonItem
Here is the code generated in 1.1.6:
for (com.myapp.DialogButtonItem dialogButtonItem$$0 : ((List<com.myapp.DialogButtonItem> ) com.myapp.CustomViewDialogViewModel$$PackageHelper.accessCustomViewDialogViewModel$FG$mDialogButtonItemList(simpleDialogMessage$$1))) {
com.myapp.DialogButtonItem$$Parcelable.write(dialogButtonItem$$0, parcel$$1, flags$$0, identityMap$$0);
}
And here is the code generated in 1.1.9-SNAPSHOT:
for (com.myapp.DialogButtonItem dialogButtonItem$$0 : com.myapp.CustomViewDialogViewModel$$PackageHelper.accessCustomViewDialogViewModel$FG$mDialogButtonItemList(simpleDialogViewModel$$1)) {
com.myapp.DialogButtonItem$$Parcelable.write(dialogButtonItem$$0, parcel$$1, flags$$0, identityMap$$0);
}

Just released 1.1.9 with the fix.  Let me know if this is still an issue.


[spirv] Fuse transposed+broadcasted ops in cooperative matrix

This commit enables fusing transposed+broadcasted elementwise ops together with cooperative matrix.

This lowering is currently unsupported by the most recent drivers for AMD RDNA3. If this controls the decision to land this I can update once support is there. Alternatively this can temporarily become controlled by a flag (the universal hammer :P).

This lowering is currently unsupported by the most recent drivers for AMD RDNA3. If this controls the decision to land this I can update once support is there. Alternatively this can temporarily become controlled by a flag (the universal hammer :P).

I'm guessing it can be put on hold. I was just cleaning up my review queue but I assume we want to wait until this is supported by AMD driver

Not a hurry to land this; let's wait a bit then.


ProxyAdded proxy option + proxy sanity checks

Added proxy option as a command line argument.
Added checks to make sure the proxy URL is valid.

@lorenzodifuccia anything open or can we merge?


Allow to store/resume open editors across Continue On transitions

Split out from https://github.com/microsoft/vscode/issues/183449

For editors, we use a Memento to store and restore editor state:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/workbench/browser/parts/editor/editorPart.ts#L138
Mementos are just simple wrappers around the storage service that make it a bit easier to work with.
The state of editors begins to be created here:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/workbench/browser/parts/editor/editorPart.ts#L1315-L1319
Serialising the grid translates to a call to toJSON for each node:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/workbench/browser/parts/editor/editorGroupView.ts#L2013-L2015
Each editor of a editor group has its own serialiser that is called:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/workbench/common/editor/editorGroupModel.ts#L1036
I count around 20 serialisers that each own how the data is serialised.
The one for files has this shape:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.ts#L38-L45
@joyceerhl in this case where resource.toJSON() is used, how would we support continue on, given its not the URI verbatim but already the JSON form?

Actually, this may be fine, URI.toJSON puts the $mid marker that I think we use:
https://github.com/microsoft/vscode/blob/b21537c2ef9307850c21bef5eb10e037b8d06424/src/vs/base/common/uri.ts#L472-L474

Hi,
Thank you for working on yet another nice feature!
I wonder whether this will also cover custom URI schemes handled by TextDocumentContentProvider. While not being a major problem, I always saw the read-only editors being silently discarded, even without using the "continue on" functionality and just reloading the current workspace.
If that's out of scope here, I can create a separate issue and try to better describe my use-case, maybe even provide a simple demo for testing.

In my testing, I can see how editors restore but with the original URI and not the transformed one.