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.

Completions sometimes insert extraneous text

See original GitHub issue

Problem Description

When using a completion, sometimes extraneous text is inserted into the buffer.

What steps reproduce the problem?

See the video below:

spyder-bad-insert

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

Expected: this_message should be inserted into the buffer.

Actual: In this case, this_message$is was inserted into the buffer, where the $ denotes the final location of the cursor.

This behavior seems intermittent. Sometimes the correct text is inserted, sometimes the extraneous text is inserted.

Versions

Python 3.7.0 64-bit | Qt 5.9.6 | PyQt5 5.9.2 | Darwin 19.0.0

Dependencies

cloudpickle >=0.5.0          :  1.2.2 (OK)
pygments >=2.0               :  2.4.2 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
sphinx >=0.6.6               :  2.2.1 (OK)
pylint >=0.25                :  2.4.4 (OK)
psutil >=0.3                 :  5.6.5 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
zmq >=17                     :  18.1.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
numpydoc >=0.6.0             :  0.9.1 (OK)
spyder_kernels >=1.8.0;<2.0.0:  1.8.0 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  None (NOK)
cython >=0.21                :  None (NOK)
IPython >=4.0                :  7.9.0 (OK)
matplotlib >=2.0.0           :  None (NOK)
pandas >=0.13.1              :  None (NOK)
numpy >=1.7                  :  None (NOK)
scipy >=0.17.0               :  None (NOK)
pyls >=0.31.0;<0.32.0        :  0.31.1 (OK)
applaunchservices >=0.1.7    :  0.2.1 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

4reactions
dalthvizcommented, Jan 29, 2020

@ccordoba12 the patch of @ok97465 fixes the issue for me 🎉

@ok97465 could you open a PR with your patch, please? or if you prefer I could create the PR, whatever works best for you.

Again, thanks for the fix suggestion and feedback @ok97465 !

2reactions
ok97465commented, Jan 30, 2020

@dalthviz Thank you for your review. I’ll open a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

STAAR English I Expository Scoring Guide April 2021
The writer may fail to maintain focus on the topic, may include extraneous information, or may shift abruptly from idea to idea, weakening...
Read more >
SQL IntelliSense and Autocomplete in SSMS | Redgate
IntelliSense and Code Completion in SQL Server Management Studio ; Paste parameter tip, CTRL+SHIFT+ALT+P ; Jump between syntax pairs, CTRL+].
Read more >
how does extraneous textbook material influence the reading
Inattention a. often fails to give close attention to details or makes careless mistakes in schoolwork, work, or other activities b. often has...
Read more >
Too much information? The use of extraneous information to ...
Our discussion highlights the conditions under which extraneous information contributes to better decision-making and calls for a mindful use of ...
Read more >
Skillport 8 Knowledge Base - Skillsoft Product Documentation
Sometimes, the sorting filters in learner transcripts stopped working after ... the Skillsoft Course Manager, the prompt had extraneous text in the message....
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