Help with this error please

So I did everything from adding my username in the .ini text and adding the current song and requestee but when I run the currentsong.exe I get Object has no attribute ‘encode’ Interesting…retrying in 30 seconds…

and when 30 seconds is up it says the exact same thing

This happens when nothing has been playing. You need to start playing a song in the AutoDJ player for it to be able to parse the server response.