requestsync crashed with IndexError in rmadison()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: ubuntu-dev-tools
requesync crashed right after I executed the command. (Apport should attach that)
I guess it didn't like -d being "sid"? Anyways, it shouldn't crash if I give it a bad distro.
ProblemType: Crash
Architecture: i386
Date: Sun Jan 17 10:50:18 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
Package: ubuntu-dev-tools 0.91
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: ubuntu-dev-tools
Tags: lucid
Title: requestsync crashed with IndexError in rmadison()
Uname: Linux 2.6.32-
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
Yes, you are right. rmadison (the tool) doesn't like sid for suite: bin/dak" , line 238, in <module> bin/dak" , line 218, in main debian. org/dak/ dak/ls. py", line 106, in main parse_args( Options) debian. org/dak/ dak/daklib/ utils.py" , line 979, in parse_args
$ rmadison -u debian -a source -s sid skanlite
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
module.main()
File "/srv/ftp.
utils.
File "/srv/ftp.
if suite.suite_id is None:
AttributeError: 'NoneType' object has no attribute 'suite_id'
The return code is still 0 (else it would trigger an assertation error).
The "fix" is to map "sid" back to "unstable".