Opened 6 years ago

Closed 6 years ago

#2559 closed defect (fixed)

Session restore: 'Ring' object has no attribute '_c_pointer_ref'

Reported by: sitins07@… 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:        Windows-10-10.0.17763
ChimeraX Version: 0.91 (2019-10-24)
Description
Occured during loading the session. Session opened but one model(pdb) became invisible.


Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.91 (2019-10-24)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open Z:\ALL\Niels\Valik\For_Paper\Chimera\interactions_3_CTD.cxs

opened ChimeraX session  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\core\triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\structure.py", line 2659, in
_update_graphics_if_needed  
s[i]._update_graphics_if_needed()  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\structure.py", line 309, in
_update_graphics_if_needed  
self._create_ring_graphics()  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\structure.py", line 495, in _create_ring_graphics  
atoms = ring.ordered_atoms  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\molc.py", line 161, in get_prop  
vcount = getattr(self, value_count)  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\molc.py", line 93, in get_prop  
cget(self._c_pointer_ref, 1, v_ref)  
AttributeError: 'Ring' object has no attribute '_c_pointer_ref'  
  
Error processing trigger "graphics update":  
AttributeError: 'Ring' object has no attribute '_c_pointer_ref'  
  
File "C:\Program Files\ChimeraX_24_10\bin\lib\site-
packages\chimerax\atomic\molc.py", line 93, in get_prop  
cget(self._c_pointer_ref, 1, v_ref)  
  
See log for complete Python traceback.  
  

> hide #13 models

> show #13 models




OpenGL version: 3.3.0 NVIDIA 431.94
OpenGL renderer: Quadro P4000/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 submissionSession restore: 'Ring' object has no attribute '_c_pointer_ref'

comment:2 by pett, 6 years ago

Resolution: fixed
Status: assignedclosed

Hi Valentyn,

Thanks for reporting this problem. I believe it was fixed the very day you downloaded your version of ChimeraX and the fix was in the _next_ build. So if you get a current build I think you will be able to restore your session. Sorry for the inconvenience.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.