Closed padmalcom closed 4 years ago
You should use get_logger
indeed. The log cannot be None.
I did not modify espeak.py in any way. get_logger is used in the init method (line 52) but it seems to return None. Since I'm using phonemizer in https://github.com/as-ideas/TransformerTTS it could be the case that it is initialized with a None logger... I'll check that.
I could bet it to work by replacing all logger.warning calls by print. Neither beautiful, nor a real solution but it works.
Hi, it seems that logger can be None in espeak.py. I get the following error:
The method get_logger appears to handle the initialization of a logger or do I have to initialize it manually?