[SRU] fix end date calculation for releases in june

Bug #602469 reported by Jean-Baptiste Lallement
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-apt

Nominating for SRU in lucid the following fix:
===
python-apt (0.7.95ubuntu2) maverick; urgency=low

  * apt/utils.py:
    - fix end date calculation for releases in june
===

This is visible in software-center with the following error:
Traceback (most recent call last):
[...]
    self.app.appname or self.app.pkgname, self.app.pkgname, self.component, self.channelfile)
  File "/usr/share/software-center/softwarecenter/distro/Ubuntu.py", line 162, in get_maintenance_status
    support_end_month_str = locale.nl_langinfo(getattr(locale,"MON_%d" % support_end_month))
AttributeError: 'module' object has no attribute 'MON_0'

Rationale:
- A user cannot access the detailed informations about a software in software center. This is reproducible with canonical partners software released in june (latest release of app-install-data-partner in lucid)
- Trivial fix.

TEST CASE:
1. Install app-install-data-partner 12.10.04.3 (in lucid-proposed)
2. Open a terminal and run software-center and go to "Get Software / Canonical Partners"
3. Select a software on the right and click on "More info"

VERIFICATION DONE:
- You can access the detailed information.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-apt 0.7.94.2ubuntu6.1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Tue Jul 6 23:32:58 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: python-apt

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in python-apt (Ubuntu):
status: New → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

debdiff fixing the issue in lucid

Revision history for this message
Martin Pitt (pitti) wrote :

SRU ack, subscribed sponsors.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

ubuntu-sponsors please upload to -proposed. Thanks.

Changed in python-apt (Ubuntu Lucid):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

uploaded

Changed in python-apt (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
Jonathan Riddell (jr) wrote : Please test proposed package

Accepted into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Lucid:
I have reproduced the problem with python-apt 0.7.94.2ubuntu6.1 in lucid-updates and have verified that the version of python-apt 0.7.94.2ubuntu6.2 in -proposed fixes the issue. I was unable exactly reproduce the original test case because there was no release file released in June, so I had force the maintenance time in software-center.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 0.7.94.2ubuntu6.2

---------------
python-apt (0.7.94.2ubuntu6.2) lucid-proposed; urgency=low

  * apt/utils.py:
    - fix end date calculation for releases in june (LP: #602469)
 -- Jean-Baptiste Lallement <email address hidden> Tue, 06 Jul 2010 23:46:49 +0200

Changed in python-apt (Ubuntu Lucid):
status: Fix Committed → Fix Released
tags: added: testcase
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.