Page MenuHomePhabricator

wikibugs.wb2-phab: Could not retrieve anchor
Open, MediumPublic

Description

The wikibugs.wb2-phab process of wikibugs is logging pretty regularly the following error:

2020-01-08 18:43:00,576 - wikibugs.wb2-phab - ERROR - Could not retrieve anchor for OrderedDict([('PHID-XACT-TASK-###REDACTED###', 'PHID-XACT-TASK-###REDACTED###')])
Traceback (most recent call last):
  File "/data/project/wikibugs/wikibugs2/wikibugs.py", line 223, in process_event
    task_page, event_info['data']['transactionPHIDs']
  File "/data/project/wikibugs/wikibugs2/wikibugs.py", line 185, in get_lowest_anchor_for_task_and_XACTs
    anchor_dict = self.get_anchors_for_task(task_page)
  File "/data/project/wikibugs/wikibugs2/wikibugs.py", line 170, in get_anchors_for_task
    )[1].split(
IndexError: list index out of range

The Phabricator IDs change but it seems they are always just 2.

Event Timeline

Volans triaged this task as Medium priority.Jan 8 2020, 6:48 PM
Volans created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 8 2020, 6:48 PM