Bug 1082693 - Wrong extension directory
Summary: Wrong extension directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-caja
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-31 16:07 UTC by Patrick Monnerat
Modified: 2014-04-15 15:48 UTC (History)
1 user (show)

Fixed In Version: python-caja-1.4.0-6.fc19
Clone Of:
Environment:
Last Closed: 2014-04-15 15:29:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Monnerat 2014-03-31 16:07:26 UTC
Description of problem:
Package configures directory /usr/share/python-caja/extensions, but program loads extensions from /usr/share/caja-python/extensions.

As a result, extensions installed in the directory owned by the package never get loaded.

How reproducible:
ALways

Steps to Reproduce:
1. Install an extension in /usr/share/python-caja/extensions
2. Restart caja

Actual results:
Extension not loaded


Expected results:
Extension loaded


Additional info:
Hi Wolfgang,
Either you may change directory name (which breaks Fedora naming rules), or you should patch src/caja-python.c lines:

        // Look in the new global path, $DATADIR/caja-python/extensions
        caja_python_load_dir(module, DATADIR "/caja-python/extensions");

to

        // Look in the new global path, $DATADIR/python-caja/extensions
        caja_python_load_dir(module, DATADIR "/python-caja/extensions");

Cheers,
Patrick

Comment 1 Patrick Monnerat 2014-03-31 16:15:55 UTC
BTW: why not searching in both? It'll allow you to keep your directory in phase with Fedora naming, and provide support for externals that uses standard caja-python naming... Just an idea !

Comment 2 Wolfgang Ulbrich 2014-04-05 11:04:15 UTC
Hi Patrick,
thanks for reporting this, i will follow your advise from comment 1.

Comment 3 Fedora Update System 2014-04-05 11:04:52 UTC
python-caja-1.4.0-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-caja-1.4.0-6.fc20

Comment 4 Fedora Update System 2014-04-05 11:05:00 UTC
python-caja-1.4.0-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-caja-1.4.0-6.fc19

Comment 5 Fedora Update System 2014-04-06 02:33:18 UTC
Package python-caja-1.4.0-6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-caja-1.4.0-6.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4838/python-caja-1.4.0-6.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-04-15 15:29:24 UTC
python-caja-1.4.0-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-04-15 15:48:44 UTC
python-caja-1.4.0-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.