Page MenuHomePhabricator crashes in
Closed, InvalidPublic


Please, see traceback:

Traceback (most recent call last):
  File "core/", line 213, in <module>
    run_python_file(filename, argv, argvu, file_package)
  File "core/", line 82, in run_python_file
  File "core/scripts/", line 846, in <module>
  File "core/scripts/", line 843, in main
  File "core/scripts/", line 519, in run
    for page in self.generator:
  File "/data/project/rubinbot2/core/pywikibot/", line 1239, in RedirectFilterPageGenerator
    for page in generator or []:
  File "/data/project/rubinbot2/core/pywikibot/", line 1574, in PreloadingGenerator
    for page in generator:
  File "/data/project/rubinbot2/core/pywikibot/data/", line 2229, in __iter__ = self.request.submit()
  File "/data/project/rubinbot2/core/pywikibot/data/", line 1554, in submit
    headers=headers, body=body)
  File "/data/project/rubinbot2/core/pywikibot/tools/", line 930, in wrapper
    return obj(*__args, **__kw)
  File "/data/project/rubinbot2/core/pywikibot/comms/", line 261, in request
    r = fetch(baseuri, *args, **kwargs)
  File "/data/project/rubinbot2/core/pywikibot/comms/", line 358, in fetch
    request._join()  # wait for it
  File "/data/project/rubinbot2/core/pywikibot/comms/", line 375, in _join
  File "/usr/lib/python2.7/", line 323, in acquire
  File "/usr/lib/python2.7/", line 243, in wait
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort

Event Timeline

Rubin16 created this task.Apr 1 2015, 12:45 PM
Rubin16 raised the priority of this task from to Normal.
Rubin16 updated the task description. (Show Details)
Rubin16 added a project: Pywikibot.
Rubin16 added a subscriber: Rubin16.
Restricted Application added subscribers: Aklapper, Unknown Object (MLST). · View Herald TranscriptApr 1 2015, 12:45 PM
jayvdb updated the task description. (Show Details)Sep 3 2015, 1:41 AM
jayvdb set Security to None.
jayvdb added a project: Pywikibot-Scripts.
jayvdb added a subscriber: jayvdb.
jayvdb closed this task as Invalid.Sep 3 2015, 1:48 AM
jayvdb claimed this task.

I cant reproduce this now. Which generator were you using?

[jayvdb@localhost core]$ python reflinks -family:wikipedia -lang:ru '-start:!'
Retrieving 50 pages from wikipedia:ru.
No changes were needed on [[&RQ]]
No changes were needed on [[(10) Гигея]]
No changes were needed on [[!]]
No changes were needed on [[!Action Pact!]]
No changes were needed on [[(10054) Соломин]]
No changes were needed on [[!!!]]
No changes were needed on [[!T.O.O.H.!]]

I notice the exception is KeyboardInterrupt, which suggests that you pressed Ctrl-C.

Perhaps it was hanging rather than crashing?

Note that we have switched from httplib2 to requests, which may have helped overcome some network related issues.

Reopen if you can reproduce it.