[Bug 1013171] Re: Many package hooks not ported to python3
Edward Donovan
launchpad at numble.net
Tue Jun 26 02:38:02 UTC 2012
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 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.
--
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1013171/+subscriptions
More information about the Ubuntu-bluetooth
mailing list