[Bug 1013171] Re: Many package hooks not ported to python3

Edward Donovan launchpad at numble.net
Tue Jun 26 01:51:49 UTC 2012


mysql-5.5 has a print statement that needed fixing.  This patch also
changes unicode() to str(), as 2to3 suggests -- whether that's really
called for, I'll leave for someone else to decide.  Thanks.


** Description changed:

  Since the description here is the only post that can be updated, it
- seems the best place to keep a changing list.  (The original description
- was brief, and about only one package.)
+ seems the best place to keep a list of packages that need examining.
+ (The original description was brief, and about only one package.)
  
- Working from the archive's Contents file, I got the list of packages
- that keep files under apport/package-hooks.  Below are the packages that
- haven't been tested yet, to my knowledge.  As I get time, I'll test them
- with 2to3, and update the list.  And try to post patches as needed.
+ We've fixed all the packages that I could find in the apt logs uploaded
+ in the first round of breakage.  Now I've tried to review all the other
+ apport hooks I could find in Quantal.  Working from the archive's
+ Contents file, I got the list of packages that have files under
+ /usr/share/apport/package-hooks .  I skipped the packages already fixed
+ above, and those that were on my system, during the first round of
+ breakage, and had no problems.  For the rest, I downloaded the debs,
+ extracted the apport hooks, and ran '2to3' on them.  I've posted patches
+ for a number of these, and some, listed below, need patches, or at least
+ another look.
+ 
  Thanks - Edward Donovan <edward.donovan at numble.net>
  
- cryptsetup
- desktopcouch
- dovecot-core
- eclipse-platform
- fso-gsmd
- gnome-media-player
- isc-dhcp-server
- libvirt-bin
- magicicada
- mpd
- mysql-server-5.5
- mythtv-common
- ptouch-driver
- python-nova
- qemu-common
- rss-glx
- samba-common-bin
- sl-modem-daemon
- snmpd
- ubuntu-vm-builder
- xul-ext-mozvoikko
+ Needs a patch, haven't posted one yet:
+ 
+   mythtv-common
+ 
+ These packages never broke, they just got warnings from the 2to3 tool:
+ 
+   compiz-core
+   eclipse-platform
+   gnome-control-center-data
+   gnome-settings-daemon
+   grub-common
+   nautilus-data
+   unity-common
+   apache2.2-common
+ 
+ Side note:
+ 
+   rss-glx: the python is fine, but the hook file is just named 'source',
+ with no package name or extension, so it'll probably be good to file a
+ little bug about that.  I'll try to do that later.

** Also affects: mysql-5.5 (Ubuntu)
   Importance: Undecided
       Status: New

** Patch added: "python3 patch for mysql-5.5's apport hook"
   https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1013171/+attachment/3204357/+files/mysql-5.5.patch

** Changed in: mysql-5.5 (Ubuntu Quantal)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1013171

Title:
  Many package hooks not ported to python3

Status in “apport” package in Ubuntu:
  Fix Released
Status in “apport-symptoms” package in Ubuntu:
  Fix Released
Status in “bluez” package in Ubuntu:
  Fix Released
Status in “cairo-dock” package in Ubuntu:
  Confirmed
Status in “chromium-browser” package in Ubuntu:
  Confirmed
Status in “connman” package in Ubuntu:
  Confirmed
Status in “dkms” package in Ubuntu:
  Fix Released
Status in “firefox” package in Ubuntu:
  Fix Released
Status in “gnome-screensaver” package in Ubuntu:
  Fix Released
Status in “indicator-applet” package in Ubuntu:
  Confirmed
Status in “libatasmart” package in Ubuntu:
  Fix Released
Status in “lxpanel” package in Ubuntu:
  Confirmed
Status in “mdadm” package in Ubuntu:
  Fix Released
Status in “mysql-5.5” package in Ubuntu:
  Confirmed
Status in “network-manager” package in Ubuntu:
  Fix Committed
Status in “notify-osd” package in Ubuntu:
  Fix Released
Status in “shadow” package in Ubuntu:
  Fix Released
Status in “thunderbird” package in Ubuntu:
  Fix Committed
Status in “udisks2” package in Ubuntu:
  Fix Released
Status in “xdiagnose” package in Ubuntu:
  Fix Released
Status in “apport” source package in Quantal:
  Fix Released
Status in “apport-symptoms” source package in Quantal:
  Fix Released
Status in “bluez” source package in Quantal:
  Fix Released
Status in “cairo-dock” source package in Quantal:
  Confirmed
Status in “chromium-browser” source package in Quantal:
  Confirmed
Status in “connman” source package in Quantal:
  Confirmed
Status in “dkms” source package in Quantal:
  Fix Released
Status in “firefox” source package in Quantal:
  Fix Released
Status in “gnome-screensaver” source package in Quantal:
  Fix Released
Status in “indicator-applet” source package in Quantal:
  Confirmed
Status in “libatasmart” source package in Quantal:
  Fix Released
Status in “lxpanel” source package in Quantal:
  Confirmed
Status in “mdadm” source package in Quantal:
  Fix Released
Status in “mysql-5.5” source package in Quantal:
  Confirmed
Status in “network-manager” source package in Quantal:
  Fix Committed
Status in “notify-osd” source package in Quantal:
  Fix Released
Status in “shadow” source package in Quantal:
  Fix Released
Status in “thunderbird” source package in Quantal:
  Fix Committed
Status in “udisks2” source package in Quantal:
  Fix Released
Status in “xdiagnose” source package in Quantal:
  Fix Released

Bug description:
  Since the description here is the only post that can be updated, it
  seems the best place to keep a list of packages that need examining.
  (The original description was brief, and about only one package.)

  We've fixed all the packages that I could find in the apt logs
  uploaded in the first round of breakage.  Now I've tried to review all
  the other apport hooks I could find in Quantal.  Working from the
  archive's Contents file, I got the list of packages that have files
  under /usr/share/apport/package-hooks .  I skipped the packages
  already fixed above, and those that were on my system, during the
  first round of breakage, and had no problems.  For the rest, I
  downloaded the debs, extracted the apport hooks, and ran '2to3' on
  them.  I've posted patches for a number of these, and some, listed
  below, need patches, or at least another look.

  Thanks - Edward Donovan <edward.donovan at numble.net>

  Needs a patch, haven't posted one yet:

    mythtv-common

  These packages never broke, they just got warnings from the 2to3 tool:

    compiz-core
    eclipse-platform
    gnome-control-center-data
    gnome-settings-daemon
    grub-common
    nautilus-data
    unity-common
    apache2.2-common

  Side note:

    rss-glx: the python is fine, but the hook file is just named
  'source', with no package name or extension, so it'll probably be good
  to file a little bug about that.  I'll try to do that later.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1013171/+subscriptions




More information about the foundations-bugs mailing list