dput crashes with incorrect arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dput (Ubuntu) |
Fix Released
|
Low
|
Cody A.W. Somerville |
Bug Description
Binary package hint: dput
dput crashes when you supply a host argument that does not appear in dput.cf. Instead of displaying a he;pful error message, it simply crashes with a traceback like:
Traceback (most recent call last):
File "/usr/bin/dput", line 930, in <module>
main()
File "/usr/bin/dput", line 706, in main
config.
File "/usr/lib/
raise NoSectionError(
ConfigParser.
It isn't much of a problem, it just might confuse new users if they have set up their config wrong. IMO, it should display a simple error message, such as "Specified host $x could not be found in dput config. Please check your spelling or ~/dput.cf".
Changed in dput: | |
importance: | Undecided → Wishlist |
What version of dput are you using? I think I've fixed this in Jaunty.