Open tathastu871 opened 2 years ago
Hello there, seems like issue with the epub. Some epubs was just not structured according standard... Maybe you can try other epub file for the same book title? Or opening the epub with epr fork: https://github.com/wustho/epy it will give detailed error if book is not well structured.
with epy it opens properly
another epub opened properly with epr but some epub doesn't but same epub opened properly with epy
Ah thanks for detailed traceback will check it out...
Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/epr", line 8, in sys.exit(main())
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/epr.py", line 1253, in main
curses.wrapper(preread, file)
File "/data/data/com.termux/files/usr/lib/python3.10/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/epr.py", line 1143, in preread
epub.initialize()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/epr.py", line 198, in initialize
name = j.find("DAISY:navLabel/DAISY:text", self.NS).text
AttributeError: 'NoneType' object has no attribute 'text'