https://bugzilla.wikimedia.org/show_bug.cgi?id=69134

--- Comment #1 from John Mark Vandenberg <[email protected]> ---
A slightly different problem, which will likely be fixed at the same
time..delete tries to delete a deleted page.

With sysop account:

$ python pwb.py delete -page:'Test page'
Enter a reason for the deletion: It already is deleted
Processing page Test page
Do you want to delete [[en:Test page]]? ([Y]es, [N]o, [A]ll) Y
Logging in to wikipedia:en as John Vandenberg
Sleeping for 6.1 seconds, 2014-08-05 09:04:49
Traceback (most recent call last):
  File "pwb.py", line 166, in <module>
    run_python_file(fn, argv, argvu)
  File "pwb.py", line 67, in run_python_file
    exec(compile(source, filename, "exec"), main_mod.__dict__)
  File "scripts/delete.py", line 140, in <module>
    main()
  File "scripts/delete.py", line 133, in main
    bot.run()
  File "scripts/delete.py", line 75, in run
    page.delete(self.summary, not self.getOption('always'))
  File ".../pywikibot/__init__.py", line 476, in wrapper
    return method(*__args, **__kw)
  File ".../pywikibot/page.py", line 1457, in delete
    return self.site.deletepage(self, reason)
  File ".../pywikibot/site.py", line 575, in callee
    return fn(self, *args, **kwargs)
  File ".../pywikibot/site.py", line 3176, in deletepage
    req.submit()
  File ".../pywikibot/data/api.py", line 418, in submit
    raise APIError(code, info, **result["error"])
pywikibot.data.api.APIError: missingtitle: The page you requested doesn't exist
<class 'pywikibot.data.api.APIError'>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to