Skip to content

AttributeError in mdv - object has no attribute 'ansi' #2

Description

@dimitar-petrov

I am getting the following exception.

chef-cli --problem PRACTICE PPERM
Traceback (most recent call last):
  File "/home/dpetrov/develop/python/learn/.venv/bin/mdv", line 11, in <module>
    sys.exit(run())
  File "/home/dpetrov/develop/python/learn/.venv/lib/python3.6/site-packages/mdv/markdownviewer.py", line 1657, in run
    print(main(**kw) if PY3 else str(main(**kw)))
  File "/home/dpetrov/develop/python/learn/.venv/lib/python3.6/site-packages/mdv/markdownviewer.py", line 1383, in main
    ansi = MD.ansi
AttributeError: 'Markdown' object has no attribute 'ansi'

This is the environment:

pip freeze       
certifi==2018.11.29
chardet==3.0.4
chef-cli==1.0.1
colorama==0.4.1
docopt==0.6.2
idna==2.8
Markdown==3.0.1
mpv==0.1
Pygments==2.3.1
python-decouple==3.1
PyYAML==3.13
requests==2.21.0
tabulate==0.8.2
termcolor==1.1.0
termgraph==0.2.0
urllib3==1.24.1

python --version
Python 3.6.6

If I downgrade mdv to 1.6.3

chef-cli --problem PRACTICE SMPAIR
n.a. (no parsing result)                                                                                                                                               

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions