[bug-notifications] [trac 0004077]: undeclared dependency on python_devel

Mantis Bug Tracker noreply at opencsw.org
Fri Dec 18 20:58:00 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4077 
====================================================================== 
Reported By:                pfelecan
Assigned To:                
====================================================================== 
Project:                    trac
Issue ID:                   4077
Category:                   packaging
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-12-11 09:22 CET
Last Modified:              2009-12-18 20:58 CET
====================================================================== 
Summary:                    undeclared dependency on python_devel
Description: 
After installing trac, trying to get help:

trac-admin help

we get:

Traceback (most recent call last):
  File "/opt/csw/bin/trac-admin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 657, in
<module>
    class Environment(object):
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 660, in
Environment
    def __init__(self, search_path=None,
platform=get_supported_platform(), python=PY_MAJOR):
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 55, in
get_supported_platform
    plat = get_build_platform(); m = macosVersionString.match(plat)
  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 186, in
get_build_platform
    from distutils.util import get_platform
ImportError: No module named distutils.util

After installing python_devel, everything seems alright.
====================================================================== 

---------------------------------------------------------------------- 
 (0007099) maciej (reporter) - 2009-12-18 20:58
 http://www.opencsw.org/mantis/view.php?id=4077#c7099 
---------------------------------------------------------------------- 
This issue will be gone when CSWpython 2.6.4 is released. (it's in testing
now)




More information about the bug-notifications mailing list