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.

Deleting a Variable

See original GitHub issue

Description

What steps will reproduce the problem?

I ran my program, then wanted to delete a variable in die variable manager manually. Left clickt, then this message popped up.

Used a lot of cpu power, before I got the message in the console: RuntimeWarning: overflow encountered in reduce. Maybe this had something to do with it

Traceback

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 791, in contextMenuEvent
    self.refresh_menu()
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 708, in refresh_menu
    self.refresh_plot_entries(index)
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 713, in refresh_plot_entries
    is_list = self.is_list(key)
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 1476, in is_list
    return self.var_properties[name]['is_list']
KeyError: 'df_ahs'

Versions

  • Spyder version: 4.0.0
  • Python version: 3.7.4
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

cloudpickle >=0.5.0          :  1.2.2 (OK)
pygments >=2.0               :  2.5.2 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
sphinx >=0.6.6               :  2.3.0 (OK)
pylint >=0.25                :  2.4.4 (OK)
psutil >=0.3                 :  5.6.7 (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.1;<2.0.0:  1.8.1 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  1.5 (OK)
cython >=0.21                :  0.29.14 (OK)
IPython >=4.0                :  7.10.2 (OK)
matplotlib >=2.0.0           :  3.1.1 (OK)
pandas >=0.13.1              :  0.25.3 (OK)
numpy >=1.7                  :  1.17.4 (OK)
scipy >=0.17.0               :  1.3.2 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Feb 15, 2020

Let’s talk on issue #11455 about it.

1reaction
goanpecacommented, Feb 14, 2020

Ok closing then,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deleting a Variable - Oracle Help Center
In System View or Filter View, click the Variable Designer icon. ; On Replacement or Execution, right click the variable you want to...
Read more >
Deleting variables - IBM
To delete a variable, use the D line command. However, to avoid conflict with the I (insert) line command, the Variables option does...
Read more >
3 Ways to Delete a Variable in Python (& Why?) - FavTutor
Using the 'del' command is the most known and easiest method to delete variables in Python. The del keyword deletes the objects. Since ......
Read more >
How to Delete Variables - Q Wiki
On the Variables and Questions tab, against all the variables you want to delete, click the H button in the Tags column. Select...
Read more >
Deleting a variable ‒ Qlik Sense on Windows
You can also click in the row of the variable you want to delete and select Delete. Information note If you remove a...
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