#765 closed defect (fixed)
"usage blast" gives traceback (delayed registration failed)
Reported by: | Elaine Meng | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Sequence | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
usage blast
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/info.py", line 220, in _register_cmd
raise ToolshedError("bundle \"%s\"'s API forgot to override register_command()" % self.name)
chimerax.core.toolshed.ToolshedError: bundle "ChimeraX-Tug"'s API forgot to override register_command()
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.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 1767, in lazy_register
deferred.call()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 1698, in call
return self.proxy()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/info.py", line 206, in cb
s._register_cmd(n, l)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/info.py", line 224, in _register_cmd
"register_command() failed for command %s in bundle %s:\n%s" % (command_name, self.name, str(e)))
chimerax.core.toolshed.ToolshedError: register_command() failed for command blastprotein in bundle ChimeraX-Tug:
bundle "ChimeraX-Tug"'s API forgot to override register_command()
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.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 178, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2395, in run
result = ci.function(session, kw_args)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/usage.py", line 67, in usage
usage = cli.usage(command_name, show_hidden=show_hidden)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2562, in usage
cmd._find_command_name(no_aliases=no_aliases)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2117, in _find_command_name
what.lazy_register()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 1769, in lazy_register
raise RuntimeError("delayed registration failed")
RuntimeError: delayed registration failed
RuntimeError: delayed registration failed
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 1769, in lazy_register
raise RuntimeError("delayed registration failed")
See log for complete Python traceback.
If you wish to report this error, send mail to chimerax-bugs@… and describe what you were doing and include a copy of the contents of the log.
Change History (2)
comment:1 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 by , 8 years ago
Component: | Unassigned → Sequence |
---|
Fixed in 2837440. Wrong ChimeraX classifiers were added to ChimeraX-Tug during bundle layout migration.