GitHub bug watches fail due to "id" vs. "number" confusion
Bug #1824728 reported by
ԜаӀtеr Ⅼарсһуnѕkі
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
This bug on Calamares:
https:/
includes a link to the upstream bug:
https:/
which Launchpad is having problems importing with an unknown error:
Unknown error (Launchpad couldn't import bug)
However, the same bug tracker has no problems elsewhere:
https:/
https:/
Related branches
lp:~cjwatson/launchpad/github-use-issue-number
- Tom Wardill (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 149 lines (+27/-23)2 files modifiedlib/lp/bugs/externalbugtracker/github.py (+4/-4)
lib/lp/bugs/externalbugtracker/tests/test_github.py (+23/-19)
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
summary: |
- Unknown error (Launchpad couldn't import bug + GitHub bug watches fail due to "id" vs. "number" confusion |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
To post a comment you must log in.
This is e.g. OOPS-c8dd0400fd03ea651091bdf639a870f7, which looks like some kind of logic error in the GitHub import logic:
Traceback (most recent call last): scripts. checkwatches. remotebugupdate r, line 140, in updateRemoteBug remote_ bug)) externalbugtrac ker.github, line 198, in getRemoteStatus int(bug_ id)]
Module lp.bugs.
self.
Module lp.bugs.
remote_bug = self.bugs[
KeyError: 712