The path for python extensions should reflect the 2.0 api

Bug #215714 reported by Stani
10
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Medium
Stani
nautilus-python
Fix Released
Medium
nautilus-python (Ubuntu)
Fix Released
Medium
Unassigned
phatch (Ubuntu)
Fix Released
Undecided
Stani

Bug Description

Right now python-nautilus creates the folder according to the 2.0 api for nautilus extensions:
/usr/lib/nautilus/extensions-2.0/python

but nautilus loads python extensions from the deprecated 1.0 api location:
/usr/lib/nautilus/extensions-1.0/python

This is inconsistent and causes the following problems:
- any extension in /usr/lib/nautilus/extensions-2.0/python is ignored
- incompatible scripts (based on the 1.0 api) might be loaded from /usr/lib/nautilus/extensions-1.0/python

A patch is needed which makes sure nautilus loads from the 2.0 folder.

Stani (stani)
Changed in nautilus-python:
status: New → Confirmed
Revision history for this message
Kjell Braden (afflux) wrote :

I think this is indeed a problem. I'm working on a patch.

Changed in nautilus-python:
assignee: nobody → afflux
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Kjell Braden (afflux) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

I hardcoded the changes for hardy because doing it via pkg-config would be more invasive. I'll report this to upstream with a better method of fixing soon.

Changed in nautilus-python:
assignee: afflux → nobody
status: In Progress → Confirmed
Revision history for this message
StefanPotyra (sistpoty) wrote :

Desktop team, your call, please approve/decline as you seem fit. Unsubscribing motu-release.

Revision history for this message
Stani (stani) wrote :

If you decide to fix this bug for Hardy, please do it as quickly as possible so I can quickly file a patch for the package phatch in Hardy. Otherwise nautilus support for Phatch will be broken in Hardy.

Changed in phatch:
assignee: nobody → stani
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → stani
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your work, new revision uploaded

Changed in nautilus-python:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus-python - 0.5.0-0ubuntu3

---------------
nautilus-python (0.5.0-0ubuntu3) hardy; urgency=low

  * debian/rules, debian/README.Debian,
    debian/patches/01_fix-extension-directory.patch:
    moved from extensions-1.0 to extensions-2.0 (LP: #215714)

 -- Kjell Braden <email address hidden> Fri, 11 Apr 2008 19:34:16 +0200

Changed in nautilus-python:
status: Fix Committed → Fix Released
Revision history for this message
Stani (stani) wrote :

This is a bug for the phatch package in Hardy. I made the patch as minimal as possible. A better solution would be to include python-nautilus in build-depends and retrieve the directory with pkg-config, but as Kjell said that would be too invasive. Please upload this patch as python-nautilus has been patched as well.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 215714] Re: The path for python extensions should reflect the 2.0 api

Motu-release ack. Sponsors please review/upload.

Stani (stani)
Changed in phatch:
status: Confirmed → In Progress
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phatch - 0.1.3-1ubuntu2

---------------
phatch (0.1.3-1ubuntu2) hardy; urgency=low

  * Fix for path of python nautilus extensions LP: #215714

 -- Stani M <email address hidden> Tue, 15 Apr 2008 21:28:12 +0200

Changed in phatch:
status: Fix Committed → Fix Released
Stani (stani)
Changed in phatch:
status: In Progress → Fix Committed
Changed in nautilus-python:
status: Unknown → New
Revision history for this message
Stani (stani) wrote :

in latest version : 0.1.4.bzr526

Changed in phatch:
status: Fix Committed → Fix Released
Changed in nautilus-python:
status: New → Fix Released
Changed in nautilus-python:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.