athena-cli icon indicating copy to clipboard operation
athena-cli copied to clipboard

AttributeError with recent versions of cmd2

Open jkleint opened this issue 7 years ago • 1 comments

Thanks for such a great tool.

It seems recent versions of cmd2 have broken compatibility again:

$ athena --schema default
athena:default> show databases;
EXCEPTION of type 'AttributeError' occurred with message: ''Statement' object has no attribute 'full_parsed_statement''
To enable full traceback, run the following command:  'set debug true'
athena:default>
$ pipenv graph
athena-cli==0.1.8
  - boto3 [required: Any, installed: 1.7.78]
    - botocore [required: <1.11.0,>=1.10.78, installed: 1.10.78]
      - docutils [required: >=0.10, installed: 0.14]
      - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
      - python-dateutil [required: >=2.1,<3.0.0, installed: 2.7.3]
        - six [required: >=1.5, installed: 1.11.0]
    - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
    - s3transfer [required: <0.2.0,>=0.1.10, installed: 0.1.13]
      - botocore [required: >=1.3.0,<2.0.0, installed: 1.10.78]
        - docutils [required: >=0.10, installed: 0.14]
        - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
        - python-dateutil [required: >=2.1,<3.0.0, installed: 2.7.3]
          - six [required: >=1.5, installed: 1.11.0]
  - cmd2 [required: Any, installed: 0.9.3]
    - colorama [required: Any, installed: 0.3.9]
    - pyperclip [required: >=1.5.27, installed: 1.6.4]
    - wcwidth [required: Any, installed: 0.1.7]
  - tabulate [required: >=0.8.1, installed: 0.8.2]
pyparsing==2.2.0

If I downgrade cmd2 to 0.8.0, it works.

jkleint avatar Aug 16 '18 21:08 jkleint

Yeah, I found this seems to break the openstack python cli

jhg03a avatar Jun 05 '20 17:06 jhg03a