Open poetaman opened 2 years ago
Hello there, current version of epy only supported for python 3.7 or above which support italic in curses and stuff... So really sorry for this, unless you upgrade to latest python, you might need to use older version of epy:
pip install epr-reader==2021.8.14
@wustho I am using python 3.9.8
. I checked that on my system python pointed to version 2.something
, so aliased python to python3, but I still get the same error.
Perhaps somewhere in epy-reader, you might want to refer to python3 directly?? I mean change any reference of python to python3?
Update: I opened epy file, it looks like following, so not sure why the error about A_ITALIC.
#!/opt/homebrew/opt/python@3.9/bin/python3.9
# -*- coding: utf-8 -*-
import re
import sys
from epy import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
@reportaman this is weird... I just read your traceback more thoroughly, and it is indeed using correct python version... So as you guessed, the issue is within the epy, it should handle unavailable italic... I will fix it soon... Thanks for detailed traceback btw.
@reportaman Hey there just fixed this in v2021.12.18
, you can upgrade it via pip
. And let me know if the issue still persists... Thanks
When I open a epub or mobi, I get the following error. I have not updated epy in my other machine, this does not happen there. Am using the current version of pip3 while reporting this on my current machine.