Comments (8)
It's the é
. Pushed out a quick fix with version 0.4.4.
from odmpy.
https://gist.github.com/wtanksleyjr/f9139dd6f9426cf84f352cc6e8be021f
from odmpy.
Thank you, confirmed!
from odmpy.
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.
Fixed in 0.4.5.
from odmpy.
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.
@wtanksleyjr Sorry about that, fixed in 0.4.6.
from odmpy.
Closing this since there hasn't been new reports about this in a while.
from odmpy.
Related Issues (20)
- Intermittenly, odmpy libby has time data value error HOT 2
- odmpy libby download issue HOT 2
- odmpy crashes when downloading audiobooks on 0.8.1 HOT 2
- How can i use it? I do not know python. HOT 2
- Long chapters are split into too-small chapters with duplicate names HOT 2
- Invalid date string HOT 4
- The --selectid option gets only the last ID in the list HOT 8
- [Feature] Multiple Subfolders
- 403 error upon using odmlibby HOT 11
- Breaking Changes HOT 1
- 403 Client Error HOT 4
- Error 1002 Hash Mismatch - HTTP Error while downloading license.
- Unable to access Libby through odmpy due to Traceback error HOT 1
- Magazines not downloading -- Error below HOT 1
- Program 'failed to create process'
- 403 Forbidden Error HOT 28
- audio books not downloading HOT 23
- OSError: [Errno 36] File name too long HOT 1
- ODM File Request Fails HOT 1
- odmpy libby --latest 1 consistently fails for the past few days HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odmpy.