catch and wrap ChangelogParseError so that it doesn't traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I am fairly new to bzr and my guess is this is all likely caused by some breakage in my changelog (as mentioned below), but the output suggests a report so I figure what the hell..
I'm running ubuntu 8.04 beta
Bazaar (bzr) 1.3.1rc1
Python interpreter: /usr/bin/python 2.5.2.final.0
Python standard library: /usr/lib/python2.5
bzrlib: /usr/lib/
Bazaar configuration: /home/christer/
Bazaar log file: /home/christer/
christer@
Running in native mode
Building using working tree
bzr: ERROR: debian_
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
(changelog, larstiq) = find_changelog(t, merge)
File "/usr/lib/
changelog.
File "/var/lib/
raise ChangelogParseE
ChangelogParseE
bzr 1.3.1rc1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'builddeb', '--native']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /usr/lib/
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
Changed in bzr-builddeb: | |
status: | Invalid → New |
Changed in bzr-builddeb: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in bzr-builddeb: | |
milestone: | none → 2.1 |
status: | Triaged → Fix Committed |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
On Fri, 2008-04-11 at 14:56 +0000, Christer Edwards wrote:
> Public bug reported:
>
> I am fairly new to bzr and my guess is this is all likely caused by some
> breakage in my changelog (as mentioned below), but the output suggests a
> report so I figure what the hell..
>
Hi Christer,
Welcome to the world of bzr. You are correct that this is a problem
with the fomat of your changelog.
> ChangelogParseE rror: Could not parse changelog: --Christer Edwards <email address hidden> Wed, 09 Apr 2008 23:53:00 -600
There's a space missing after the "--" and before your name.
You can find the format documented at
http:// www.debian. org/doc/ debian- policy/ ch-source. html
section 4.4.
You may be interested in the "dch" tool in the "devscripts" package.
That can take care of handling all of the format etc., leaving you
just to write the message.
I think this error could be a lot nicer though, so I should change
that.
Thanks,
James