Last modified: 2014-09-10 11:59:20 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 T71278, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69278 - replace.py hangs
replace.py hangs
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
PC Linux
: Unprioritized major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-08 02:48 UTC by bep
Modified: 2014-09-10 11:59 UTC (History)
3 users (show)

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


Attachments

Description bep 2014-08-08 02:48:58 UTC
Running replace.py with a db-dump from nnwiki now just hangs.

If I hit ctrl-c it seems to gather some pages and handle them OK, but I do not seem to get it to complete the whole XML file.

I reverted to the commit below - and then everything works fine.

0ce8b7eb99f24c9481bbef4bd41196ba0d319e44d

The above is my commit - just wanted to make sure that I didn't introduce this. So it might be fruitful to look at changes coming in after this one.
Comment 1 bep 2014-08-08 03:28:52 UTC
I run with "-xml:nndump.xml -namespace:0 -fix:myreplacements"
Comment 2 bep 2014-08-08 07:43:06 UTC
Additional notes:

- Not able to reproduce this with small data sets
- With a full dump from nnwiki (still a small wiki) it seem to process veeeeeery slowly 

See https://nn.wikipedia.org/wiki/Brukar:BepBot/user-fixes.py and the fix "nyno2" that I have tested with.
Comment 3 Gerrit Notification Bot 2014-08-08 13:08:31 UTC
Change 152843 had a related patch set uploaded by John Vandenberg:
Namespaces initialisation bug

https://gerrit.wikimedia.org/r/152843
Comment 4 Gerrit Notification Bot 2014-08-08 13:33:55 UTC
Change 152843 merged by jenkins-bot:
Namespaces initialisation bug

https://gerrit.wikimedia.org/r/152843
Comment 5 Mpaa 2014-08-30 14:32:00 UTC
Can this be closed now?
Comment 6 John Mark Vandenberg 2014-09-10 11:59:20 UTC
Yes, it worked correctly after this was merged.

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


Navigation
Links