Open
Description
Hello,
aq currently fails on importing prompt-toolkit, could you please advise what version of prompt-toolkit is known to work?
pip freeze:
aq==0.1.1 asn1crypto==0.24.0 boto3==1.9.130 botocore==1.12.130 cryptography==2.1.4 docopt==0.6.2 docutils==0.14 enum34==1.1.6 futures==3.2.0 idna==2.6 ipaddress==1.0.17 jmespath==0.9.4 keyring==10.6.0 keyrings.alt==3.0 prompt-toolkit==2.0.9 pycrypto==2.6.1 Pygments==2.3.1 pygobject==3.26.1 pyparsing==2.4.0 python-dateutil==2.8.0 pyxdg==0.25 s3transfer==0.2.0 SecretStorage==2.3.1 six==1.11.0 tabulate==0.8.3 urllib3==1.24.1 wcwidth==0.1.7
Metadata
Metadata
Assignees
Labels
No labels
Activity
mtoftum commentedon Apr 16, 2019
I'm pretty sure it broke once it got past 2.x - try grabbing one of the later versions in 1.x.
The changes in prompt-toolkit broke just about everywhere else it was in use with the move to 2.x
crsuarez commentedon May 19, 2019
Is not broke, prompt_toolkit now works with asyncio. https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/CHANGELOG#L341
mtoftum commentedon May 19, 2019
I'll rephrase in case it wasn't obvious. aq is compatible with prompt-toolkit 1.something, it does not work with prompt-toolkit >= 2
psa-jforestier commentedon Oct 14, 2019
I fix this startup error with pip-downgrading some library with :
pip3 install ipython==6.5.0 ptpython==0.41After starting, aq failed with a Python error "AttributeError", as reported in #7 .
It will be great if we could have a working Docker container with all dependencies in correct version to make aq works.
john-aws commentedon Jul 9, 2021
For me, the failing symptoms are:
mtoftum commentedon Jul 9, 2021
Be aware that this project is abandon-ware. Last commit is almost 5 years ago.
@john-aws most likely you have installed prompt-toolkit 2.x or 3.x - aq is only compatible with older 1.x versions of prompt-toolkit.
john-aws commentedon Jul 9, 2021
@mtoftum thanks, I missed that.