[chimerax-users] Error on save

Christophe Leterrier christophe.leterrier at gmail.com
Thu Sep 23 06:40:33 PDT 2021


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210923/991f4141/attachment.html>


More information about the ChimeraX-users mailing list