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.

Change view error

See original GitHub issue

Description

What steps will reproduce the problem?

When I changed the view to matlab layout from the menu.

Traceback

  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'
Traceback (most recent call last):
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 435, in data
  File "C:\Users\toly084\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 484, in get_bgcolor
KeyError: 'color'

Versions

  • Spyder version: 4.2.5
  • Python version: 3.8.8
  • Qt version: 5.9.7
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=7.6.0                 :  7.22.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  22.3.0 (OK)
nbconvert >=4.0                 :  6.0.7 (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.8.0 (OK)
pygments >=2.0                  :  2.8.1 (OK)
pylint >=1.0                    :  2.7.4 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.2             :  0.3.2 (OK)
qdarkstyle >=2.8;<3.0           :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.3               :  5.0.3 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
rtree >=0.8.3                   :  0.9.7 (OK)
setuptools >=39.0.0             :  52.0.0.post20210125 (OK)
sphinx >=0.6.6                  :  4.0.1 (OK)
spyder_kernels >=1.10.2;<1.11.0 :  1.10.2 (OK)
textdistance >=4.2.0            :  4.2.1 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0        :  1.0.2 (OK)
zmq >=17                        :  20.0.0 (OK)

# Optional:
cython >=0.21                   :  0.29.23 (OK)
matplotlib >=2.0.0              :  3.3.4 (OK)
numpy >=1.7                     :  1.20.1 (OK)
pandas >=1.1.1                  :  1.2.4 (OK)
scipy >=0.17.0                  :  1.6.2 (OK)
sympy >=0.7.3                   :  1.8 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
toly4470commented, Nov 25, 2021

I just restarted the program and now all good.

From: Stephannie Jimenez Gacha @.> Sent: Thursday, November 25, 2021 1:27 AM To: spyder-ide/spyder @.> Cc: toly4470 @.>; Mention @.> Subject: Re: [spyder-ide/spyder] Change view error (#16887)

Did you find a way to fix this 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/16887#issuecomment-978449454 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWUHL75RLEXLVM43EX2VKRTUNVYEBANCNFSM5IUD3CAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/AWUHL76QROSFUQNCDZI6RBDUNVYEBA5CNFSM5IUD3CA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHJI7ILQ.gif

0reactions
steff456commented, Nov 26, 2021

Great! I’m going to close this issue given that it was resolved. Thanks for reporting 😃 !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Displaying a Custom Error Page (C#)
This tutorial shows how to customize these settings to display an aesthetically-pleasing custom error page that matches your site's look and ...
Read more >
How to change the base path for error pages triggered by a ...
Hi all, The default path for error pages is "resources/views/errors". Is there a way to customize this path according to route groups?
Read more >
Custom Error Pages — Phoenix v1.6.15
Settings View Source Custom Error Pages. Phoenix has a view called ErrorView which lives in lib/hello_web/views/error_view.ex . The purpose of ErrorView is ...
Read more >
How to Create a Great Custom 404 Error Page (with ...
Change the main content section to show the error message, and your 404 error page will match the rest of the site pretty...
Read more >
Laravel Error Pages: Change Text or Customize Layouts
Official docs: https://laravel.com/docs/8.x/ errors #custom-http... ... 7.5K views 1 year ago. 7,594 views • Mar 7, 2021.
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