pandoc icon indicating copy to clipboard operation
pandoc copied to clipboard

version 1.x bugs [was: definition directory not found in pypi]

Open panhaoyu opened this issue 4 years ago • 4 comments

image image

Hello. There's no "definition" directory in pypi package. seems that there's something wrong with the setup method.

panhaoyu avatar Sep 22 '20 11:09 panhaoyu

I'm having the same issue with ver. 1.0.2 on pypi. Running "python3 -m pandoc" gives the error:

FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/lib/python3.7/site-packages/pandoc/definitions/1.16.hs'

dfandrich avatar Jun 25 '21 04:06 dfandrich

I have uploaded a 1.1.0 version to pypi where the definitions directory should not be an issue.

boisgera avatar Jun 28 '21 21:06 boisgera

Thanks—that issue is solved. Now I'm getting the issue "NameError: name 'types' is not defined" on init.py:684. It's fixed by adding "import pandoc.types as types" to main() but I'm not sure if that's the intended solution or not. I'll open a new issue with this if you'd like.

dfandrich avatar Jun 28 '21 21:06 dfandrich

Thanks for the feedback @dfandrich ! I have changed the issue title to encompass both issues.

boisgera avatar Jun 28 '21 22:06 boisgera