pashango2 / sphinxcontrib-pandoc-markdown

BSD 2-Clause "Simplified" License
13 stars 4 forks source link

AttributeError: 'StringList' object has no attribute 'splitlines' #15

Open grhawk opened 6 years ago

grhawk commented 6 years ago

Hi,

your package is very nice and extremely useful. I am trying to use it but I always get the following error:

  File "/Users/rpe/.virtualenvs/rest_serv-361/lib/python3.6/site-packages/sphinxcontrib/pandoc_markdown.py", line 278, in convert
    for line in input_string.splitlines():
AttributeError: 'StringList' object has no attribute 'splitlines'

do you have any idea? If needed I can share some example file to let you reproduce the error or the long log.

Thank you very much.

grhawk commented 6 years ago

Apparently, the problem comes with sphinx>=1.7.0.

sky-y commented 6 years ago

I have the same error.

No anaconda but purely using apt-based python3/pip3.

sanzoghenzo commented 5 years ago

Same problem here, I can confirm that the PR is working for me

kdheepak commented 5 years ago

Can this PR be merged? I'm still having the same issue.