Xqt created this task. Xqt added a subscriber: Xqt. Xqt added a project: Pywikibot-solve-disambiguation.py. Xqt changed Security from none to none.
TASK DESCRIPTION running that script with -always option over hundreds of pages putting page changes asynchronously leads to infinity loop or the script hangs consuming all resource of on CPU (25% of a 4 core machine) and couldn't be stopped via Ctrl-C.
TASK DETAIL https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: Aklapper, Xqt, pywikipedia-bugs
Xqt added a comment.
c:\Pywikipedia\ssh\pywikibot\core>pwb.py version Pywikibot: [ssh] pywikibot-core (117134a, g4806, 2014/12/20, 15:04:24, OUTDATED)
Release version: 2.0b3 httplib2 version: 0.9
cacerts: C:\Pywikipedia\ssh\pywikibot\core\externals\httplib2\python2\httplib2
\cacerts.txt
certificate test: ok
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
PYWIKIBOT2_DIR: Not set PYWIKIBOT2_DIR_PWB: C:\Pywikipedia\ssh\pywikibot\core PYWIKIBOT2_NO_USER_CONFIG: Not set Config base dir: c:\Pywikipedia\ssh\pywikibot\core
TASK DETAIL https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: Aklapper, Xqt, pywikipedia-bugs
Xqt added a comment.
This was not due to solve_disambiguation script. Investigating in that matter, the ^C was not recognized if the async buffer exceeds max_queue_size. This happened because no page was putted to live wiki. I found another hint to the api cache while restarting the script: Could not load cache: TypeError("'int' object is not iterable)
Very strange but clearing the api_cache folder solves the problem. Maybe pywikibot.async_manager returns None?
TASK DETAIL https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: Xqt, Aklapper, pywikipedia-bugs
Xqt added a comment.
Another idea: Maybe it had sth to do with cache implementation of https://gerrit.wikimedia.org/r/#/c/131017/ which was fetched on my repository as I started this script.
TASK DETAIL https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: Xqt, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org