intermittent? 404 on https://api.launchpad.net/1.0/debian/experimental

Bug #921429 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Distributed Development
Confirmed
High
Unassigned

Bug Description

The udd importer failed like this

No such distribution series: 'https://api.launchpad.net/1.0/debian/experimental'.
Traceback (most recent call last):
 File "/srv/package-import.canonical.com/new/scripts/bin/list-packages", line 9, in <module>
   main()
 File "/srv/package-import.canonical.com/new/scripts/udd/scripts/list_packages.py", line 41, in main
   for publication in publications:
 File "/srv/package-import.canonical.com/new/scripts/udd/icommon.py", line 346, in iter_publications
   distribution, status=status, since=since, series=series)
 File "/srv/package-import.canonical.com/new/scripts/udd/icommon.py", line 369, in iter_published_sources
   series = distribution.getSeries(name_or_version=series)
 File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 527, in __call__
   url, in_representation, http_method, extra_headers=extra_headers)
 File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 306, in _request
   raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 404: Not Found
Response headers:
---
content-length: 81
content-type: text/plain
date: Wed, 25 Jan 2012 07:17:06 GMT
server: zope.server.http (HTTP)
status: 404
vary: Accept,Accept-Encoding
via: 1.1 api.launchpad.net
x-lazr-notifications: []
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
No such distribution series: 'https://api.launchpad.net/1.0/debian/experimental'.

I don't understand how that could have not existed just for a moment. It apparently has in the past and it apparently does exist now?

Related branches

Revision history for this message
William Grant (wgrant) wrote :

You're calling distribution.getSeries with an existing distro_series object, when it wants a name or version.

Changed in launchpad:
status: New → Invalid
Revision history for this message
Martin Pool (mbp) wrote :

Thanks, that's correct, but that means this is a bug in udd, not invalid.

affects: launchpad → udd
Changed in udd:
importance: Undecided → High
status: Invalid → Confirmed
Martin Pool (mbp)
Changed in udd:
assignee: nobody → Martin Pool (mbp)
Martin Pool (mbp)
Changed in udd:
assignee: Martin Pool (mbp) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.