Opened 6 years ago

Closed 6 years ago

#2550 closed defect (duplicate)

'OptionalRGBAOption' object has no attribute 'get'

Reported by: zhs63@… Owned by: pett
Priority: normal Milestone:
Component: Sequence 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.18362
ChimeraX Version: 0.9 (2019-06-06)
Description
Fail to set color for selected sequence

Log:
UCSF ChimeraX version: 0.9 (2019-06-06)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "D:\\\Dropbox\\\Nb technology_Yufei and Zhe\\\Manuscript\\\Publication
Figs\\\Antigen Structures\\\GST_2fno.pdb"

File not found: D:\Dropbox\Nb technology_Yufei and Zhe\Manuscript\Publication
Figs\Antigen Structures\GST_2fno.pdb  
File not found: D:\Dropbox\Nb technology_Yufei and Zhe\Manuscript\Publication
Figs\Antigen Structures\GST_2fno.pdb  

> open "D:\\\Dropbox\\\Nb technology_Yufei and Zhe\\\Manuscript\\\Publication
Figs\\\Antigen Structures\\\HSA_1e78.pdb"

File not found: D:\Dropbox\Nb technology_Yufei and Zhe\Manuscript\Publication
Figs\Antigen Structures\HSA_1e78.pdb  
File not found: D:\Dropbox\Nb technology_Yufei and Zhe\Manuscript\Publication
Figs\Antigen Structures\HSA_1e78.pdb  

> open "C:\\\Users\\\shi lab\\\Downloads\\\1mel.pdb"

1mel.pdb title:  
Crystal structure of A camel single-domain VH antibody fragment In complex
with lysozyme [more info...]  
  
Chain information for 1mel.pdb #1  
---  
Chain | Description  
A B | CAB-LYS3 complex  
L M | lysozyme  
  

> select /A:2-133

973 atoms, 996 bonds selected  

> hide selAtoms

> hide selAtoms ribbons

> select /L:1-127

981 atoms, 1005 bonds selected  

> hide selAtoms ribbons

> select /M:1-127

981 atoms, 1005 bonds selected  

> show selAtoms surfaces

> select /B:2-133

973 atoms, 996 bonds selected  

> show selAtoms ribbons

> show selAtoms surfaces

> hide selAtoms surfaces

> show selAtoms

> hide selAtoms

Alignment identifier is 1.B  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\options\options.py", line 482, in <lambda>  
mcb.color_changed.connect(lambda c, s=self: s.make_callback())  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\options\options.py", line 170, in make_callback  
self._callback(self)  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 41, in <lambda>  
self._setting_change_cb(cat, o), attr_name=attr_name, settings=sv.settings,
**ctor_keywords)  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 87, in _setting_change_cb  
colors = [opt.get(), None]  
AttributeError: 'OptionalRGBAOption' object has no attribute 'get'  
  
AttributeError: 'OptionalRGBAOption' object has no attribute 'get'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 87, in _setting_change_cb  
colors = [opt.get(), None]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\options\containers.py", line 237, in _reset  
opt.make_callback()  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\options\options.py", line 170, in make_callback  
self._callback(self)  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 41, in <lambda>  
self._setting_change_cb(cat, o), attr_name=attr_name, settings=sv.settings,
**ctor_keywords)  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 87, in _setting_change_cb  
colors = [opt.get(), None]  
AttributeError: 'OptionalRGBAOption' object has no attribute 'get'  
  
AttributeError: 'OptionalRGBAOption' object has no attribute 'get'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\seq-
view\settings_tool.py", line 87, in _setting_change_cb  
colors = [opt.get(), None]  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 - Build 25.20.100.6617
OpenGL renderer: Intel(R) UHD Graphics 630
OpenGL vendor: Intel

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedSequence
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submission'OptionalRGBAOption' object has no attribute 'get'

comment:2 by pett, 6 years ago

Resolution: duplicate
Status: acceptedclosed

Hi,

Thanks for reporting this problem. It has been fixed for a few months now, so if you download a new version of ChimeraX you should no longer encounter this error.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.