An "unexpected error" is a KoLmafia problem, not a script problem. When you get a debug log, you should follow the instructions at the top, where it tells you where to send it.I tried version 7947 of mafia and slime.ash version 2.2.7 and it gave me the message "unexpected error debug log printed"
Do you need a copy of the log? I am running Windows Vista and firefox as my browser.
Tried version 13.8 still getting the same error
Assuming you want somebody to look at at and think about solving your problem...