Opened 8 years ago
Closed 8 years ago
#790 closed defect (fixed)
error saving session with crosslinks histogram
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
If I open the attached cxc file and then try to save session, I get the following error and no file is produced:
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 177, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2395, in run
result = ci.function(session, kw_args)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/save.py", line 58, in save
fmt.export(session, filename, fmt.nicknames[0], kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/io.py", line 193, in export
result = self.export_func(session, path, kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 571, in save
session.save(output, version=version)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 440, in save
mgr.discovery(self._state_containers)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 200, in discovery
self.processed[key] = self.process(obj)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 226, in process
return copy_state(data, convert=self._add_obj)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 172, in copy_state
return _copy(data)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 159, in _copy
items = [(_copy(k), _copy(v)) for k, v in data.items()]
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 159, in <listcomp>
items = [(_copy(k), _copy(v)) for k, v in data.items()]
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 159, in _copy
items = [(_copy(k), _copy(v)) for k, v in data.items()]
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 159, in <listcomp>
items = [(_copy(k), _copy(v)) for k, v in data.items()]
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/state.py", line 170, in _copy
return convert(data)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 206, in _add_obj
uid = _UniqueName.from_obj(self.session, obj)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 105, in from_obj
(obj_cls.name, bundle_info.name))
RuntimeError: unable to restore objects of LengthsPlot class in ChimeraX-Crosslinks bundle
I'd started ChimeraX from the Terminal and these messages had appeared therein (in case it matters):
[chopin:~/Desktop] meng% chix hb3.cxc
GVA info: Successfully connected to the Intel plugin, offline Gen7
Could not find tool "Crosslinks"
2017-08-08 15:53:29.097 QtWebEngineProcess[35162:2034939] Couldn't set selectedTextBackgroundColor from default ()
Attachments (1)
Change History (3)
by , 8 years ago
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Forgot to close this 2 months ago.
Fixed.
Changed tools to by default not save session state unless they say they are saving session state.