I haven't upgraded to Mountain Lion yet myself so I can't test, but if it's helpful, I can at least confirm that I did a new install on Lion about two weeks ago and it worked, so it's probably something specific to Mountain Lion or your machine's setup, not a problem with macos more generally.

The weird thing is that it looks like it's actually barfing on parsing the version number itself, which makes me wonder if maybe mountain lion's reporting the version in a slightly different syntax than expected or something doesn't think it's available for that version number.

It might be worth installing a fresh version of python in case there's just something up with the version macos provides, and I *did* have some problem with the wrong version of setuptools that required me to clear /Library/Python/2.7/site-packages/ before bootstrap.py would behave properly (See http://terriko.dreamwidth.org/104072.html for my note to self on what went wrong with bootstrap.py in my case). The latter seems unlikely on a fresh install, but trying it doesn't hurt anything since bootstrap will just redownload those packages.

 Terri

On 09/06/2012 12:11 PM, G B wrote:
I initially posted this to mailman-users, but it was suggested that this would 
be a better list.

I'm installing Mailman for the first time, and chose to try the beta.  I'm 
installing on a Mountain Lion Server, that was cleanly installed.   I've since 
updated the OS to 10.8.1

I got as far as 'python bootstrap.py' and it failed immediately with the 
following traceback:

————————————————————————--
Traceback (most recent call last):
  File "bootstrap.py", line 157, in <module>
    import pkg_resources
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py",
 line 698, in <module>
    class Environment(object):
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py",
 line 701, in Environment
    def __init__(self, search_path=None, platform=get_supported_platform(), 
python=PY_MAJOR):
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py",
 line 99, in get_supported_platform
    plat = 'macosx-%s-%s' % ('.'.join(_macosx_vers()[:2]), m.group(3))
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/../../Extras/lib/python/pkg_resources.py",
 line 209, in _macosx_vers
    _cache.append(mac_ver()[0].split('.'))
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
 line 803, in mac_ver
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
 line 780, in _mac_ver_xml
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 78, in readPlist
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 406, in parse
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 418, in handleEndElement
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 452, in end_key
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 436, in getData
LookupError: unknown encoding: ascii
——————————————————————————

FWIW, I can open an interactive Python session and execute "import 
pkg_resources"  from the command line without error.

Any ideas?

Thanks—
Greg

_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/terri%40zone12.com

Security Policy: http://wiki.list.org/x/QIA9


_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to