<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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="">#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="">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="">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=""><br class=""></div><div style="margin: 0px; white-space: pre-wrap;" class=""><br class=""></div><div style="margin: 0px; white-space: pre-wrap;" 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 style="margin: 0px; white-space: pre-wrap;" class=""><br class=""></div><div style="margin: 0px; white-space: pre-wrap;" class=""><br 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=""><br class=""></div><div style="margin: 0px; white-space: pre-wrap;" class=""><br 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=""><br class=""></div><div style="margin: 0px; white-space: pre-wrap;" class="">Thanks,</div><div style="margin: 0px; white-space: pre-wrap;" class=""><br 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="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></div></body></html>