Bug 539497 - abrt-addon-python ships sitecustomize.py
Summary: abrt-addon-python ships sitecustomize.py
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-20 11:43 UTC by Jeremy Sanders
Modified: 2015-02-01 22:49 UTC (History)
8 users (show)

Fixed In Version: abrt-1.0.9-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-13 01:44:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Sanders 2009-11-20 11:43:55 UTC
Description of problem:

The abrt python addon ships a sitecustomize.py file. As the name of this file suggests, this is a _local_ customization file and should not be shipped with a package. The local sysadmin uses this to modify the python installation to add other search paths, etc. Now this file is shipped with abrt-addon-python, this cannot be easily done.

Please can you use a different way to hook into python exceptions (e.g. a pth file).


Version-Release number of selected component (if applicable):
0.0.11-2.fc12

Comment 1 Jiri Moskovcak 2009-11-20 12:16:31 UTC
Hi, I would like to, but I didn't find any other way how to do this without changing every python scirpt we ship in Fedora, if you know how can I avoid using sitecustomize.py I'd be happy to change it. Actually I had an idea to make sitecustomize.py to load user scripts from some dir. That way we can hook-up the ABRT hook and users still can modify their python installation.

Jirka

Comment 2 Jiri Moskovcak 2010-03-25 19:04:31 UTC
Fixed in git. ABRT uses abrt.pth instead of sitecustomize.py.

Comment 3 Fedora Update System 2010-04-06 18:53:39 UTC
abrt-1.0.9-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/abrt-1.0.9-1.fc13

Comment 4 Fedora Update System 2010-04-07 20:55:13 UTC
abrt-1.0.9-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update abrt'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/abrt-1.0.9-1.fc13

Comment 5 Fedora Update System 2010-04-13 01:43:25 UTC
abrt-1.0.9-1.fc13 has been pushed to the Fedora 13 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.