Confusing parsing errors

Bug #670470 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned
bzr-builder
New
Undecided
Unassigned

Bug Description

I tried making a recipe with the line "merge lp:ubuntu/python-testtools". When I tried to save it (on Launchpad), I got the error "End of line while looking for branch URL".

Turns out, the *actual* mistake is that I didn't label the line, but how was I to know?

Perhaps one way would be to include the syntax of the line when erroring, e.g. "expected 'merge <label> <branch-url>'".

Tags: lp-code recipe
Revision history for this message
Tim Penhey (thumper) wrote :

Does the label have any particular limitations in naming? If it is bzr-builder could look at the second name and look to see if it looks like a name or url to try to give a more useful error.

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 670470] Re: Confusing parsing errors

Is this a dupe of bug 604718 then? That is asking for the
expected format of the line to be printed.

Thanks,

James

Revision history for this message
Tim Penhey (thumper) wrote :

On Fri, 05 Nov 2010 15:30:56 you wrote:
> Is this a dupe of bug 604718 then? That is asking for the
> expected format of the line to be printed.

Probably

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.