Last modified: 2013-10-14 13:33:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55287 - interwiki does not resume with -continue
interwiki does not resume with -continue
Status: UNCONFIRMED
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:57 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-14 13:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:57:30 UTC
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\)\]
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:57:32 UTC
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.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:57:34 UTC
- **assigned_to**: nobody --> xqt
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:57:36 UTC
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.
Comment 4 xqt 2013-10-14 13:33:51 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links