public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Error using pandoc-tablenos and pandoc-fignos
@ 2016-11-15  3:05 Vikas Rawal
       [not found] ` <176C3C0D-F024-4DB0-9D3E-0766F4439C57-gY6uWiqvZ+vta4EC/59zMGD2FQJk+8+b@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Vikas Rawal @ 2016-11-15  3:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I have pandoc 1.18 installed using homebrew. I installed pandoc-tablenos and pandoc-fignos using pip3 since these are not available via homebrew.

But I get these errors when I try to use them. They look similar. Could someone point to what may be the problem?

Vikas

pandoc --filter pandoc-tablenos outline.tex -o outline.docx
Traceback (most recent call last):
  File "/usr/local/bin/pandoc-tablenos", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/site-packages/pandoc_tablenos.py", line 356, in main
    altered)
  File "/usr/local/lib/python3.5/site-packages/pandoc_tablenos.py", line 354, in <lambda>
    altered = functools.reduce(lambda x, action: walk(x, action, fmt, meta),
  File "/usr/local/lib/python3.5/site-packages/pandocfilters.py", line 111, in walk
    item['c'] if 'c' in item else None, format, meta)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 615, in process_refs
    _process_refs(value, labels)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 119, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 570, in _process_refs
    _get_label(v['t'], v['c']) in labels:
TypeError: unhashable type: 'list'
pandoc: Error running filter pandoc-tablenos
Filter returned error status 1


pandoc --filter pandoc-fignos outline.tex -o outline.docx
Traceback (most recent call last):
  File "/usr/local/bin/pandoc-fignos", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/site-packages/pandoc_fignos.py", line 377, in main
    altered)
  File "/usr/local/lib/python3.5/site-packages/pandoc_fignos.py", line 375, in <lambda>
    altered = functools.reduce(lambda x, action: walk(x, action, fmt, meta),
  File "/usr/local/lib/python3.5/site-packages/pandocfilters.py", line 111, in walk
    item['c'] if 'c' in item else None, format, meta)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 615, in process_refs
    _process_refs(value, labels)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 119, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pandocxnos/core.py", line 570, in _process_refs
    _get_label(v['t'], v['c']) in labels:
TypeError: unhashable type: 'list'
pandoc: Error running filter pandoc-fignos
Filter returned error status 1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-15 10:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15  3:05 Error using pandoc-tablenos and pandoc-fignos Vikas Rawal
     [not found] ` <176C3C0D-F024-4DB0-9D3E-0766F4439C57-gY6uWiqvZ+vta4EC/59zMGD2FQJk+8+b@public.gmane.org>
2016-11-15  3:14   ` Vikas Rawal
     [not found]     ` <94AA884F-300B-4E7E-85B8-8FDFFA9A5047-gY6uWiqvZ+vta4EC/59zMGD2FQJk+8+b@public.gmane.org>
2016-11-15 10:29       ` Kolen Cheung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).