use gvfs-open/xdg-open in Lib/webbrowser.py

Bug #971311 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Fix Released
Undecided
Unassigned
python3.2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The webbrowser.py is using gnome-open. This is no longer supported by gnome, instead they use gvfs-open.
The attached patch adds support for this and will also use xdg-open if available as this is meant to be the
cross desktop tool to use for this kind of task, see http://portland.freedesktop.org/wiki/

Tags: patch
Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Cf. bug #949436 in software-center.

tags: added: patch
Matthias Klose (doko)
Changed in python2.7 (Ubuntu):
status: New → In Progress
Matthias Klose (doko)
Changed in python3.2 (Ubuntu):
status: New → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "proposed fix" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python2.7 - 2.7.3~rc2-2ubuntu1

---------------
python2.7 (2.7.3~rc2-2ubuntu1) precise; urgency=low

  * Merge with Debian; remaining changes:

python2.7 (2.7.3~rc2-2) unstable; urgency=low

  * Use xdg-open/gvfs-open in Lib/webbrowser.py (Michael Vogt).
    LP: #971311.
  * Add a paragraph about python-foo-dbg packages to README.debug.
    LP: #872050.
  * Disable some tests (no feedback from porters):
    - test_socket on hurd-i386.
    - test_io on amd64.
    - test_signal on kfreebsd-*. Closes: #654783.
    - test_threading on sparc.
  * Tighten build dependency on libexpat-dev. Closes: #665346.
  * Build-depend on db-5.1, don't care about testsuite regressions on
    some esoteric ports. If packages rely on threaded applications or
    transactions, please use the python-bsddb3 package.
    Closes: #621374.
  * Don't ship the python2 and python2-config symlinks, move these
    to the python-minimal and python-dev packages. Closes: #663874.
  * Remove PVER-doc.doc-base.PVER-doc.in. Closes: #656763.
  * Update symbols files.
  * Avoid runtime path for the sqlite extension.
  * CVE-2011-4944, distutils creates ~/.pypirc insecurely. Closes: #650555.
  * Fix issue #14505, file descriptor leak when deallocating file objects
    created with PyFile_FromString(). Closes: #664529.
 -- Matthias Klose <email address hidden> Fri, 06 Apr 2012 20:54:29 +0200

Changed in python2.7 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python3.2 - 3.2.3-0ubuntu1

---------------
python3.2 (3.2.3-0ubuntu1) precise; urgency=low

  * Python 3.2.3 release.
  * Use xdg-open/gvfs-open in Lib/webbrowser.py (Michael Vogt).
    LP: #971311.
 -- Matthias Klose <email address hidden> Thu, 12 Apr 2012 16:52:42 +0200

Changed in python3.2 (Ubuntu):
status: In Progress → Fix Released
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.