question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

open app and load files that have moved

See original GitHub issue

Description

What steps will reproduce the problem?

I closed Spyder with a particular .py file still open. I moved the file and then opened Spyder again. It crashed right away.

Traceback

  File "C:\Users\J86401\Anaconda3\lib\site-packages\spyder\plugins\completion\kite\client.py", line 173, in perform_request
    self.sig_response_ready.emit(req_id, response or {})
TypeError: KiteClient.sig_response_ready[int, dict].emit(): argument 2 has unexpected type 'str'
Traceback (most recent call last):
  File "C:\Users\J86401\Anaconda3\lib\site-packages\spyder\plugins\completion\kite\client.py", line 173, in perform_request
    self.sig_response_ready.emit(req_id, response or {})
TypeError: KiteClient.sig_response_ready[int, dict].emit(): argument 2 has unexpected type 'str'

Versions

  • Spyder version: 4.1.5
  • Python version: 3.7.6
  • Qt version: 5.12.5
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.6.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.18.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  6.0.3 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.2 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.2 (OK)
pygments >=2.0                 :  2.7.1 (OK)
pylint >=1.0                   :  2.6.0 (OK)
pyls >=0.34.0;<1.0.0           :  0.35.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.2 (OK)
qtconsole >=4.6.0              :  4.7.7 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.2 (OK)

# Optional:
cython >=0.21                  :  0.29.21 (OK)
matplotlib >=2.0.0             :  3.3.2 (OK)
numpy >=1.7                    :  1.19.1 (OK)
pandas >=0.13.1                :  1.0.1 (OK)
scipy >=0.17.0                 :  1.5.2 (OK)
sympy >=0.7.3                  :  1.6.2 (OK)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
suzannejbcommented, Sep 25, 2020

Hi @suzannejb for now as a work around could you try disabling Kite? (you can do it by going to Preferences > Completion and linting > Advanced > Providers and unchecking the option Enable Kite (if the Kite engine is running)

This fixed me. Thanks!

1reaction
dalthvizcommented, Sep 23, 2020

Hi @suzannejb for now as a work around could you try disabling Kite? (you can do it by going to Preferences > Completion and linting > Advanced > Providers and unchecking the option Enable Kite (if the Kite engine is running)

Read more comments on GitHub >

github_iconTop Results From Across the Web

View and modify files and folders in Files on iPad
Browse and open files and folders. Tap Browse at the bottom of the screen, then tap an item in the Browse sidebar. If...
Read more >
How to Use the Files App on Your iPhone or iPad
From the Files app, tap a specific service to see the folders and files stored on it. Tap a file to open it...
Read more >
Move files to an existing folder in Internal storage
On your Android device, open Files by Google · At the bottom, tap Browse · Scroll to "Storage devices." · Tap Internal storage....
Read more >
Windows Basics: Working with Files - GCF Global
In this lesson, we'll show you the absolute basics of working with files, including how to open files, move your files into folders,...
Read more >
Move files to a new Windows PC using OneDrive
Note: You can only have one personal account. OneDrive Setup will open. Enter your new account and select Sign in. 2. Sync the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found