JAnD created this task. JAnD added a subscriber: JAnD. JAnD added projects: Pywikibot-category.py, pywikibot-core.
TASK DESCRIPTION I wanted to move some categories to another subcategory. 1) bot crashes 2) bot ignores namespace parameter
```
I:\py\rewrite>pwb.py category tidy -namespace:14
Which category do you want to tidy up? mosty Retrieving 21 pages from wikipedia:cs.
===================================================================
Treating page Most, currently in Kategorie:Mosty
{{Různé významy|tento=druhu stavby}} {{Neověřeno}} [[Soubor:Akashi-kaikyo bridge3.jpg|thumb|300px|[[Most Akaši-Kaikjó]] v [[Japonsk o|Japonsku]], [[Seznam nejdelších visutých mostů|nejdelší visutý most na světě]] ]] '''Most''' je dopravní [[stavba]], která převádí pěší, silniční nebo železniční cestu případně vodní tok, přes překážku, kterou může být například vodní plocha ([[řeka]], [[potok]], [[moře]], [[jezero]]), terénní nerovnost ([[údolí (geomorf ologie)|údolí]], rokle, strž) nebo jiná komunikace.
Traceback (most recent call last): File "I:\py\rewrite\pwb.py", line 222, in <module> run_python_file(filename, argv, argvu, file_package) File "I:\py\rewrite\pwb.py", line 81, in run_python_file main_mod.__dict__) File ".\scripts\category.py", line 1231, in <module> main() File ".\scripts\category.py", line 1220, in main bot.run() File ".\scripts\category.py", line 936, in run self.move_to_category(article, cat, cat) File ".\scripts\category.py", line 850, in move_to_category subcatlist = list(self.catDB.getSubcats(current_cat)) File ".\scripts\category.py", line 194, in getSubcats self._load() File ".\scripts\category.py", line 167, in _load if not self.is_loaded(): TypeError: 'bool' object is not callable <type 'exceptions.TypeError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
I:\py\rewrite> ```
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: JAnD Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs
gerritbot added a project: Patch-For-Review. gerritbot added a comment.
Change 183981 had a related patch set uploaded (by Mpaa): category.py: fix property is_loaded()
https://gerrit.wikimedia.org/r/183981
https://phabricator.wikimedia.org/tag/patch-for-review/
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: gerritbot Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs
Mpaa added a subscriber: Mpaa. Mpaa added a comment.
Off topic ...
class CategoryTidyRobot:
"""Script to help by moving articles of the category into subcategories. ...
Important: * this bot is written to work with the MonoBook skin, so make sure your bot account uses this skin
How is the skin relevant?
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: Mpaa Cc: Aklapper, JAnD, Mpaa, jayvdb, pywikipedia-bugs
JAnD added a subscriber: gerritbot. JAnD added a comment.
In https://phabricator.wikimedia.org/T86351#966986, @gerritbot wrote:
Change 183981 had a related patch set uploaded (by Mpaa): category.py: fix property is_loaded()
Part 1) solved, but still ignoring -namespace
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: JAnD Cc: Aklapper, JAnD, Mpaa, gerritbot, jayvdb, pywikipedia-bugs
gerritbot added a comment.
Change 183981 merged by jenkins-bot: category.py: fix property is_loaded()
https://gerrit.wikimedia.org/r/183981
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: gerritbot Cc: Aklapper, JAnD, Mpaa, gerritbot, jayvdb, pywikipedia-bugs
Mpaa changed the title from "category.py problems" to "category.py crashes and does not support namespace parameter". Mpaa set Security to none.
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: Mpaa Cc: Aklapper, JAnD, Mpaa, gerritbot, jayvdb, pywikipedia-bugs
gerritbot added a comment.
Change 197056 had a related patch set uploaded (by XZise): [FIX] category: Apply namespace to tidy action
https://gerrit.wikimedia.org/r/197056
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: gerritbot Cc: JAnD, gerritbot, Aklapper, Mpaa, jayvdb, pywikipedia-bugs
gerritbot added a comment.
Change 197056 merged by jenkins-bot: [FEAT] category: Apply namespace to tidy action
https://gerrit.wikimedia.org/r/197056
TASK DETAIL https://phabricator.wikimedia.org/T86351
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: gerritbot Cc: JAnD, gerritbot, Aklapper, Mpaa, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org