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.

Not able to open console

See original GitHub issue

Description

What steps will reproduce the problem?

  1. Open Console
  2. Giving Error and opening issue reporter window

Traceback

  File "C:\Users\Govind\miniconda3\envs\gpy\lib\site-packages\spyder_notebook\notebookplugin.py", line 324, in open_console
    self.ipyconsole._create_client_for_kernel(kernel_id, None, None,
  File "C:\Users\Govind\miniconda3\envs\gpy\lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 1789, in _create_client_for_kernel
    shellwidget.check_spyder_kernel()
  File "C:\Users\Govind\miniconda3\envs\gpy\lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 256, in check_spyder_kernel
    self.silent_exec_method(code)
  File "C:\Users\Govind\miniconda3\envs\gpy\lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 618, in silent_exec_method
    self._request_info['execute'][msg_id] = self._ExecutionRequest(msg_id,
TypeError: __new__() missing 1 required positional argument: 'hidden'
WARNING:traitlets:kernel died: 3.0106139183044434
WARNING:traitlets:kernel died: 3.0005977153778076
WARNING:traitlets:kernel died: 3.0003018379211426
WARNING:traitlets:kernel died: 3.0144729614257812
WARNING:traitlets:kernel died: 3.009251832962036
WARNING:traitlets:kernel died: 3.003476619720459
WARNING:traitlets:kernel died: 3.000251054763794
WARNING:traitlets:kernel died: 3.0039069652557373
WARNING:traitlets:kernel died: 3.00203537940979
WARNING:traitlets:kernel died: 3.0034265518188477
WARNING:traitlets:kernel died: 3.0041916370391846
WARNING:traitlets:kernel died: 3.0136420726776123
WARNING:traitlets:kernel died: 3.0043814182281494
WARNING:traitlets:kernel died: 3.0001132488250732
WARNING:traitlets:kernel died: 3.014643907546997
WARNING:traitlets:kernel died: 3.0015194416046143
WARNING:traitlets:kernel died: 3.0084216594696045
WARNING:traitlets:kernel died: 3.014244556427002
WARNING:traitlets:kernel died: 3.0085208415985107
WARNING:traitlets:kernel died: 3.0030596256256104
WARNING:traitlets:kernel died: 3.011044979095459
WARNING:traitlets:kernel died: 3.007801055908203
WARNING:traitlets:kernel died: 3.0003750324249268

Versions

  • Spyder version: 4.2.5
  • Python version: 3.8.12
  • 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.4.1 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=7.6.0                 :  7.31.1 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  4.4.0 (OK)
keyring >=17.0.0                :  22.3.0 (OK)
nbconvert >=4.0                 :  6.4.2 (OK)
numpydoc >=0.6.0                :  1.2 (OK)
paramiko >=2.4.0                :  2.8.1 (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.11.2 (OK)
pylint >=1.0                    :  2.12.2 (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.3 (OK)
qtconsole >=5.0.3               :  5.2.2 (OK)
qtpy >=1.5.0                    :  1.11.2 (OK)
rtree >=0.8.3                   :  0.9.7 (OK)
setuptools >=39.0.0             :  58.0.4 (OK)
sphinx >=0.6.6                  :  4.4.0 (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                        :  22.3.0 (OK)

# Optional:
cython >=0.21                   :  0.29.17 (OK)
matplotlib >=2.0.0              :  None (OK)
numpy >=1.7                     :  1.22.2 (OK)
pandas >=1.1.1                  :  1.4.1 (OK)
scipy >=0.17.0                  :  1.6.0 (OK)
sympy >=0.7.3                   :  None (NOK)

# Spyder plugins:
spyder_notebook                 :  0.3.2 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Feb 28, 2022

Hey @duggar, thanks for reporting. Please close Spyder, open the Anaconda Prompt and downgrade qtconsole (one of our dependencies) with the following command:

conda install qtconsole=5.0

That should fix this problem, but let us know if it works for you.

1reaction
ccordoba12commented, Mar 4, 2022

Some months ago, we did some changes in qtconsole that are incompatible with older Spyder 4 versions. And, unfortunately, we didn’t add a top constraint to qtconsole, which caused this problem.

So, the only solution is to manually downgrade to an older version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't open up console :: Counter-Strike - Steam Community
Right click on csgo (in the Library), go to properties. Then you press on the "specify the startup options" and wirte -console. then...
Read more >
CS: GO Console Not Opening - How to Fix? - Valibyte
Restart your CS: GO and Steam · Verify your CS: GO file integrity · Edit your CS: GO launch option · Repair the...
Read more >
How to open console in CS:GO - Dot Esports
To open the console, you first need to enable it through the settings menu. You can do this by clicking Options in the...
Read more >
Im not able to open console no matter how many times I press ...
go to libary in steam, right click on csgo -> properties-> set launch options -> type in -console . combined with enabling it...
Read more >
How to Open Console on CSGO - Apex Hosting
How to Enable the Console in CSGO · Launch CSGO and locate the Settings menu, then click on it. · Head to 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