Page MenuHomePhabricator

interwiki does not resume with -continue
Open, LowPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1130/
Reported by: masti01
Created on: 2010-02-27 23:26:13
Subject: interwiki does not resume with -continue
Assigned to: xqt
Original description:
While running interwiki.py when an interwiki dump file does not exists the script properly saves it and you can use -continue option to restart. When it exists it will not be saved and the bot restarts using old interwiki dump so when the previous run has started.

$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7972, 2010/02/27, 10:13:26\)
Python 2.6.2 \(r262:71600, Aug 21 2009, 12:22:21\)
\[GCC 4.4.1 20090818 \(Red Hat 4.4.1-6\)\]


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1130

Details

Reference
bz55287

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz55287.
bzimport added a subscriber: Unknown Object (????).
Legoktm created this task.Oct 5 2013, 4:57 AM

When a dumpfile still exists the dumpf will be saved to the existing one and the bot takes the alphabetical last pages to -continue. This could cause to continue like a previous run after processing all pages above.

  • assigned_to: nobody --> xqt

No, it starts from the first line of dump, which was processed long time ago. In my example when a bot was editing pages beginnig with "R" and dump file entries where from J to R, with -continue it started from J.

Xqt added a comment.Oct 14 2013, 1:33 PM

If the dump file contains entries with J they will be fetched first. Continuing is/should be done with the last entry of the file. Should be confirmed.

Xqt triaged this task as Low priority.Apr 18 2016, 8:16 AM
Restricted Application added a subscriber: Cyberpower678. · View Herald TranscriptMar 23 2019, 10:17 PM