-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asciimatics doesn't work pycharm #29
Comments
Are you trying to run this inside the pycharm console? If so, what version of asciimatics are you running? |
1.6 |
OK - I see what you're doing... PyCharm isn't actually using a standard Windows command line interpreter. It is wrapping the interpreter and redirecting stdin/stdout to print that back into its console window. This is not compatible with the Win32 API that controls console output. The same is basically true for the Linux/OSX variants (though the implementation details vary considerably). Version 1.7 of asciimatics has done a lot to allow you to run UTs inside PyCharm, but because it is not a real console, the output from any live applications just gets discarded. If you want to start up an application from the IDE, the best I can suggest right now is start a "Terminal" using I've just tested this on V1.7, but (since this actually starts a real command line) it should work just fine on V1.6 too. |
Excellent! I'll have a think about some trouble-shooting advice I can add to the docs and then close this issue. In answer to your question: V1.7 is the latest code on the master branch in GitHub. It has not yet gone public... |
Added to troubleshooting. |
asciimatics works fine in pycharm. edit the build/run configuration and select 'Emulate terminal in output console' under the 'Execution' category |
Thanks @diVineProportion . Can you confirm what version of Pycharm and which OS you are using? |
I have downloaded Asciimatics using pycharm with required dependencies,like pillow and future. I tested this on Python 3.3.5 and 3.5, but the test code from https://github.com/peterbrittain/asciimatics doesn't work. There are errors:
The text was updated successfully, but these errors were encountered: