https://bugzilla.wikimedia.org/show_bug.cgi?id=57070
Web browser: --- Bug ID: 57070 Summary: Syntax error in Weclome.py (possibly others) Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: sigilbaram@gmail.com Classification: Unclassified Mobile Platform: ---
I downloaded the current nightly build (2013/11/13) and tried running Welcome.py and there was a syntax error on line 590. I removed the newline between 589 and 590 since it looked out of place (my python experience is limited). The script ran, but on page creation recieced a "No JSON object could be decoded" error. Pageformfile.py successfully created the page so I would guess the error is likely in welcome.py itself (possibly that my fix for the syntax error was wrong).
I just went to run the script again for an exact error message and the page created this time. It failed several times before this last attempt... strange.
Anyway, the syntax error is still applicable, if nothing else.
PS E:\compat> python -V Python 2.7.6
PS E:\compat> python version.py WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows 'git' is not recognized as an internal or external command, operable program or batch file. Pywikibot: wikipedia.py (r-1 (unknown), 3179f1c, 2013/11/13, 15:01:08, OUTDATED) Release version: 1.0b1 Python: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok