Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2281 closed defect (duplicate)

C++ Ring object gone

Reported by: zlwatson@… Owned by: pett
Priority: normal Milestone:
Component: Sessions Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-4.18.0-25-generic-x86_64-with-debian-buster-sid
ChimeraX Version: 0.91 (2019-07-16)
Description
Trying to open an old session

Log:
Startup Messages  
---  
warnings | QXcbConnection: XCB error: 148 (Unknown), sequence: 214, resource
id: 0, major code: 140 (Unknown), minor code: 20  
QXcbConnection: XCB error: 148 (Unknown), sequence: 235, resource id: 0, major
code: 140 (Unknown), minor code: 20  
  
UCSF ChimeraX version: 0.91 (2019-07-16)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open ptc-2.cxs

opened ChimeraX session  
Traceback (most recent call last):  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/nucleotides/_data.py", line 501, in rebuild  
_rebuild_molecule('internal', mol)  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/nucleotides/_data.py", line 621, in _rebuild_molecule  
mol.bounds() # need to recompute ribbon first TODO: another way?  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/structure.py", line 1691, in bounds  
self._update_graphics_if_needed() # Ribbon bounds computed from graphics  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/structure.py", line 314, in
_update_graphics_if_needed  
self._create_ring_graphics()  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/structure.py", line 500, in _create_ring_graphics  
atoms = ring.ordered_atoms  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/site-
packages/chimerax/atomic/molc.py", line 161, in get_prop  
vcount = getattr(self, value_count)  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/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 "new frame": 'Ring' object has no attribute
'_c_pointer_ref':  
AttributeError: 'Ring' object has no attribute '_c_pointer_ref'  
  
File "/EM/chimerax/chimerax-2019.07.16/lib/python3.7/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.  
  




OpenGL version: 3.3.0 NVIDIA 418.67
OpenGL renderer: GeForce RTX 2080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Attachments (1)

ptc-2.cxs (2.3 MB ) - added by zlwatson@… 6 years ago.
Added by email2trac

Change History (6)

comment:1 by pett, 6 years ago

Cc: Greg Couch added
Component: UnassignedSessions
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionC++ Ring object gone

comment:2 by pett, 6 years ago

Hi Zoe,

Is there any chance you could provide the session (ptc-2.cxs) that exhibits this problem?

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

comment:3 by Greg Couch, 6 years ago

Resolution: duplicate
Status: acceptedclosed

This is probably a duplicate of #2240 which has been fixed.

in reply to:  4 ; comment:4 by zlwatson@…, 6 years ago

Hi,

Wow somehow I missed the email from August, sorry. The file is attached.

Zoe

On Thu, Oct 24, 2019 at 2:52 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

ptc-2.cxs

by zlwatson@…, 6 years ago

Attachment: ptc-2.cxs added

Added by email2trac

comment:5 by pett, 6 years ago

Hi Zoe,

Thanks for getting back to me, even if somewhat belatedly. :-) One of the reasons I was closing your ticket was that we just today put in a fix for what seems to be the same error reported by someone else. Using your session, I can verify that the fix allows your session to open without error. So if you get tomorrow's build you will be able to open this session again.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.