<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>This is a bug in daily builds after September 14th. It should be
fixed today.</p>
<p> -- Greg<br>
</p>
<div class="moz-cite-prefix">On 9/23/2021 8:27 AM, Eric Pettersen
via ChimeraX-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BCBEB715-9558-4C16-BCA8-F0489B0BD27F@cgl.ucsf.edu">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi Christophe,
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>We
have a ticket open in our bug database for this problem: <a
href="https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/5258"
class="" moz-do-not-send="true">#5258 (Session code trying to
take len() of 'SurfaceUpdaters')</a>. I will add you to the
recipient list for that ticket so that you will be notified when
it get fixed.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">--Eric</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Eric
Pettersen</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>UCSF
Computer Graphics Lab</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 23, 2021, at 6:40 AM, Christophe
Leterrier via ChimeraX-users <<a
href="mailto:chimerax-users@cgl.ucsf.edu" class=""
moz-do-not-send="true">chimerax-users@cgl.ucsf.edu</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">This is the Traceback from the
log:
<div class=""><br class="">
<div class="">Traceback (most recent call last):<br
class="">
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/core/session.py",
line 887, in save<br class="">
session.save(output, version=version,
include_maps=include_maps)<br class="">
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/core/session.py",
line 616, in save<br class="">
mgr.discovery(self._state_containers)<br
class="">
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/core/session.py",
line 242, in discovery<br class="">
if sm is None and len(value) == 0:<br class="">
TypeError: object of type 'SurfaceUpdaters' has no
len()<br class="">
<br class="">
TypeError: object of type 'SurfaceUpdaters' has no
len()<br class="">
<br class="">
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/core/session.py",
line 242, in discovery<br class="">
if sm is None and len(value) == 0:<br class="">
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 23 Sept 2021
at 15:38, Christophe Leterrier <<a
href="mailto:christophe.leterrier@gmail.com"
class="" moz-do-not-send="true">christophe.leterrier@gmail.com</a>>
wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">HI,
<div class=""><br class="">
</div>
<div class="">When I'm saving a session displaying
3D image stacks as surfaces into a csx file, I
get this error:</div>
<div class="">
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">TypeError: object of type 'SurfaceUpdaters' has no len()
File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/core/session.py", line 242, in discovery
if sm is None and len(value) == 0:
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">However if I switch the displayed stacks as volume, then there is no error on save.</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">This is with the daily build 1.3.dev202109160803 (2021-09-16) on OSX Big Sur (Intel architecture).</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">Thanks,</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">
</div>
<div style="margin: 0px; white-space: pre-wrap;" class="">Christophe</div>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br
class="">
ChimeraX-users mailing list<br class="">
<a href="mailto:ChimeraX-users@cgl.ucsf.edu" class=""
moz-do-not-send="true">ChimeraX-users@cgl.ucsf.edu</a><br
class="">
Manage subscription:<br class="">
<a class="moz-txt-link-freetext" href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ChimeraX-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a>
Manage subscription:
<a class="moz-txt-link-freetext" href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a>
</pre>
</blockquote>
</body>
</html>