prompt-toolkit / prompt-toolkit/python-prompt-toolkit
AssertionError from full screen tutorial code
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to follow the full screen application tutorial on http://python-prompt-toolkit.readthedocs.io/en/stable/pages/full_screen_apps.html, but get the following error on just the first code example:
Traceback (most recent call last):
File "mco.py", line 13, in <module>
cli = CommandLineInterface(application=application)
File "/home/tsvenson/.virtualenvs/orson/lib/python3.4/site-packages/prompt_toolkit/interface.py", line 69, in __init__
assert isinstance(eventloop, EventLoop)
AssertionError
List of venv-modules:
mysql-connector-python (2.1.3)
pip (7.1.2)
prompt-toolkit (1.0.3)
setuptools (18.2)
six (1.10.0)
wcwidth (0.1.7)
wheel (0.24.0)
This is on Ubuntu 14.04 LTS
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the first code example in the full-screen application tutorial and compare it with prompt_toolkit/interface.py line 69 in the installed prompt-toolkit 1.0.3 environment. Reproduce the AssertionError on Ubuntu or an equivalent virtual environment, then verify that the tutorial example runs without the event-loop assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100