Opened 8 years ago
Closed 8 years ago
#1068 closed defect (fixed)
KeyError: 'string' in attribute registration code when hover over pseudobond
Reported by: | Tom Goddard | Owned by: | Eric Pettersen |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | Core | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Mouse hover over pseudobond gives error.
open 1zik
hbonds
hover mouse over pseudobond -> error
UCSF ChimeraX version: 0.5 (2018-03-21)
OpenGL version: 4.1 NVIDIA-10.28.10 355.11.10.10.20.111
OpenGL renderer: NVIDIA GeForce GT 650M OpenGL Engine
OpenGL vendor: NVIDIA Corporation
How to cite UCSF ChimeraX
open 1zik format mmcif fromDatabase pdb
Summary of feedback from opening 1zik fetched from pdb
notes Used PDBx fixed column width tables to speed up reading mmCIF file
Used PDBx keywords to speed up reading mmCIF file
Chain information for 1zik #1
Chain Description
A B general control protein GCN4
1zik citation:
Gonzalez Jr., L., Woolfson, D.N., Alber, T. (1996). Buried polar residues and structural specificity in the GCN4 leucine zipper. Nat.Struct.Biol., 3, 1011-1018. PMID: 8946854. DOI: 10.1038/nsb1296-1011
Opened mmCIF data containing 546 atoms and 514 bonds
hbonds selAtoms
98 hydrogen bonds found
Traceback (most recent call last):
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/attr_registration.py", line 61, in get_attr
registrant, default_value, attr_type = self.reg_attr_info[attr_name]
KeyError: 'string'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/graphics.py", line 113, in _redraw_timer_callback
s.ui.mouse_modes.mouse_pause_tracking()
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 259, in mouse_pause_tracking
self._mouse_pause()
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 345, in _mouse_pause
m.pause(self._mouse_pause_position)
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 760, in pause
pu.show_text(p.description(), (x+10,y))
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 2756, in description
return str(self.pbond)
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molobject.py", line 122, in str
return self.string()
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/attr_registration.py", line 39, in getattr
return look_in_class._attr_registration.get_attr(attr_name)
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/attr_registration.py", line 63, in get_attr
raise AttributeError("'%s' object has no attribute '%s'" % (self.class_.name, attr_name))
AttributeError: 'Pseudobond' object has no attribute 'string'
AttributeError: 'Pseudobond' object has no attribute 'string'
File "/Users/goddard/Desktop/ChimeraX Mar 21 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/attr_registration.py", line 63, in get_attr
raise AttributeError("'%s' object has no attribute '%s'" % (self.class_.name, attr_name))
See log for complete Python traceback.
If you wish to report this error, send mail to chimerax-bugs@… and describe what you were doing and include a copy of the contents of the log. Don't include any data you wish to remain private since a publicly viewable bug report will be created.
Change History (2)
comment:1 by , 8 years ago
Status: | assigned → accepted |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |