Angus Gratton
Angus Gratton
> I've done that. I don't know how much further I'll get with this to be honest - like most people, I imagine, I'm using it for a one-shot migration...
I think the character it's failing on is ő, found somewhere in a page name. Python 2 & Unicode are a bit weird, the \u escape actually takes hex digits...
If it still doesn't work, can you please tell me what version of python you're using? `python -V` will output it.
Hmm, actually I think I've translated the bug - before it was failing on UTF-16, now it's converting to UTF-8 and then failing on that. What Python version are you...
Oops, I said "Hopefully fixes" in the commit and it auto-closed the issue! Can you try that? I think I have it figured out now, I managed to reproduce the...
Sorry for the delay in looking at this. > Do you think that changing the locale for the time of the conversion would help? Yes, if you set your locale...
Hi @mrlsk, My guess is you have a different version of simplemediawiki than the one yamdwe was developed with (1.2.0b1 is what's given in the README instructions). Can you post...
This seems like it should work. The Mediawiki API is returning some results (as shown by the version query and the "list of pages..." not returning errors. Maybe there is...
@colinsauze Thanks for following up. The docs do say to use /api.php (and in the original issue post from @malfonsi you'll see that /api.php was in the URL, so it's...
@malfonsi I just added a `--verbose` option, that will print the exact invalid content if non-JSON content is returned. Can you rerun with this option and see what you see?...