Opened 7 years ago

Closed 7 years ago

#1512 closed enhancement (fixed)

No suitable models found for ViewDockX

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

Description

The following bug report has been submitted:
Platform:        Darwin-17.5.0-x86_64-i386-64bit
ChimeraX Version: 0.8 (2018-10-11)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.8 (2018-10-11)  
How to cite UCSF ChimeraX  

open /Users/dni/Desktop/old_des/map/apo_F.mrc ↵

Opened apo_F.mrc, grid size 485,485,485, pixel 0.5, shown at level 2.59, step
2, values float32  

set bgColor gray ↵

set bgColor black ↵

toolshed show "Side View"

set bgColor white ↵

lighting full ↵

lighting flat ↵

set silhouettes false ↵

lighting flat ↵

toolshed show ViewDockX

Traceback (most recent call last):  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/toolshed/info.py", line 571, in start_tool  
    ti = api._api_caller.start_tool(api, session, self, tool_info)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/toolshed/__init__.py", line 1233, in start_tool  
    return cls._get_func(api, "start_tool")(session, bi, ti)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/atomic/viewdockx/__init__.py", line 15, in start_tool  
    tool.setup()  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/atomic/viewdockx/tool.py", line 22, in setup  
    self._setup(structures)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/atomic/viewdockx/tool.py", line 53, in _setup  
    raise ValueError("No suitable models found for ViewDockX")  
ValueError: No suitable models found for ViewDockX  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/ui/gui.py", line 1003, in <lambda>  
    run(ses, "toolshed show %s" % quote_if_necessary(tool_name)))  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/run.py", line 31, in run  
    results = command.run(text, log=log)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py", line 2562, in run  
    result = ci.function(session, **kw_args)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/toolshed.py", line 337, in toolshed_show  
    bi.start_tool(session, tool_name)  
  File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/toolshed/info.py", line 577, in start_tool  
    "start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name,
self.name, str(e)))  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool ViewDockX
in bundle ChimeraX-ViewDockX:  
No suitable models found for ViewDockX  
  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool ViewDockX
in bundle ChimeraX-ViewDockX:  
No suitable models found for ViewDockX  
  
File
"/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/toolshed/info.py", line 577, in start_tool  
"start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name,
str(e)))  
  
See log for complete Python traceback.  
  




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

Change History (3)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedSurface/Binding Analysis
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionNo suitable models found for ViewDockX
Type: defectenhancement

The error is in fact correct, but perhaps it could be presented in a way that doesn't produce a bug-report dialog (e.g. raise UserError, or use logger.error("blah blah blah")).

toolshed.show would also have to be changed to not cough up a hairball for errors inheriting from NotABug.

comment:2 by Eric Pettersen, 7 years ago

Milestone: 1.0

comment:3 by Conrad Huang, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in ea93d0e6d and 38ed87e9c.

Instead of traceback, user gets an error message now.

Note: See TracTickets for help on using tickets.