Please help with "OSError:[errno-9997] invalid sample rate"

Please see this thread;

where a possible workaround is provided.