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

C tokenizer exited with non-empty token stack. #158

Closed
kjschiroo opened this issue Aug 11, 2016 · 2 comments
Closed

C tokenizer exited with non-empty token stack. #158

kjschiroo opened this issue Aug 11, 2016 · 2 comments

Comments

@kjschiroo
Copy link

I get the following message when parsing revision id 732147567

File "/home/kjschiroo/Development/venvs/3/lib/python3.5/site-packages/mwparserfromhell-0.4.3-py3.5-linux-x86_64.egg/mwparserfromhell/utils.py", line 58, in parse_anything
    return Parser().parse(value, context, skip_style_tags)
  File "/home/kjschiroo/Development/venvs/3/lib/python3.5/site-packages/mwparserfromhell-0.4.3-py3.5-linux-x86_64.egg/mwparserfromhell/parser/__init__.py", line 93, in parse
    tokens = self._tokenizer.tokenize(text, context, skip_style_tags)
mwparserfromhell.parser.ParserError: This is a bug and should be reported. Info: C tokenizer exited with non-empty token stack.

Here is the revision text
732147567.txt

@lahwaacz
Copy link
Contributor

Hmm, the skip_style_tags=True workaround for #40 does not help here.

@earwig
Copy link
Owner

earwig commented Jun 23, 2017

Fixed in cd4f90e. Same bug as #147.

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

No branches or pull requests

3 participants