This is a bug in daily builds after September 14th.  It should be fixed today.

    -- Greg

On 9/23/2021 8:27 AM, Eric Pettersen via ChimeraX-users wrote:
Hi Christophe,
We have a ticket open in our bug database for this problem: #5258 (Session code trying to take len() of 'SurfaceUpdaters').  I will add you to the recipient list for that ticket so that you will be notified when it get fixed.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Sep 23, 2021, at 6:40 AM, Christophe Leterrier via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

This is the Traceback from the log:

Traceback (most recent call last):
  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
    session.save(output, version=version, include_maps=include_maps)
  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
    mgr.discovery(self._state_containers)
  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:
TypeError: object of type 'SurfaceUpdaters' has no len()

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:

On Thu, 23 Sept 2021 at 15:38, Christophe Leterrier <christophe.leterrier@gmail.com> wrote:
HI,

When I'm saving a session displaying 3D image stacks as surfaces into a csx file, I get this error:
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:
However if I switch the displayed stacks as volume, then there is no error on save.
This is with the daily build 1.3.dev202109160803 (2021-09-16) on OSX Big Sur (Intel architecture).
Thanks,
Christophe
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users


_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users