Ah, I see second xdiagnose issues were solved, noted in bug 1013911.
Rather than needing to patch assistant.py, the whole file was able to be
dropped, apparently. So I deleted my patch for that one.
** Patch removed: Fix more python3 incompatibilites in xdiagnose: assistant.py
It would help a lot to keep the python hooks both python2.7 (precise)
and python3 (quantal+) for the upgrade case where your hook maybe run
with either pythons.
https://wiki.ubuntu.com/Python/3
Most of the time it's easy to accomplish with:
from __future__ import print_function
Which is valid
This bug was fixed in the package apport - 2.2.3-0ubuntu1
---
apport (2.2.3-0ubuntu1) quantal; urgency=low
[ Martin Pitt ]
* New upstream bug fix release:
- test/run: Do not run pep8 and pyflakes when running against the sytem
installed Apport.
-
** Changed in: libatasmart (Ubuntu Quantal)
Status: In Progress = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks
This bug was fixed in the package libatasmart - 0.19-1git1
---
libatasmart (0.19-1git1) quantal; urgency=low
Upload current Debian packaging git head.
* debian/local/apport-hook.py: Fix syntax to be Python 3 compatible.
(LP: #1013171)
* debian/local/apport-hook.py: Include
** Changed in: apport-symptoms (Ubuntu Quantal)
Status: In Progress = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package
** Branch linked: lp:~ubuntu-dev/apport/apport-symptoms
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
To manage
This was fixed in the Firefox nightly and aurora packaging branches last
night
** Changed in: firefox (Ubuntu Quantal)
Status: Confirmed = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in
And thunderbird...
** Changed in: thunderbird (Ubuntu Quantal)
Status: Confirmed = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
This bug was fixed in the package apport-symptoms - 0.17
---
apport-symptoms (0.17) quantal; urgency=low
* symptoms/_audio_data.py: Fix syntax to be Python 3 compatible.
(LP: #1013171)
* symptoms/storage.py: Fix decoding of stdout/err in subprocesses.
* symptoms/storage.py:
** Branch linked: lp:ubuntu/apport-symptoms
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
To manage
I will look into mdadm hook
** Changed in: mdadm (Ubuntu Quantal)
Assignee: (unassigned) = Dmitrijs Ledkovs (dmitrij.ledkov)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
** Changed in: notify-osd (Ubuntu Quantal)
Assignee: (unassigned) = Didier Roche (didrocks)
** Changed in: gnome-screensaver (Ubuntu Quantal)
Assignee: (unassigned) = Didier Roche (didrocks)
** Changed in: network-manager (Ubuntu Quantal)
Assignee: (unassigned) = Didier Roche
** Branch linked: lp:~dmitrij.ledkov/ubuntu/quantal/mdadm/merge
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
** Branch linked: lp:firefox
** Branch linked: lp:firefox/aurora
** Branch linked: lp:thunderbird
** Branch linked: lp:thunderbird/aurora
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
This bug was fixed in the package xdiagnose - 2.7
---
xdiagnose (2.7) quantal; urgency=low
[ Oliver Grawert ]
* port all program code to new python3 conventions
* adjust shebang lines for all python scripts to use python3
* update debian/rules and control for python3 support
** Branch linked: lp:ubuntu/xdiagnose
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
To manage notifications
Hi - upgrading to the new xdiagnose exposed another little python3
problem.
/usr/lib/python3/dist-packages/xdiagnose/assistant.py
has some old-style print statements, from line 72-80. You may not need
a patch that just puts in the parentheses, but I'll attach one in case
that helps bring
Here is the trivial patch needed to fix the 'login' package.
** Patch added: One-line python3 fix for login's source_shadow.py hook
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1013171/+attachment/3191630/+files/login-source_shadow.py.patch
--
You received this bug notification
Oh, the binary package is called login, but the source is 'shadow'.
Minor correction to the patch description, then.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Here is the small patch for gnome-screensaver's apport hook. There was
one old print statment to fix, and a few tabs, mixed among spaces, that
had to be removed.
** Patch added: Small python3 patch for gnome-screensaver's apport hook
network-manager's apport hook has two lines with tabs among spaces, and
one old print statement.
** Patch added: Small python3 patch for network-manager's apport hook
The apport hook for bluez only has whitespace problems. Removed tab
characters.
** Patch added: Small python3 patch for bluez's apport hook
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1013171/+attachment/3191983/+files/source_bluez.py.patch
--
You received this bug notification
notify-osd just has one print statement to fix.
** Patch added: One-line python3 fix for notify-osd's apport hook
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/1013171/+attachment/3191741/+files/source_notify-osd.py.patch
--
You received this bug notification because you are a
For dkms, I wasn't sure of the most proper python3 form, for the print
statments redirected to stderr. So I let the 2to3 tool generate this
patch. It fixes those print statements, and one exception statement,
where the syntax now requires 'as'.
** Patch added: python3 patch for dkms' apport
** Also affects: gnome-screensaver (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gnome-screensaver (Ubuntu Quantal)
Status: New = Confirmed
** Also affects: bluez (Ubuntu)
Importance: Undecided
Status: New
** Also affects: network-manager (Ubuntu)
Reproducer: sudo apt-get install --reinstall python3
The actual bug is that apport ships a file
/usr/share/python3/runtime.d/apport.rtupdate . This is not supposed to
be there (autogenerated by dh_python3, I assume), and is just plain
wrong. I'll remove it.
This will leave the remaining tasks
Ok, here are a few more, also apport hooks. (These had a different
error message, and I didn't grab them in the first batch.)
Sorry: TabError: inconsistent use of tabs and spaces in indentation
(source_network-manager.py, line 67)
Sorry: TabError: inconsistent use of tabs and spaces in
Leaving xdiagnose as high, as there are a bazillion packages symlinking
to this. Oliver already has the fix in a branch.
** Changed in: xdiagnose (Ubuntu Quantal)
Importance: Critical = High
** Changed in: xdiagnose (Ubuntu Quantal)
Status: Confirmed = In Progress
** Changed in:
This patch should be the bulk of porting firefox' package hook, and
should also apply (at least in spirit) to thunderbird's :
http://paste.ubuntu.com/1040952/ . All these changes are backwards
compatible with Python 2 as well.
I'm not quite sure how your ExtensionINIParserIter parser works,
Oh, thank you, Martin; that's great.
** Changed in: network-manager (Ubuntu Quantal)
Status: New = Confirmed
** Changed in: bluez (Ubuntu Quantal)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed
** Changed in: udisks2 (Ubuntu Quantal)
Importance: Critical = Medium
** Changed in: firefox (Ubuntu Quantal)
Importance: Critical = Medium
** Changed in: firefox (Ubuntu Quantal)
Assignee: (unassigned) = Chris Coulson (chrisccoulson)
** Changed in: libatasmart (Ubuntu Quantal)
** Branch linked: lp:~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
101 - 133 of 133 matches
Mail list logo