[chimerax-users] Error on save
Eric Pettersen
pett at cgl.ucsf.edu
Thu Sep 23 08:27:19 PDT 2021
Hi Christophe,
We have a ticket open in our bug database for this problem: #5258 (Session code trying to take len() of 'SurfaceUpdaters') <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/5258>. 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 at 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 at gmail.com <mailto: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
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210923/a442fc24/attachment.html>
More information about the ChimeraX-users
mailing list