jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-Other-scripts.
TASK DESCRIPTION
patrol.py only accepts the English canonical name 'special:prefixindex' in its whitelist format.
TASK DETAIL
https://phabricator.wikimedia.org/T86461
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs
Rubin16 created this task.
Rubin16 added a subscriber: Rubin16.
Rubin16 added a project: pywikibot-core.
TASK DESCRIPTION
When I run commonscat.py on Ru.WP it crashes quickly.
tools.rubinbot2@tools-login:~/core$ python pwb.py commonscat.py -start:Category:!
WARNING: CommonscatBot.__init__ set the Bot.site property; this is only needed when the Bot accesses many sites.
Retrieving 50 pages from wikipedia:ru.
>>> Категория:1004 год до н. э. <<<
>>> Категория:1000 год до н. э. <<<
Commons category does not exist. Examining deletion log...
Traceback (most recent call last):
File "pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 81, in run_python_file
main_mod.__dict__)
File "./scripts/commonscat.py", line 569, in <module>
main()
File "./scripts/commonscat.py", line 563, in main
bot.run()
File "/data/project/rubinbot2/core/pywikibot/bot.py", line 1115, in run
self.treat(page)
File "./scripts/commonscat.py", line 270, in treat
self.addCommonscat(page)
File "./scripts/commonscat.py", line 347, in addCommonscat
commonscatLink = self.findCommonscatLink(page)
File "./scripts/commonscat.py", line 418, in findCommonscatLink
checkedCommonscat = self.checkCommonscatLink(possibleCommonscat)
File "./scripts/commonscat.py", line 476, in checkCommonscatLink
logitem = next(logpages)
TypeError: LogEntryListGenerator object is not an iterator
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
tools.rubinbot2@tools-login:~/core$
TASK DETAIL
https://phabricator.wikimedia.org/T86433
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rubin16
Cc: Aklapper, Rubin16, jayvdb, pywikipedia-bugs
XZise added a comment.
Okay… Well for me it still works (just get a warning that those tokens don't exist). But I guess you already answered yourself, maybe you should make clearer that the second line is basically a new comment ;)
TASK DETAIL
https://phabricator.wikimedia.org/T72965
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: pywikipedia-bugs, XZise, jayvdb, Nemo_bis
Nemo_bis added a subscriber: Nemo_bis.
Nemo_bis added a comment.
This is probably the reason my bot isn't managing to save a single edit to translatewiki.net. I'm using latest pwb master.
TASK DETAIL
https://phabricator.wikimedia.org/T72965
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Nemo_bis
Cc: pywikipedia-bugs, XZise, jayvdb, Nemo_bis
jayvdb added a subscriber: Earwig.
jayvdb added a comment.
In https://phabricator.wikimedia.org/T68010#960159, @jayvdb wrote:
> pypi has the following binary packages in addition to the 0.3.3 source tarball.
> mwparserfromhell-0.3.3-cp26-none-win32.whl
> mwparserfromhell-0.3.3-cp27-none-win32.whl
> mwparserfromhell-0.3.3-cp32-none-win32.whl
>
> As we now support py3, we also need binary packages for cp33 and cp34 (I believe one binary package for all py3+ should be possible, but I've only had a cursory glance at tokenizer.c and the outstanding issues), or its setup.py could be fixed so that it doesnt compile unless the compiler is present, so that it falls back to the pure python version (this is https://github.com/earwig/mwparserfromhell/issues/26 ; it is closed, but I'll work on a patch for this).
A quick hack...
https://github.com/jayvdb/mwparserfromhell/commit/c0e9c7c68ce25db935e84a3e0…
Only tested on py2.6 on Linux without Python.h , so needs more testing before a pull request.
TASK DETAIL
https://phabricator.wikimedia.org/T68010
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, liangent, jayvdb, Xqt, Ricordisamoa, Earwig