Open hosiet opened 3 years ago
This is also giving an error when installing on Debian testing.
Besides the 4-5 old-style prints, there seem to be python2 exception handling issues in that file, too.
Many thanks for raising this - will update the print statements to print(abc) My intention was to port the function to vala and do away with python altogether, but just not getting the time to work on Bookworm. Maybe making the script python3 compatible will be a stopgap option
It you need help, I can send you a PR for changes that will make it Debian testing installable (I'm not familiar with the codebase to go beyond that).
Bookworm only requires the mobi unpack script and this commit already makes that python3 compatible. https://github.com/babluboy/bookworm/issues/307
Are these print issues being picked up during installation as these python script are only called during runtime. Hopefully it should not block the install and use of bookworm
Searching "print" in
data/scripts/mobi_lib/mobiml2xhtml.py
, it seems that there are still someprint "abc"
statements in the script. I saw some python3 porting work previously but obviously the port was not complete. Since python2 has been end-of-life for nearly a year, the py3 compatibility problem may should be prioritized.