Hi bengal17,
This is because unfortunately Kraken doesn't provide the API to short sell programmatically for the moment. I really hope they will do it soon. Meanwhile, please change KrakenCanShort back to false. I will hardcode this value to avoid any confusion.
Thanks