[Chimera-users] AttributeError of "Model Panel" when using nogui mode to save session

夏前程 xiaqiancheng at nibs.ac.cn
Tue Dec 20 00:06:38 PST 2022


Hi,

I've tried to use chimera nogui mode to save chimera sessions for a large number of tasks (one session for each task). However, an error message was returned and without the wanted output.py being written. The command I used is chimera --nogui --silent run.cmd. ( followed this https://www.cgl.ucsf.edu/pipermail/chimera-users/2011-October/006863.html​)​

The content of run.cmd

​-------------------------------------

background solid white
set silhouette
open rec.crg.pdb xtal-lig.pdb
sel #1-2
zone sel 5
~sel #1-2
sel up
~rib ~ sel
color white sel
color byhet sel
rlabel sel
color black ,lr
dis sel
~dis HC
open rec.crg.pdb
save output.py
stop

-------------------------------------

The error message returned

-------------------------------------

Starting extension 'Model Panel' failed

Error processing trigger "save session":
AttributeError: 'ModelPanel' object has no attribute '_updateHandler'

  File "/home/xiaqc/.local/UCSF-Chimera64-1.16/share/ModelPanel/base.py", line 1301, in _saveGroups
    if _mp._updateHandler:

See reply log for Python traceback.


Error while processing run.cmd:
AttributeError: 'ModelPanel' object has no attribute '_updateHandler'

  File "/home/xiaqc/.local/UCSF-Chimera64-1.16/share/ModelPanel/base.py", line 1301, in _saveGroups
    if _mp._updateHandler:

See reply log for Python traceback.


--------------------------------------​




I've tested ​1.16 (build 42360) and 1.15 (build 42233). Both of them failed.

​

​​

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20221220/f7e8f06f/attachment.html>


More information about the Chimera-users mailing list