For my purposes, I just want the document text and don't care that a decoder can't be built. The class works fine otherwise and I can pull out the text just like I want but the warnings are very annoying.
I took a shot at supplying a logging level via environment variable with a default in my a branch of my fork that seems to help but it's not ready for a pull request yet:
It uses logging.getLevelNamesMapping() which is new to Python 3.11 and that's probably not a good requirement to introduce. Shall I rework this to do the same job another way?
I might like to put the same code anywhere logging.getLogger() is used
I'm not sure how to handle the owner in setup.py, et al. Is that something the owner does?
I have a use case where I was using pdfreader 0.1.12 and was seeing many warnings like the following:
For my purposes, I just want the document text and don't care that a decoder can't be built. The class works fine otherwise and I can pull out the text just like I want but the warnings are very annoying.
I took a shot at supplying a logging level via environment variable with a default in my a branch of my fork that seems to help but it's not ready for a pull request yet:
logging.getLevelNamesMapping()
which is new to Python 3.11 and that's probably not a good requirement to introduce. Shall I rework this to do the same job another way?logging.getLogger()
is usedsetup.py
, et al. Is that something the owner does?I invite feedback on any of the issues.