Project won't run properly
Answered
Hello,
after accidentally clicking the debug button, my files won't run properly anymore.
They never finish and can just be shut downed manually. When i create a new python file with a print function, it works likes always and prints the result. But the other files in the project won't run properly anymore. Invalidate Cache and Restart didn't work. Restarting the computer didn't work aswell.
Greetings
Please sign in to leave a comment.
Hi Mhun,
Does it also happen when you run them from the system terminal (outside of PyCharm) using the same interpreter?
If i try to run it:
import-im6.q16: not authorized `signal' @ error/constitute.c/WriteImage/1037.
import-im6.q16: not authorized `gym' @ error/constitute.c/WriteImage/1037.
import-im6.q16: not authorized `gym_hexa' @ error/constitute.c/WriteImage/1037.
import-im6.q16: not authorized `np' @ error/constitute.c/WriteImage/1037.
from: can't read /var/mail/value_function
from: can't read /var/mail/policy
from: can't read /var/mail/utils
Is it the same error message you get in PyCharm?
Looks like a code/environment-specific issue.
No, in PyCharm i don't get any error, but it's not printing or displaying the things it actually did, before i hit the debug button.
Did you make any changes to your Run/Debug configuration?
Try removing it and then right-clicking the file and choosing Run...
No, didnt make any changes, only pressed the debug button and canceled it afterward.
Did remove the configuration and ran it. Still the same problem.
Please share a screenshot showing the whole console output when running scripts and another one showing your Project Interpreter.
By the way, if you remove your code from the problematic script and just add one print statement, does it also hang when running?