Opened 6 years ago

Closed 6 years ago

#1939 closed defect (duplicate)

Unexpected None data given to NamedView.restore_snapshot()

Reported by: chimerax-bug-report@… 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:        Linux-4.4.0-112-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.8 (2018-12-17)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
note | Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/__init__.py", line 338, in __init__  
self.init_available_from_cache(logger)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/__init__.py", line 445, in  
init_available_from_cache  
abc.load_from_cache()  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/available.py", line 61, in load_from_cache  
b = _build_bundle(d)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/available.py", line 242, in _build_bundle  
keywords = _extract_extra_keywords(keywords)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/installed.py", line 270, in  
_extract_extra_keywords  
all_kwds = [k.strip() for k in kwds.split(',')]  
AttributeError: 'list' object has no attribute 'split'  
  
UCSF ChimeraX version: 0.8 (2018-12-17)  
How to cite UCSF ChimeraX  

> open imada_senssion.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/session.py", line 593, in restore  
obj = sm.restore_snapshot(self, data)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/std_commands/view.py", line 214, in restore_snapshot  
for k,v in data['view attrs'].items():  
TypeError: 'NoneType' object is not subscriptable  
  
opened ChimeraX session  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/map/volume.py", line 3370, in _update_drawings  
if v.display:  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py", line 311, in get_display  
return self._any_displayed_positions and len(self._positions) > 0  
TypeError: object of type 'NoneType' has no len()  
  
Error processing trigger "graphics update": object of type 'NoneType' has no
len():  
TypeError: object of type 'NoneType' has no len()  
  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py", line 311, in get_display  
return self._any_displayed_positions and len(self._positions) > 0  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 390.87
OpenGL renderer: Quadro K2200/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUnexpected None data given to NamedView.restore_snapshot()

comment:2 by pett, 6 years ago

Resolution: duplicate
Status: assignedclosed

duplicate of #1660

Note: See TracTickets for help on using tickets.