Opened 6 years ago

Closed 6 years ago

#2046 closed defect (duplicate)

Basic Actions: KeyError: 'selector'

Reported by: chimerax-bug-report@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-06-01)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.9 (2019-06-01)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Thank you for registering your copy of ChimeraX. By providing the information
requested you will be helping us document the impact this software is having
in the scientific community. The information you supplied will only be used
for reporting summary usage statistics; no individual data will be released.  
a.kasiliauskaite@gmail.com is subscribed to the ChimeraX announcements list  

> open 3psi

3psi title:  
Crystal Structure of the Spt6 core domain from Saccharomyces cerevisiae, Form
Spt6(239-1451) [more info...]  
  
Chain information for 3psi #1  
---  
Chain | Description  
A | Transcription elongation factor SPT6  
  
  

> set bgColor white

> hide #!1.1 models

> preset cartoons/nucleotides cylinders/stubs

Changed 0 atom styles  
Preset expands to these ChimeraX commands: surf hide; style
(protein|nucleic|solvent) & @@draw_mode=0 stick; cartoon; cartoon style modeh
def arrows t arrowshelix f arrowscale 2 wid 2 thick 0.4 sides 12 div 20;
cartoon style ~(nucleic|strand) x round; cartoon style (nucleic|strand) x
rect; cartoon style protein modeh tube rad 2 sides 24 thick 0.6; cartoon style
nucleic x round width 1.6 thick 1.6; nucleotides stubs  

> preset cartoons/nucleotides ribbons/slabs

Changed 0 atom styles  
Preset expands to these ChimeraX commands: surf hide; style
(protein|nucleic|solvent) & @@draw_mode=0 stick; cartoon; cartoon style modeh
def arrows t arrowshelix f arrowscale 2 wid 2 thick 0.4 sides 12 div 20;
cartoon style ~(nucleic|strand) x round; cartoon style (nucleic|strand) x
rect; nucleotides tube/slab shape box  

> preset cartoons/nucleotides licorice/ovals

Changed 0 atom styles  
Preset expands to these ChimeraX commands: surf hide; style
(protein|nucleic|solvent) & @@draw_mode=0 stick; cartoon; cartoon style modeh
def arrows t arrowshelix f arrowscale 2 wid 2 thick 0.4 sides 12 div 20;
cartoon style ~(nucleic|strand) x round; cartoon style (nucleic|strand) x
rect; cartoon style protein modeh default arrows f x round width 1 thick 1;
cartoon style nucleic x round width 1.6 thick 1.6; nucleotides tube/slab shape
ellipsoid  

> preset "initial styles" cartoon

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> preset "overall look" publication

Preset expands to these ChimeraX commands: set bg white; set silhouettes t  

> preset cartoons/nucleotides ribbons/slabs

Changed 0 atom styles  
Preset expands to these ChimeraX commands: surf hide; style
(protein|nucleic|solvent) & @@draw_mode=0 stick; cartoon; cartoon style modeh
def arrows t arrowshelix f arrowscale 2 wid 2 thick 0.4 sides 12 div 20;
cartoon style ~(nucleic|strand) x round; cartoon style (nucleic|strand) x
rect; nucleotides tube/slab shape box  

> toolshed show "Basic Actions"

> show /A target s

> color /A #108040 target s

> movie record

> turn y 2 180

> wait 180

> movie encode /Users/aiste/Desktop/movie3.mp4

Movie saved to /Users/aiste/Desktop/movie3.mp4  
  

> lighting simple

> lighting soft

> movie record

> turn y 2 180

> wait 180

> movie encode /Users/aiste/Desktop/movie4.mp4

Movie saved to /Users/aiste/Desktop/movie4.mp4  
  

> open /Users/aiste/Downloads/blockedtSH2_surface.pdb

Chain information for blockedtSH2_surface.pdb #2  
---  
Chain | Description  
| No description available  
A | No description available  
B | No description available  
C | No description available  
D | No description available  
E | No description available  
F | No description available  
G | No description available  
  

> close #1

> select /G

