Opened 9 years ago

Closed 9 years ago

#434 closed defect (fixed)

"ts refresh" gives traceback mentioning ihm

Reported by: Elaine Meng Owned by: Greg Couch
Priority: major Milestone:
Component: Tool Shed Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

UCSF ChimeraX version: 0.1 (2016-09-16)

toolshed refresh
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/toolshed/init.py", line 1289, in finish
f = self._get_module().finish
AttributeError: module 'chimerax.ihm' has no attribute 'finish'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 146, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2221, in run
_used_aliases=used_aliases))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2597, in call
return self.cmd.run(text, _used_aliases=_used_aliases, log=log)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2206, in run
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/toolshed/cmd.py", line 66, in ts_refresh
ts.reload(logger, session=session, rebuild_cache=True, check_remote=False)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/toolshed/init.py", line 329, in reload
bi.finish(session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/toolshed/init.py", line 1292, in finish
% self.name)
chimerax.core.toolshed.ToolshedError: no finish function found for bundle "ihm"

Change History (2)

comment:1 by Conrad Huang, 9 years ago

Owner: changed from Conrad Huang to Greg Couch
Status: newassigned

This probably has something to do with the conversion from "tools" to "bundles".

comment:2 by Greg Couch, 9 years ago

Resolution: fixed
Status: assignedclosed

This error actually comes from better error checking of the bundle API in the toolshed. This particular error is now a warning instead of an error, so no traceback is produced.

Note: See TracTickets for help on using tickets.