question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: _split_row() takes exactly 2 arguments (3 given)

See original GitHub issue

When I try to generate a .pd with mkdocs2pandoc -f mkdocs.yml -o output.pd in my docker image (schizopriest/mkdocs) on gitlab-ci, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/mkdocs2pandoc", line 11, in <module>
    load_entry_point('mkdocs-pandoc==0.2.6', 'console_scripts', 'mkdocs2pandoc')()
  File "/usr/lib/python2.7/site-packages/mkdocs_pandoc/cli/mkdocs2pandoc.py", line 80, in main
    for line in pconv.convert():
  File "/usr/lib/python2.7/site-packages/mkdocs_pandoc/pandoc_converter.py", line 165, in convert
    lines = mkdocs_pandoc.filters.tables.TableFilter().run(lines)
  File "/usr/lib/python2.7/site-packages/mkdocs_pandoc/filters/tables.py", line 177, in run
    ret.extend(self.convert_table(block))
  File "/usr/lib/python2.7/site-packages/mkdocs_pandoc/filters/tables.py", line 91, in convert_table
    for i in range(0, len(self._split_row(lines_orig[0], has_border))):
TypeError: _split_row() takes exactly 2 arguments (3 given)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
immunochomikcommented, Mar 10, 2017

the problem is in the Marcdown 2.6.8 so if you install 2.6.7 it will work

2reactions
JGuillaumincommented, Oct 2, 2017

You should use : pip install --upgrade markdown==2.6.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Function() takes exactly 2 arguments (3 given) - Stack Overflow
If it's in a class, your method should be : def values_to_insert(self, a, b):. You can read about the reasoning for this here....
Read more >
read() takes exactly 2 arguments (3 given) · Issue #793 · kivy ...
I am referring this issue on behalf of another user from StackOverflow, complete information from this link (https://stackoverflow.com/questions ...
Read more >
TypeError: __init__() takes exactly 2 arguments (3 given) - Odoo
Consider this function: @api.multi def create_invoice(self): """ Create a invoice refund """ self.ensure_one() if not self.sure: raise UserError(
Read more >
How to solve "TypeError: __init__() takes exactly 2 arguments ...
"Takes exactly 2 arguments" means self , which is automatically supplied, +1 other user-specified argument. This is because RemapRange is a ...
Read more >
TypeError: las_callback() takes exactly 2 arguments (1 given)
I try to make spatial median filtering that uses in sensor_msgs/LaserScan.msg. this is my python code: #!/usr/bin/env python """ """ import ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found