Opened 7 years ago

Closed 7 years ago

#1555 closed defect (fixed)

Error trying to delete from command history

Reported by: xmq234@… Owned by: Eric Pettersen
Priority: normal Milestone:
Component: Command Line Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2018-12-19)
Description
The history of command were unable to be deleted
File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 334, in <lambda>     but.clicked.connect(lambda arg, txt=but_name: self.button_clicked(txt))   File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 421, in button_clicked     if self.typed_only and not h[1]: NameError: name 'h' is not defined NameError: name 'h' is not defined File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 421, in button_clicked if self.typed_only and not h[1]:

Log:
UCSF ChimeraX version: 0.9 (2018-12-19)  
How to cite UCSF ChimeraX  

Unknown command: clear  

> info path user unversioned data

user unversioned data directory: /Users/mingquanxie/Library/Application
Support/ChimeraX  
Traceback (most recent call last):  
File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py", line 334, in <lambda>  
but.clicked.connect(lambda arg, txt=but_name: self.button_clicked(txt))  
File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py", line 421, in button_clicked  
if self.typed_only and not h[1]:  
NameError: name 'h' is not defined  
  
NameError: name 'h' is not defined  
  
File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py", line 421, in button_clicked  
if self.typed_only and not h[1]:  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-10.36.22
OpenGL renderer: Intel(R) Iris(TM) Graphics 650
OpenGL vendor: Intel Inc.

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedCommand Line
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionError trying to delete from command history

comment:2 by Eric Pettersen, 7 years ago

Resolution: fixed
Status: acceptedclosed

Hi Katherine,

Thanks for reporting this error. I have committed a fix which will appear in tomorrow's builds. Sorry for the inconvenience.

--Eric

Eric Pettersen

UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.