Opened 6 years ago
Closed 5 years ago
#2823 closed defect (duplicate)
Nucleotides trying to save dead Residue in session
| Reported by: | Owned by: | Greg Couch | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Sessions | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted:
Platform: Darwin-16.7.0-x86_64-i386-64bit
ChimeraX Version: 0.92 (2020-02-07)
Description
apparently I have loaded a PDB file that is somehow broken and while closing other PDB files is no problem, when I close this one out of the session, chimeraX cannot save the session anymore. I have problems understanding the error. do you have suggestions how to solve this? I was working with an older daily build but updating did not help.
Best
Log:
UCSF ChimeraX version: 0.92 (2020-02-07)
© 2016-2020 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> open /Users/wieland/Desktop/coot/ldsfgkl.cxs
opened ChimeraX session
> save session /Users/wieland/Desktop/sdva.cxs
> close #5
> save session /Users/wieland/Desktop/sdva.cxs
> close #4
> save session /Users/wieland/Desktop/sdva.cxs
> show #!9 models
> hide #!12 models
> show #!12 models
> hide #12.1 models
> hide #!12 models
> hide #!9 models
> hide #9.1 models
> show #9.1 models
> close #9
> save session /Users/wieland/Desktop/sdva.cxs
> show #!10 models
> hide #!10 models
> save session /Users/wieland/Desktop/sdva.cxs
> show #!10 models
> close #10
> save session /Users/wieland/Desktop/sdva.cxs
Traceback (most recent call last):
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 276, in process
data = sm.take_snapshot(obj, session, self.state_flags)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/atomic/molobject.py", line 631, in take_snapshot
data = {'structure': self.structure,
File "cymol.pyx", line 1388, in
chimerax.atomic.cymol.CyResidue.structure.__get__
RuntimeError: Residue already deleted
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 796, in save
session.save(output, version=version, include_maps=include_maps)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 556, in save
mgr.discovery(self._state_containers)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 255, in discovery
self.processed[key] = self.process(obj, parents)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 279, in process
raise RuntimeError(msg) from e
RuntimeError: Error while saving session data for 'nucleotides' ->
<chimerax.atomic.nucleotides._data.NucleotideState object at 0x136ea2fd0> ->
<chimerax.atomic.molobject.Residue object at 0x12d349460>
RuntimeError: Error while saving session data for 'nucleotides' -> ->
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 279, in process
raise RuntimeError(msg) from e
See log for complete Python traceback.
Traceback (most recent call last):
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 276, in process
data = sm.take_snapshot(obj, session, self.state_flags)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/atomic/molobject.py", line 631, in take_snapshot
data = {'structure': self.structure,
File "cymol.pyx", line 1388, in
chimerax.atomic.cymol.CyResidue.structure.__get__
RuntimeError: Residue already deleted
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 925, in <lambda>
save_action.triggered.connect(lambda arg, s=self, sess=session:
s.file_save_cb(sess))
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 643, in file_save_cb
self.save_dialog.display(self, session)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/save_dialog.py", line 139, in display
fmt.save(session, filename)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 1100, in save
run(session, cmd)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/run.py", line 31, in run
results = command.run(text, log=log)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2837, in run
result = ci.function(session, **kw_args)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 992, in save_session
save(session, filename, **kw)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/save.py", line 61, in save
fmt.export(session, filename, fmt.nicknames[0], **kw)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/io.py", line 229, in export
result = self.export_func(session, path, **kw)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 796, in save
session.save(output, version=version, include_maps=include_maps)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 556, in save
mgr.discovery(self._state_containers)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 255, in discovery
self.processed[key] = self.process(obj, parents)
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 279, in process
raise RuntimeError(msg) from e
RuntimeError: Error while saving session data for 'nucleotides' ->
<chimerax.atomic.nucleotides._data.NucleotideState object at 0x136ea2fd0> ->
<chimerax.atomic.molobject.Residue object at 0x12d349460>
RuntimeError: Error while saving session data for 'nucleotides' -> ->
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 279, in process
raise RuntimeError(msg) from e
See log for complete Python traceback.
OpenGL version: 4.1 ATI-1.54.3
OpenGL renderer: AMD Radeon Pro 555 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.
Change History (2)
comment:1 by , 6 years ago
| Component: | Unassigned → Sessions |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Nucleotides trying to save dead Residue in session |
comment:2 by , 5 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | assigned → closed |
Duplicate of #2955. Finally able to reproduce and fix.
Note:
See TracTickets
for help on using tickets.
Reported by Wieland Maxi