cache entries get corrupted and lead to hard to diagnose failures
Bug #799271 reported by
Soren Hansen
This bug report is a duplicate of:
Bug #714621: WADL cache durations fit poorly with daily iteration of API.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
High
|
Unassigned |
Bug Description
As an example, the landing_
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
status: | Invalid → Triaged |
affects: | launchpad → launchpadlib |
summary: |
- branch_merge_proposal_collection entries are incomplete + cache entries get corrupted and lead to hard to diagnose failures |
To post a comment you must log in.
Hm... At least that's what I see when it's been processed through launchpadlib..
>>> lp.branches. getByUniqueName (unique_ name='~ ttx/nova/ lp791627' ).landing_ targets[ 0].web_ link python2. 7/dist- packages/ lazr/restfulcli ent/resource. py", line 673, in __getattr__ _getattr_ _(name) python2. 7/dist- packages/ lazr/restfulcli ent/resource. py", line 319, in __getattr__ _class_ _.__name_ _, attr))
File "<console>", line 1, in <module>
File "/usr/lib/
return super(Entry, self)._
File "/usr/lib/
% (self._
AttributeError: 'Entry' object has no attribute 'web_link'
However, if accessing https:/ /api.launchpad. net/1.0/ ~ttx/nova/ lp791627 with curl, I do see landing_ targets_ collection_ link pointing to https:/ /api.launchpad. net/1.0/ ~ttx/nova/ lp791627/ landing_ targets, which in turn contains an element with the web_link key. I could have sworn I saw it return an element without this key a bit earlier, though. :-/