egh / zotxt

zotxt: a Zotero extension for text
http://gitlab.com/egh/zotxt
GNU General Public License v3.0
326 stars 16 forks source link

Error when running pandoc-zotxt #17

Closed sati-bodhi closed 4 years ago

sati-bodhi commented 4 years ago

I run into this error when invoking pandoc-zotxt.

File "/usr/local/bin/pandoc-zotxt", line 5, in <module>
    from pandoczotxt import run
  File "/usr/local/lib/python3.7/site-packages/pandoczotxt/__init__.py", line 69
    except (urllib2.HTTPError, IndexError), e:
                                          ^
SyntaxError: invalid syntax
egh commented 4 years ago

Hi @sati-bodhi ! Thanks for the bug report. Is it possible to try to use https://github.com/odkr/pandoc-zotxt.lua instead? I am planning to deprecate pandoc-zotxt, as it is much more difficult to use than this other project, which is written in lua and runs natively in pandoc.

sati-bodhi commented 4 years ago

I was scared off by this warning:

圖片

Will find the courage to give it a try, though. 👍

egh commented 4 years ago

It's better than python pandoc-zotxt in my opinion :)