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.

Asciimatics doesn't work pycharm

See original GitHub issue

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:

X:\Python33\python.exe C:/Users/Sasha/PycharmProjects/untitled/main.py
Traceback (most recent call last):
  File "C:/Users/Sasha/PycharmProjects/untitled/main.py", line 20, in <module>
    Screen.wrapper(demo)
  File "X:\Python33\lib\site-packages\asciimatics\screen.py", line 825, in wrapper
    info = old_out.GetConsoleScreenBufferInfo()
pywintypes.error: (6, 'GetConsoleScreenBufferInfo', 'Nieprawidłowe dojście.')

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
diVineProportioncommented, May 4, 2020

asciimatics works fine in pycharm. edit the build/run configuration and select ‘Emulate terminal in output console’ under the ‘Execution’ category

0reactions
peterbrittaincommented, May 4, 2020

Thanks @diVineProportion . Can you confirm what version of Pycharm and which OS you are using?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — asciimatics 1.14.0 documentation
It runs differently/does not work inside PyCharm¶. While PyCharm's terminal support is constantly improving, it is not perfect and so there are still...
Read more >
I get an Error 6 with Asciimatics and Python - Stack Overflow
The short answer is that you are not running in a proper console/terminal window and you need to run inside the standard Windows...
Read more >
asciimatics/Lobby - Gitter
While I don't provide any co-routines/etc in asciimatics, the event loop is ... If I have to use an IDE, it's possible to...
Read more >
asciimatics Documentation - Read the Docs
The simplest is just to run asciimatics inside a real terminal or window - i.e. not inside PyCharm/the IDE. 2. If you must...
Read more >
How to use the asciimatics.screen.Screen function in asciimatics ...
To help you get started, we've selected a few asciimatics.screen.Screen examples, based on ... def test_print(self): """ Check that the Print Effect works....
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