1582 atoms, 1617 bonds selected  

> select #2/G:1253-1440

1578 atoms, 1617 bonds selected  

> sequence chain #2/G

Alignment identifier is 2.G  

Missing or invalid "chains" argument: only initial part "#2" of atom specifier
valid  
Missing or invalid "chains" argument: only initial part "#2" of atom specifier
valid  

> sequence chain #2/A

Alignment identifier is 2.A  

> open /Users/aiste/Downloads/blockedtSH2_surfaceX.pdb

Chain information for blockedtSH2_surfaceX.pdb #1  
---  
Chain | Description  
| No description available  
A | No description available  
B | No description available  
C | No description available  
D | No description available  
E | No description available  
F | No description available  
G | No description available  
  

Missing or invalid "chains" argument: only initial part "#1" of atom specifier
valid  
Missing or invalid "chains" argument: only initial part "#1" of atom specifier
valid  

> close #2

> hide #!1.1 models

> delete sel

> delete sel

> preset "overall look" publication

Preset expands to these ChimeraX commands: set bg white; set silhouettes t  

> hide /G target abp

> hide /F target abp

> hide /E target abp

> hide /D target abp

> hide /C target abp

> hide /B target abp

> hide /A target abp

> show /A target c

> show /C target c

> show /D target c

> show /E target c

> show /F target c

> show /G target c

> show /A target c

> show /B target c

> show /C target c

> show /D target c

> show /E target c

> show /F target c

> show /G target c

> show /G target s

> show /F target s

> show /E target s

> show /D target s

> show /C target s

> show /A target s

> show /B target s

> select :30@CA

1 atom selected  

> select :31@CA

1 atom selected  

> select :30@CA

1 atom selected  

> select :31@CA

1 atom selected  

> select clear

> select clear

> hide /A target s

> hide /B target s

> hide /C target s

> hide /D target s

> hide /E target s

> hide /F target s

> hide /G target s

> hide /G target c

> hide /F target c

> hide /E target c

> hide /D target c

> hide /C target c

> hide /B target c

> hide /A target c

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> hide /A target s

> hide /B target s

> show /A target s

> show /B target s

> show /C target s

> show /C target s

> show /D target s

> show /E target s

> show /F target s

> show /G target s

> show /G target s

> show /F target s

> hide /G target s

> hide /F target s

> hide /E target s

> hide /D target s

> hide /C target s

> hide /B target s

> hide /A target s

> hide /G target s

> show /G target s

> show /G target s

> hide /G target s

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> show /G target s

> show /F target s

> show /E target s

> show /C target s

> show /B target s

> show /A target s

Traceback (most recent call last):  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 556, in customEvent  
func(*args, **kw)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 160, in handle_scheme  
method(query)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
KeyError: 'selector'  
  
KeyError: 'selector'  
  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
  
See log for complete Python traceback.  
  

> show /A target s

> show /B target s

> show /C target s

> show /D target s

> show /E target s

> show /F target s

> show /G target s

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> hide /G target s

> hide /F target s

> hide /E target s

> hide /D target s

> hide /C target s

> hide /B target s

> hide /A target s

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "translate selected models"

> hide /G target s

> show /G target s

> show /F target s

> show /E target s

> show /D target s

> show /C target s

> show /B target s

> show /A target s

Traceback (most recent call last):  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 556, in customEvent  
func(*args, **kw)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 160, in handle_scheme  
method(query)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
KeyError: 'selector'  
  
KeyError: 'selector'  
  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 556, in customEvent  
func(*args, **kw)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 160, in handle_scheme  
method(query)  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
KeyError: 'selector'  
  
KeyError: 'selector'  
  
File
"/Applications/ChimeraX-0.9-rc-2019.06.01.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/tool.py", line 167, in _cb_show_hide  
selector = query["selector"][0]  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon HD - FirePro D700 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedGeneral Controls
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionBasic Actions: KeyError: 'selector'

comment:2 by pett, 6 years ago

Resolution: duplicate
Status: assignedclosed

duplicate of #2044

Note: See TracTickets for help on using tickets.