Unrecognized 0.4 version of recipe

Bug #891928 reported by Scott Ritchie
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jelmer Vernooij

Bug Description

https://code.launchpad.net/~ubuntu-wine/+recipe/wine-daily

I try to change my recipe to use the new 0.4 format:
# bzr-builder format 0.4 deb-version {latest-tag}+daily-{date}
lp:wine
nest-part packaging lp:~scottritchie/wine/natty-packaging debian debian

And get this error in the box:
Error parsing recipe:1:22: Unknown format: '0.4'.

Tags: qa-ok

Related branches

Jelmer Vernooij (jelmer)
Changed in launchpad:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → High
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Err I'm still getting the error has this version not been deployed yet?

Jelmer Vernooij (jelmer)
Changed in launchpad:
status: Fix Released → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

You're right, this still happens. I'll look into it.

Jelmer Vernooij (jelmer)
Changed in launchpad:
status: Triaged → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Martin Pool (mbp) wrote :

I don't think this has fixed it on qastaging(r14399): I get an error "The recipe format version specified is not available".

I also get a spurious "there are 2 errors" message.

However, creating a recipe in format 0.3 is still working so I think this is safe to deploy but not fixed.

Changed in launchpad:
status: Fix Committed → In Progress
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Martin Pool (mbp) wrote :

<wgrant> poolie: lib/lp/code/model/sourcepackagerecipedata.py:MAX_RECIPE_FORMAT = 0.3
<wgrant> poolie: The DB schema may need updating to cope with new directives.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Things are a bit different now - I still get a red "error" box around the change recipe dialog, but there is no visible error text. The change doesn't go through.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yeah, the buildds will handle 0.4 recipes and launchpad has a recent enough version of bzr-builder, but the web API doesn't accept them yet - we need to patch some bits in Launchpad to support the 0.4 recipe format too.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
tags: removed: qa-needstesting
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Gah! The qa-needstesting tag was removed, but it was not replaced with qa-ok. This has held up one of my branches for days, just at a point where it left us exposed to a risk of painful bugs. Kept checking night and holidays until I realized the mistake. Tagging qa-untestable.

tags: added: qa-ok
Revision history for this message
William Grant (wgrant) wrote :

The DB patch is deployed.

Changed in launchpad:
status: Fix Committed → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
status: Fix Committed → Fix Released
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Now that I can actually set the recipe version to 0.4, it doesn't seem to build due to an exception in bzr. https://launchpadlibrarian.net/89179259/buildlog.txt.gz -- the build daemons use 2.4.0, but I'm not sure if this is fixed in 2.4.2

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 891928] Re: Unrecognized 0.4 version of recipe

On 01/06/2012 01:35 AM, Scott Ritchie wrote:
> Now that I can actually set the recipe version to 0.4, it doesn't seem
> to build due to an exception in bzr.
> https://launchpadlibrarian.net/89179259/buildlog.txt.gz -- the build
> daemons use 2.4.0, but I'm not sure if this is fixed in 2.4.2
We're still waiting for python-debian to be updated on the buildds.

Cheers,

Jelmer

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Is there a separate bug tracking the python-debian update? I'm still seeing the same crash.

Revision history for this message
Scott Ritchie (scottritchie) wrote :
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.