← Back to team overview

cairo-dock-team team mailing list archive

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

 

mythtv-common needs the usual 'print' fix.   Here's a patch.  The 2to3
tool also wanted to change:

    if report.has_key('Package')

into

    if 'Package' in report

But since neither python 2 or 3 take exception to that original syntax,
I did not make that change in the patch.  Advice welcome.  Thanks.


** Patch added: "python3 patch for mythtv's apport hook"
   https://bugs.launchpad.net/ubuntu/quantal/+source/mythtv/+bug/1013171/+attachment/3204362/+files/mythtv.patch

** Description changed:

  Since the description here is the only post that can be updated, it
  seems the best place to keep a changing list of packages that need
  examining.  (The original description was brief, and about only one
  package.)
  
  We've fixed all the packages that found 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.
+ hooks, and ran '2to3' on them.  I've posted patches for every package
+ that broke under python3.
  
  Thanks - Edward Donovan <edward.donovan@xxxxxxxxxx>
- 
- 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.

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to cairo-dock 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 “mythtv” 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 “mythtv” 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 changing list of packages that need
  examining.  (The original description was brief, and about only one
  package.)

  We've fixed all the packages that found 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 every package that broke under python3.

  Thanks - Edward Donovan <edward.donovan@xxxxxxxxxx>

  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