I don't see PySide2 errors on PyCharm output but my friends can

Hello, I have a script which produces some PySide2/Qt for Python errors like these:

QGraphicsScene::removeItem: item 0x15427058's scene (0x0) is different from this scene (0x1373ea0)
QObject::~QObject: Timers cannot be stopped from another thread

When I run my script via PyCharm debug/run, I don't see these errors on my output. But my friends do see these errors in red in their PyCharm output. I also discovered that I can see these errors when I run the script via Windows command prompt instead of PyCharm. So what might be the reason that I don't see these errors on my PyCharm?

PyCharm version: 2019.2.4

Python version: Python 3.6.6 (64-bit)

0

Hello Canol,

 

"I also discovered that I can see these errors when I run the script via Windows command prompt instead of PyCharm."  - if the issue is reproducible in terminal, it means the issue out of PyCharm scope. Please use public resources to find a clue. 

0

Hello Antonina, I think you didn't understand the problem. The problem is that I cannot see those errors in PyCharm terminal while I am able to see them in normal terminal (command prompt). Hence I am asking it here: what might be the reason that I am not able to see those errors in PyCharm terminal? Does PyCharm have a setting that I need to configure?

0

Hello Canol, 

I apologies for the misunderstanding. 

Do you run the script in PyCharm for the same python interpreter as you use in a command prompt? In can be clarified in the Run/Debug configuration for a script https://www.jetbrains.com/help/pycharm/code-running-assistance-tutorial.html#run-config 

 

Could you please upload a simple script example to the FTP https://uploads.services.jetbrains.com/ , it will allow me to reproduce the issue. Please let me know the file name. 

 

 

0

请先登录再写评论。