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