Giter Club home page Giter Club logo

Comments (8)

ping avatar ping commented on June 11, 2024 1

It's the é. Pushed out a quick fix with version 0.4.4.

from odmpy.

wtanksleyjr avatar wtanksleyjr commented on June 11, 2024

https://gist.github.com/wtanksleyjr/f9139dd6f9426cf84f352cc6e8be021f

from odmpy.

wtanksleyjr avatar wtanksleyjr commented on June 11, 2024

Thank you, confirmed!

from odmpy.

wtanksleyjr avatar wtanksleyjr commented on June 11, 2024

This is closed, but I just hit another ODM with the same error from a different "undefined entity" -- again, I just manually edited them out, but perhaps a more general fix is needed, since there's really no need to expand any entities at all.

The culprit is one or all of the following:

“
”
’

from odmpy.

ping avatar ping commented on June 11, 2024

Fixed in 0.4.5.

from odmpy.

wtanksleyjr avatar wtanksleyjr commented on June 11, 2024

Since this is still open I'll reuse it -- this time   killed my ODM. Again, editing it out made everything fine.

Traceback (most recent call last):
  File "/home/william/.local/lib/python3.8/site-packages/odmpy/odm.py", line 190, in run
    metadata = xml.etree.ElementTree.fromstring(text)
  File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: undefined entity: line 1, column 1079

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/william/.local/bin/odmpy", line 8, in <module>
    sys.exit(main())
  File "/home/william/.local/lib/python3.8/site-packages/odmpy/__main__.py", line 26, in main
    run()
  File "/home/william/.local/lib/python3.8/site-packages/odmpy/odm.py", line 201, in run
    metadata = xml.etree.ElementTree.fromstring(patched_text)
  File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: undefined entity: line 1, column 5460
FAIL

from odmpy.

ping avatar ping commented on June 11, 2024

@wtanksleyjr Sorry about that, fixed in 0.4.6.

from odmpy.

ping avatar ping commented on June 11, 2024

Closing this since there hasn't been new reports about this in a while.

from odmpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.