Skip to content
Advertisement

Unknown python DEBUG statements appear

I recently imported some new python modules:

JavaScript

Some unexpected output now appears on my terminal:

JavaScript

Does anyone recognize what library / function might be generating these messages? If so how can they be suppressed if they are unimportant?


Additional information

Here’s the code that was added but, I don’t think it’s causing the DEBUG lines:

JavaScript

The program output is excpeted and proceeds the DEBUG lines:

JavaScript

There’s about 10K of python code lines I’ve written but I’m fairly certain the debug lines are coming from ALSA in python or something similar. I could provide a list of all modules imported but I’m hoping someone already recognizes the DEBUG lines and which module they are from.

Advertisement

Answer

Turns out it’s a glitch in tkinter’s pillow (PIL).

The solution is a simple one-liner after the import:

JavaScript
Advertisement