<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">It looks like that bug is fixed in
Python 2.7.8 and Chimera is currently using Python 2.7.6. So
until we update the daily builds, replace
/Applications/Chimera.app/Contents/Resources/frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py
with the one from the Python repository <a
href="http://hg.python.org/cpython/raw-file/ee879c0ffa11/Lib/_osx_support.py">http://hg.python.org/cpython/raw-file/ee879c0ffa11/Lib/_osx_support.py</a>.<br>
<br>
HTH,<br>
<br>
Greg<br>
<br>
On 08/13/2014 08:21 AM, Mateusz Dobrychłop wrote:<br>
</div>
<blockquote
cite="mid:CAMJBqiwzurhGT+O0HWGcLAcFH6tOkBiyn6NQo=GaSh7kiAy9jA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Dear Chimera Team,<br>
<br>
</div>
I'm currently trying to install BioPython using
Chimera's Python copy on Mac OS X.<br>
<br>
</div>
Thanks to the Chimera Programming FAQ, I've already
managed to install BioPython succesfully on Ubuntu, but on
Mac OS X I get the following error:<br>
<br>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">Error while
importing Combine from /Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share:</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">Traceback
(most recent call last):</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">chimera/extension/base.py",
line 349, in _importExtension</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">
__import__(module)</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">Combine/ChimeraExtension.py",
line 32, in <module></span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">
balloon="Combine molecular models into new model",
moleculesOnly=True)</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">ModelPanel/base.py",
line 40, in addButton</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> "Button
named '%s' already exists" % name</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">KeyError:
"Button named 'copy/combine...' already exists"</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px;min-height:13px"><span
style="font-family:courier new,monospace"><br>
</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">Error while
importing Ramachandran from /Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share:</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">Traceback
(most recent call last):</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">chimera/extension/base.py",
line 349, in _importExtension</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">
__import__(module)</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">Ramachandran/ChimeraExtension.</span><span
style="font-family:courier new,monospace">py", line
29, in <module></span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">
ModelPanel.addButton("</span><span
style="font-family:courier new,monospace">Ramachandran
plot...", emo.modelPanelCB)</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/share/</span><span
style="font-family:courier new,monospace">ModelPanel/base.py",
line 40, in addButton</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> "Button
named '%s' already exists" % name</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">KeyError:
"Button named 'Ramachandran plot...' already exists"</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px;min-height:13px"><span
style="font-family:courier new,monospace"><br>
</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">running
install</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">running
build</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">running
build_py</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">running
build_ext</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">Error while
processing 'setup.py install':</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">TypeError:
argument of type 'NoneType' is not iterable</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px;min-height:13px"><span
style="font-family:courier new,monospace"><br>
</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> File
"/Applications/Chimera.app/</span><span
style="font-family:courier new,monospace">Contents/Resources/frameworks/</span><span
style="font-family:courier new,monospace">Python.framework/Versions/2.7/</span><span
style="font-family:courier new,monospace">lib/python2.7/_osx_support.py"</span><span
style="font-family:courier new,monospace">, line 185,
in _find_appropriate_compiler</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace"> if
'llvm-gcc' in data:</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px;min-height:13px"><span
style="font-family:courier new,monospace"><br>
</span></p>
<span style="font-family:courier new,monospace">
</span>
<p style="margin:0px;font-size:11px"><span
style="font-family:courier new,monospace">See reply
log for Python traceback.</span></p>
<br>
<br>
</div>
Is there anything I can do to solve this problem?<br>
<br>
</div>
Best,<br>
</div>
Mateusz<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Chimera-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chimera-dev@cgl.ucsf.edu">Chimera-dev@cgl.ucsf.edu</a>
<a class="moz-txt-link-freetext" href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>