AttributeError: 'list' object has no attribute 'values'
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start in bugbot/user_activity.py at is_active_on_phab around line 329, then follow the call from get_phab_users_with_status shown in the traceback. Inspect the Sentry event to determine the feed response shape and verify that the inactive_reviewer path no longer raises AttributeError when processing it.
Written by the indexing model from the issue text.
Description
Sentry Issue: BUGBOT-Z6
AttributeError: 'list' object has no attribute 'values'
(2 additional frame(s) were not displayed)
...
File "bugbot/bzcleaner.py", line 712, in get_email_data
bugs = self.get_bugs(date=date)
File "inactive_reviewer.py", line 53, in get_bugs
revisions = self._get_revisions_with_inactive_reviewers(list(rev_ids))
File "inactive_reviewer.py", line 170, in _get_revisions_with_inactive_reviewers
users = self.user_activity.get_phab_users_with_status(
File "bugbot/user_activity.py", line 300, in get_phab_users_with_status
) and self.is_active_on_phab(phab_user["phid"]):
File "bugbot/user_activity.py", line 329, in is_active_on_phab
for story in feed.values():
Rule inactive_reviewer
- Dominant language
- Python
- Stars
- 68
- Forks
- 92
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 16
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/bugbot
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100