Mantis - trac
Viewing Issue Advanced Details
4077 packaging block always 2009-12-11 09:22 2010-02-28 09:44
pfelecan  
rupert  
normal  
closed  
fixed  
none    
none  
0004077: undeclared dependency on python_devel
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.
Issue History
2009-12-11 09:22 pfelecan New Issue
2009-12-18 20:58 maciej Note Added: 0007099
2009-12-19 21:20 rupert Status new => resolved
2009-12-19 21:20 rupert Resolution open => fixed
2009-12-19 21:20 rupert Assigned To => rupert
2010-02-28 09:43 maciej Issue Monitored: maciej
2010-02-28 09:44 maciej Status resolved => closed

Notes
(0007099)
maciej   
2009-12-18 20:58   
This issue will be gone when CSWpython 2.6.4 is released. (it's in testing now)