Error downloading data: invalid literal for int() with base 10: '147, 147'



could you try running login.py with the -v flag? This will give some more debug output, among others about the exact api.php queries and their responses.

 Secondary to that, if you could give the url to the wiki (i.e. it's not a private or local wiki), that would help with debugging /a lot/.

Best,
Merlijn