Page MenuHomePhabricator

redirect.py hangs
Closed, ResolvedPublic

Description

redirect.py hangs after some time.

command line was:

C:\pwb\core>pwb.py redirect double -moves -total:850 -always -lang:de

There no further hints to this bug. CPU time consuming is 0%.

Event Timeline

Xqt raised the priority of this task from to High.
Xqt updated the task description. (Show Details)
Xqt subscribed.
Restricted Application added subscribers: Aklapper, Unknown Object (MLST). · View Herald TranscriptMar 2 2015, 8:47 AM

Works for me. I just ran this command and it worked perfectly fine.

I didn't see it again for the last 10 weeks

Xqt lowered the priority of this task from High to Medium.May 18 2015, 3:20 AM

It did it again, now for nl-wiki:

C:\pwb\core>pwb.py redirect double -moves -total:900 -always -lang:nl

Keyboard Interrupt (Crtl-C) does not work.

And again now for es-wiki. The two last might be introduced by https://gerrit.wikimedia.org/r/#/c/215603/

@Xqt are you using @XZise 's unmerged httplib2 patch?

@jayvdb I did it until today when the next "hang" occured. Now I have py2.7.10 and requests installed. Wait and see what happens.

Hm, I got the same problem with requests

According to my observation this problem has been increased a lot since requests became part of the framework. I'll investigate in this statistical correlation by going back to pwb 2.0 soon.

The occurence of this bug increased a lot with requests library and other scripts are affected too.

I filed a new bug in T102462 for requests which caused the new "quality" of this bug.

Change 218616 had a related patch set uploaded (by Xqt):
[bugfix] Timeout session.requests

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

Change 218616 merged by jenkins-bot:
[bugfix] Timeout session.requests

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

Xqt claimed this task.

I guess this is fixed with the patch given above