invalid literal for int() with base 10: 'Palace.cfg'