[chimerax-users] Saving ChimeraX session error on macOS

Yixiao Zhang zhangyixiao8867 at gmail.com
Wed Dec 11 15:04:54 PST 2019


Hi Eric,

Thank you very much for your reply and suggestions. It works if I deleted
all the 2d labels. I tried to add one 2d label back, and it still can be
saved. I will add all the 2d labels back and see what happens. The saving
process is very slow, probably due to the 20 maps generated with 'volume
gaussian'.

Thanks,
Yixiao

On Wed, Dec 11, 2019 at 4:57 PM Eric Pettersen <pett at cgl.ucsf.edu> wrote:

> deleted → deleting
>
> On Dec 11, 2019, at 1:56 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
>
> Okay, I tried various things and was able to reproduce the problem.  I
> will be opening a ticket for it in our bug-tracking database with you cc’ed.
>
> So, aside from deleted your 2D labels, you should also try closing the
> Basic Actions tool if you have it open.
>
> —Eric
>
> On Dec 11, 2019, at 1:50 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
>
> Yes, the error is related to 2D labels, but something weird is going on
> because saving 2D labels in sessions doesn’t normally need the class that
> is being complained about.  Your best chance to save most of your work is
> to delete all the 2D labels (probably easiest by closing them in the Model
> Panel) and try to save the session again.
>
> It’s unfortunate that a session doesn’t save, because that would give us
> the best chance to reproduce and fix the problem.
>
> If you can save the 2D-label-less session, and adding the 2D labels back
> gives the same error, that would also give us a chance to track it down…
>
> —Eric
>
> Eric Pettersen
> UCSF Computer Graphics Lab
>
>
>
> On Dec 11, 2019, at 1:38 PM, Yixiao Zhang <zhangyixiao8867 at gmail.com>
> wrote:
>
> Dear all,
> I'm preparing a movie in chimeraX on macOS. There are more than 25 maps
> opened and also another 20 low-pass filtered maps generated within chimeraX
> by "vol gaussian". There are also ~20 pdb models, several positions saved
> by "view name" and ~20 2dlabels. I got the following error message when I
> save the .cxs file, and the session was not saved.
>
> RuntimeError: Unable to restore objects of LabelModel class in
> ChimeraX-Label bundle because the class name is not listed in the name to
> class table for session restore
>
> File
> "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/session.py",
> line 142, in from_obj
> (obj_cls.__name__, bundle_info.name))
>
> See log for complete Python traceback.
>
> The session is still alive, and I have no problem when I save other much
> simpler sessions. Is there a way that I can get this big session saved? Is
> the error related to 2dlabels?
>
> Many thanks,
> Yixiao
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://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/20191211/5f00d98d/attachment.html>


More information about the ChimeraX-users mailing list