-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: unsupported operand type(s) for +=: 'dict' and 'list' #22
Labels
Comments
Thanks for this report. Yes, I see where the problem is. Please update to pandoc-tablenos 2.2.2 (just released) and it should be fixed. Cheers, |
Tom, Thanks for the swift response. Works now. Howard |
Great! Thanks for letting me know, Howard. Cheers, |
Tom,
Is it possible to build a self-contained pandoc-xnos for Windows executable
so my users do not need to install Python, the package, etc.?
Thanks,
Howard
…On Fri, Aug 7, 2020 at 7:00 PM Thomas J. Duck ***@***.***> wrote:
Great! Thanks for letting me know, Howard.
Cheers,
Tom
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP7UQGFE7FSZECJZEIF6MVDR7SWTRANCNFSM4PX6VG6A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting this error. Any ideas?
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\Scripts\pandoc-xnos.exe_main.py", line 7, in
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandocxnos\main.py", line 38, in main
m.main(stdin, stdout)
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandoc_tablenos.py", line 664, in main
altered = functools.reduce(lambda x, action: walk(x, action, fmt, meta),
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandoc_tablenos.py", line 664, in
altered = functools.reduce(lambda x, action: walk(x, action, fmt, meta),
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandocfilters.py", line 110, in walk
res = action(item['t'],
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandoc_tablenos.py", line 335, in process_tables
_adjust_caption(fmt, table, value)
File "C:\Users\hborchew\AppData\Roaming\Python\Python38\site-packages\pandoc_tablenos.py", line 250, in _adjust_caption
value[1] += tmp
TypeError: unsupported operand type(s) for +=: 'dict' and 'list'
Error running filter pandoc-xnos:
Filter returned error status 1
The text was updated successfully, but these errors were encountered: