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.

Spyder 5.3.3 IPython-console not properly doing `input()` on Mac

See original GitHub issue

Problem Description

In spyder 5.3.3 the execution of input() on silicon Macs does not work properly ->spyder 5.2.2 is working perfect

What steps reproduce the problem?

while True:
    print(input("Enter something:"))

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

EXPECTED:

Enter something:1
1

Enter something:1
1

Enter something:1
1

WHATS HAPPENING:

Enter something:1
1Enter something:
111

Paste Traceback/Error Below (if applicable)

no errors

Versions

  • Spyder version: 5.2.2
  • Python version: 3.9
  • Qt version: 5.15.2
  • PyQt version: PyQt5 5.15.7
  • Operating System name/version: MacOS 12.5.1

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Oct 19, 2022

Hey @a2-c-martin, thanks for reporting. I thought this was fixed already, but we’ll take a look at it.

@mrclary, could you check if you’re getting the same problem on Mac? Thanks!

0reactions
ccordoba12commented, Oct 20, 2022

Ok, thanks for the confirmation @mrclary. I added that if because I thought it was not needed on Mac. Furthermore, that processEvents is making both Qtconsole and Spyder test suites hang on Mac.

But I’ll add a workaround so that it’s not called while running tests but it is in regular use.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with input() in Spyder 5.1.5 (Anaconda) · Issue #17616
Only when I try to execute an "input()" command, it crashes. "inputValue = input()". Traceback. Traceback (most recent call last): File "/Users/ ...
Read more >
Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >
spyder-ide/public - Gitter
I want to update my Spyder. The manual says: do conda update spyder in your Anaconda Prompt. However: there is no Anaconda Prompt...
Read more >
Problem with input() and IPython Console in Spyder 5.1.5 on ...
In short, when running a script containing input(), Spyder crashes. It looks like a problem with the IPython console itself because when ...
Read more >
Newest 'spyder' Questions - Stack Overflow
9)on Spyder IDE. However, I can not import opencv library into my python test file. It shows error "OpenCV: not authorized to capture...
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