syncpackage depends on DEBFULLNAME being set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ubuntu-dev-tools
I ran `syncpackage -v` to see what would happen, with the following results:
$ syncpackage -v
Traceback (most recent call last):
File "/usr/bin/
default = os.environ[
File "/usr/lib/
raise KeyError(key)
KeyError: 'DEBFULLNAME'
To me it appears that it fails looking for the DEBFULLNAME environment variable. In the many years I've been working with Debian format packages, I believe I've never set this (I tend to use DEBEMAIL="name name <email@domain>" which works just fine). I suspect that firstly, syncpackage shouldn't rely on this being present (as none of the standard development tools require it), and secondly that if it's absent, it shouldn't crash (programs should never crash: if something doesn't work, tell the user *why* without making them interpret the traceback).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: ubuntu-dev-tools 0.104
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sat Oct 23 01:30:48 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
Related branches
- Benjamin Drung: Disapprove
-
Diff: 49 lines (+13/-1)2 files modifieddebian/changelog (+4/-0)
syncpackage (+9/-1)
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | Confirmed → Fix Committed |
To make this worse, it also crashes even when you set UPLOADER_NAME, which is supposed to override DEBFULLNAME anyways.
-n UPLOADER_NAME, --uploader- name=UPLOADER_ NAME
Use UPLOADER_NAME as the name of the maintainer for
this upload instead of evaluating DEBFULLNAME.
$ syncpackage --uploader-name "Andrew Starr-Bochicchio" deluge syncpackage" , line 409, in <module> "DEBFULLNAME" ]) python2. 6/UserDict. py", line 22, in __getitem__
Traceback (most recent call last):
File "/usr/bin/
default = os.environ[
File "/usr/lib/
raise KeyError(key)
KeyError: 'DEBFULLNAME'