jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-Other-scripts. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION In core only: ``` $ python pwb.py clean_sandbox -family:wikipedia -lang:en -user 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/clean_sandbox.py", line 339, in <module> main() File "./scripts/clean_sandbox.py", line 335, in main bot = SandboxBot(**opts) File "./scripts/clean_sandbox.py", line 184, in __init__ localSandbox = pywikibot.Page(self.site, localSandboxTitle) File "pywikibot/tools.py", line 711, in wrapper return obj(*__args, **__kw) File "pywikibot/tools.py", line 711, in wrapper return obj(*__args, **__kw) File "pywikibot/page.py", line 1853, in __init__ raise ValueError(u'Title must be specified and not empty ' ValueError: Title must be specified and not empty if source is a Site. <type 'exceptions.ValueError'> ```
TASK DETAIL https://phabricator.wikimedia.org/T87634
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, jayvdb, Aklapper
Ladsgroup changed the title from "clean_sandbox -user fails except on de.wp" to "clean_sandbox -user fails except on en.wp". Ladsgroup set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: pywikipedia-bugs, jayvdb, Aklapper
Ladsgroup added a subscriber: Ladsgroup. Ladsgroup added a comment.
It happens because no page is defined for English Wikipedia in user_sandboxTemplate variable. (it only contains de.wp)
It would be good if we have a nice error message and then crashing like this.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
jayvdb changed the title from "clean_sandbox -user fails except on en.wp" to "clean_sandbox -user fails except on de.wp".
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
gerritbot added a subscriber: gerritbot. gerritbot added a comment.
Change 210174 had a related patch set uploaded (by Ladsgroup): Use pagegenerators for clean_sandbox.py
https://gerrit.wikimedia.org/r/210174
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
gerritbot added a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
gerritbot added a comment.
Change 210174 merged by Ladsgroup: Use pagegenerators for clean_sandbox.py
https://gerrit.wikimedia.org/r/210174
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
Ladsgroup closed this task as "Resolved". Ladsgroup removed a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
Ladsgroup claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
Ladsgroup reopened this task as "Open". Ladsgroup added a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
Ladsgroup closed this task as "Resolved". Ladsgroup removed a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T87634
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup Cc: gerritbot, Ladsgroup, jayvdb, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org