spyder: Spyder showing Kite: unsupported on status bar

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Kit does not seem to be fully working on latest 4.0.1 iteration. On the status bar of the IDE, it shows Kite: unsupported. Despite reinstalling Kite and installing plugins for Spyder it still shows unsupported. The result is that some of the features seem to be working but some auto completions won;t show in the editor pane.

What steps reproduce the problem?

  1. Download and install Kite engine (for Linux).
  2. Launch Spyder and wait for some time (write code in the meantime)
  3. Write code in the editor. After some time the status for Kite changes from ‘supported’ to ‘unsupported’.

What is the expected output? What do you see instead?

Auto completions should work fully and the status should show ‘Ready’ for Kite. Instead it seems to be not indexing too.

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7.5
  • Qt version: 4.6.0
  • PyQt version: 1.9.0
  • Operating System name/version: Ubuntu

Dependencies

atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.2.2 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.11.1 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
keyring                      :  None (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.3 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
xdg >=0.26                   :  0.26 (OK)
zmq >=17                     :  18.1.0 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.8.3 (OK)
sphinx >=0.6.6               :  2.3.1 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  None (NOK)
matplotlib >=2.0.0           :  3.1.1 (OK)
numpy >=1.7                  :  1.18.1 (OK)
pandas >=0.13.1              :  0.25.3 (OK)
scipy >=0.17.0               :  1.3.2 (OK)
sympy >=0.7.3                :  None (NOK)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (17 by maintainers)

Most upvoted comments

Yes, you need to properly encode the URL with functions from https://docs.python.org/3.8/library/urllib.parse.html

Thanks for the logs @shivendra90 (indeed it can be quite difficult to navigate them) but I was able to replicate this. Basically the error is being caused for the & in the path of the file (in your case /home/shivendra/Desktop/AnalyticsVidhya/L&T/ltfs_analysis.py). As an example:

image

Just to confirm could you try to check the same file with unsupported status but placing it in another path without the &? Again, thanks for all the feedback and info 👍

You can also try to directly curl localhost:46624/clientapi/status?filename=... to view Kite’s status response for the given filetype. In theory, all Python files should be supported.

As @shivendra90 noted, Spyder already shows the “long” status in the hover tooltip, which seems like the right design to me.