Page MenuHomePhabricator

cosmetic_changes hangs or forms an infinite loop
Closed, ResolvedPublic

Description

When trying to move categories on cs.wiki with

Pywikibot: [https] r-pywikibot-core.git (0222b40, g5955, 2015/07/10, 23:49:18, ok)
Release version: 2.0b3

I get stuck at "Retrieving 50 pages from wikipedia:cs." I dont get any error messages even with -verbose parameter given. The command just does not procede and I have no idea why.

Event Timeline

Wesalius raised the priority of this task from to Needs Triage.
Wesalius updated the task description. (Show Details)
Wesalius subscribed.
python pwb.py category.py move -v
Please enter the old name of the category: Fotbalisté Helsingborgu
Please enter the new name of the category: Fotbalisté Helsingborg IF

This might be caused by cosmetic_changes. Try again with cosmetic_changes deactivated i.e.

python pwb.py category.py move -cc
Xqt renamed this task from Stuck at retrieving pages to cosmetic_changes hangs or forms an infinite loop.Jul 12 2015, 6:28 AM
Xqt removed a project: Pywikibot-category.py.
Xqt set Security to None.
Xqt triaged this task as Low priority.Jul 12 2015, 6:31 AM

It fails in cc.removeUselessSpaces()

True, cosmetic changes were causing it.

Change 224301 had a related patch set uploaded (by Xqt):
Deactivate removeUselessSpaces due to several bugs

https://gerrit.wikimedia.org/r/224301

Change 224301 abandoned by Xqt:
Deactivate removeUselessSpaces due to several bugs

https://gerrit.wikimedia.org/r/224301

jayvdb claimed this task.
jayvdb subscribed.

Fixed as part of T105621.