<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>This is a bug.  It is fixed in tomorrow's daily build (look for a build dated Dec. 20, 2022 or later).  You can get your script to run right now by preventing the Model Panel tool from auto-starting.  Start Chimera normally (<i class="">i.e.</i> not nogui) and use Favorites→Add to Favorites/Toolbar... to turn off Model Panel auto-starting and click Save.  Then your script should run.</div><div class=""><br class=""></div><div class=""><div class="">--Eric</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>UCSF Computer Graphics Lab</div></div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 20, 2022, at 12:06 AM, 夏前程 via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p class="">
        <span style="font-family:SimSun;" class="">Hi,</span>
</p><p class="">
        <span style="font-family:SimSun;" class="">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 <span style="background-color:#CCCCCC;" class=""><em class="">chimera --nogui --silent run.cmd. </em><span style="background-color:#FFFFFF;" class="">( followed this <a href="https://www.cgl.ucsf.edu/pipermail/chimera-users/2011-October/006863.html" class="">https://www.cgl.ucsf.edu/pipermail/chimera-users/2011-October/006863.html</a>​)</span></span></span>​
</p><div class="">
        <span style="font-family:SimSun;" class=""></span>
<br class="webkit-block-placeholder"></div><p style="white-space:normal;" class="">
        <span style="font-family:SimSun;" class="">The content of run.cmd</span>
</p><p style="white-space:normal;" class="">
        <span style="font-family:SimSun;" class=""><span style="background-color:#FFFFFF;" class="">​</span>-------------------------------------</span>
</p><p style="white-space:normal;" class="">
        <span style="font-family:SimSun;" class=""><span class="ke-content-forecolor" style="color:#999999;"><em class="">background solid white</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">set silhouette</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">open rec.crg.pdb xtal-lig.pdb</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">sel #1-2</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">zone sel 5</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">~sel #1-2</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">sel up</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">~rib ~ sel</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">color white sel</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">color byhet sel</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">rlabel sel</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">color black ,lr</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">dis sel</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">~dis HC</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">open rec.crg.pdb</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">save output.py</em></span><br class="">
<span class="ke-content-forecolor" style="color:#999999;"><em class="">stop</em></span></span>
</p><p style="white-space:normal;" class="">
        <span style="font-family:SimSun;" class=""><span style="color:#999999;" class=""><span class="ke-content-forecolor" style="">----------------------------------</span><span class="ke-content-forecolor" style="">---</span></span></span>
</p><p class="">
        <span style="font-family:SimSun;" class="">The error message returned</span>
</p><p class="">
        <span style="font-family:SimSun;" class="">-------------------------------------</span>
</p><p class="">
        <span style="font-family:SimSun;" class=""><span class="ke-content-forecolor" style="color:#999999;">Starting extension 'Model Panel' failed</span><br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">Error processing trigger "save session":</span><br class="">
<span class="ke-content-forecolor" style="color:#999999;">AttributeError: 'ModelPanel' object has no attribute '_updateHandler'</span><br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">  File "/home/xiaqc/.local/UCSF-Chimera64-1.16/share/ModelPanel/base.py", line 1301, in _saveGroups</span><br class="">
<span class="ke-content-forecolor" style="color:#999999;">    if _mp._updateHandler:</span><br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">See reply log for Python traceback.</span><br class="">
<br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">Error while processing run.cmd:</span><br class="">
<span class="ke-content-forecolor" style="color:#999999;">AttributeError: 'ModelPanel' object has no attribute '_updateHandler'</span><br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">  File "/home/xiaqc/.local/UCSF-Chimera64-1.16/share/ModelPanel/base.py", line 1301, in _saveGroups</span><br class="">
<span class="ke-content-forecolor" style="color:#999999;">    if _mp._updateHandler:</span><br class="">
<br class="">
<span class="ke-content-forecolor" style="color:#999999;">See reply log for Python traceback.</span><br class="">
</span>
</p>
<div style="white-space:nowrap;" class="">
        --------------------------------------​
</div><p class="">
        <br class="">
</p><p class="">
        <span style="font-family:SimSun;" class="">I've tested ​1.16 (build 42360) and </span><span style="font-family:SimSun;" class="">1.15 (build 42233). Both of them failed.</span>
</p><div class="">
        <span style="font-family:SimSun;" class="">​</span>
<br class="webkit-block-placeholder"></div><div class="">
        <span class="ke-content-forecolor" style="font-family:SimSun;">​</span><span class="ke-content-forecolor" style="font-family:SimSun;">​</span>
<br class="webkit-block-placeholder"></div><p class="">
        <span style="font-family:SimSun;" class=""><span class="ke-content-forecolor" style="color:#999999;">​</span><br class="">
</span>
</p><br class=""><br class="">


_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>