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

Created on 21 Feb 2020  ·  8Comments  ·  Source: spyder-ide/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?

Code Completion Bug v4.2.0

All 8 comments

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é notifications@github.com 于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

  1. 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
  2. PyQt5 is detected, selecting
  3. 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]
  4. 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
  5. 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
  6. PyQt5 is detected, selecting
  7. 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]
  8. 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 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): 127.0.0.1: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 127.0.0.1 --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 127.0.0.1 --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: 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://
    127.0.0.1:53493
    2020-02-21 11:54:39,532 [DEBUG] [traitlets] -> connecting heartbeat channel
    to tcp://127.0.0.1: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://127.0.0.1:58229
    2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1:58229
    2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> connecting iopub channel to
    tcp://127.0.0.1:35543
    2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1:35543
    2020-02-21 11:54:39,537 [DEBUG] [traitlets] -> connecting stdin channel to
    tcp://127.0.0.1:50705
    2020-02-21 11:54:39,538 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1: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): 127.0.0.1:8118
    2020-02-21 11:54:39,983 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
    Added thread 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: 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): 127.0.0.1:8118
    2020-02-21 11:54:40,390 [DEBUG] [traitlets] ->
    handle_msge27182b8545d11eabcea0cc47a6af7f0
    2020-02-21 11:54:40,395 [DEBUG] [traitlets] ->
    handle_msge27182b8545d11eabcea0cc47a6af7f0
    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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1:8118
    2020-02-21 11:55:56,282 [DEBUG] [urllib3.connectionpool] -> Starting new
    HTTP connection (11): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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 hongyi.zhao@gmail.com
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://127.0.0.1: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 hongyi.zhao@gmail.com 于2020年2月21日周五 下午12:01写道:

>
>

Daniel Althviz Moré notifications@github.com 于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

  1. 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
  2. PyQt5 is detected, selecting
  3. 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]
  4. 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
  5. 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
  6. PyQt5 is detected, selecting
  7. 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]
  8. 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 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): 127.0.0.1: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 127.0.0.1 --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 127.0.0.1 --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: 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://
    127.0.0.1:53493
    2020-02-21 11:54:39,532 [DEBUG] [traitlets] -> connecting heartbeat
    channel to tcp://127.0.0.1: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://127.0.0.1:58229
    2020-02-21 11:54:39,535 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1:58229
    2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> connecting iopub channel to
    tcp://127.0.0.1:35543
    2020-02-21 11:54:39,536 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1:35543
    2020-02-21 11:54:39,537 [DEBUG] [traitlets] -> connecting stdin channel to
    tcp://127.0.0.1:50705
    2020-02-21 11:54:39,538 [DEBUG] [traitlets] -> Connecting to: tcp://
    127.0.0.1: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): 127.0.0.1:8118
    2020-02-21 11:54:39,983 [DEBUG] [spyder.plugins.editor.widgets.editor] ->
    Added thread 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: 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): 127.0.0.1:8118
    2020-02-21 11:54:40,390 [DEBUG] [traitlets] ->
    handle_msge27182b8545d11eabcea0cc47a6af7f0
    2020-02-21 11:54:40,395 [DEBUG] [traitlets] ->
    handle_msge27182b8545d11eabcea0cc47a6af7f0
    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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1:8118
    2020-02-21 11:55:56,282 [DEBUG] [urllib3.connectionpool] -> Starting new
    HTTP connection (11): 127.0.0.1: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): 127.0.0.1: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): 127.0.0.1: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 hongyi.zhao@gmail.com
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

--
Hongsheng Zhao hongyi.zhao@gmail.com
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

Thanks for the feedback @hongyi-zhao !

@ccordoba12 @its-dhung what do you guys think, 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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ok97465 picture ok97465  ·  3Comments

zaroth picture zaroth  ·  3Comments

goanpeca picture goanpeca  ·  3Comments

gabrielclow picture gabrielclow  ·  3Comments

hedeqing picture hedeqing  ·  3Comments