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

 still generating issues #58

Open
matteocontrini opened this issue Aug 14, 2018 · 2 comments
Open

 still generating issues #58

matteocontrini opened this issue Aug 14, 2018 · 2 comments

Comments

@matteocontrini
Copy link
Owner

It should have been fixed with e3bec29, but it appears it's not.

See #56, #57.

λ python convert.py
Traceback (most recent call last):
  File "convert.py", line 27, in <module>
    e = ET.parse(file_path).getroot()
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 656, in parse
    parser.feed(data)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1523, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: reference to invalid character number: line 1707, column 8641
@matteocontrini
Copy link
Owner Author

The workaround in the meanwhile is to open the source file in a text editor and replace every occurence of &#x11; with an empty string.

@sontungduog
Copy link

sontungduog commented Aug 15, 2018

ok thank you! I got a same error.

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

2 participants