Skip to content
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

Assertion error: assert( len(data) == 2 ) #9

Open
Gim6626 opened this issue Mar 16, 2018 · 2 comments
Open

Assertion error: assert( len(data) == 2 ) #9

Gim6626 opened this issue Mar 16, 2018 · 2 comments

Comments

@Gim6626
Copy link

Gim6626 commented Mar 16, 2018

Could not use markdown_to_dokuwiki.py, got following error:

$ python2 markdown_to_dokuwiki.py input.md 
Traceback (most recent call last):
  File "markdown_to_dokuwiki.py", line 156, in <module>
    return_code = main( files )
  File "markdown_to_dokuwiki.py", line 145, in main
    return_code =+ convert_file( filename )
  File "markdown_to_dokuwiki.py", line 138, in convert_file
    process_pandoc_jason( data )
  File "markdown_to_dokuwiki.py", line 110, in process_pandoc_jason
    assert( len(data) == 2 )
AssertionError

Tested on simple input.md file generated from Doxygen:

# Source files list #

1. **`libfooplatform.c`**

    Implementation of the library's initialization/deinitialization.

1. **`libfooplatform.h`**

    Description of the Foo API public part.
@claremacrae
Copy link
Owner

Thanks for reporting this. What version of Python are you using please?

@Gim6626
Copy link
Author

Gim6626 commented Mar 16, 2018

$ python2 -V
Python 2.7.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants