Open mar2194 opened 2 years ago
File "/usr/local/lib/python3.9/logging/__init__.py", line 430, in _format return self._fmt % record.__dict__ TypeError: %d format: a number is required, not NoneType"
This seems to be occurring in the logging library itself, I think it is a particular usecase problem.
I get this error when using pywebcopy inside of a Docker container:
I tried suppressing logging from this module using:
But the issue persists. Unfortunately the logging traceback doesn't tell me what line in pywebcopy is causing the problem (this is a general problem with the logging module). Anyways, it would appear that somewhere in the code there is a debug statement using a variable that doesn't exist:
logging.debug('Some error message %d', non_existent_variable)