I am trying to install ChimeraX in an apptainer (singularity) container. I am able to load molecules but running into two issues.
Please let me know if you have any suggestions to address either of these issues.
Sample error output is below.
NOTE: available bundle cache has not been initialized yetNOTE: Traceback (most recent call last):
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/toolshed/info.py", line 571, in start_tool
ti = api._api_caller.start_tool(api, session, self, tool_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/toolshed/__init__.py", line 1286, in start_tool
return cls._get_func(api, "start_tool")(session, ti.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/log/__init__.py", line 50, in start_tool
return cmd.get_singleton(session, create=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/log/cmd.py", line 30, in get_singleton
return tools.get_singleton(session, Log, 'Log', create=create)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/tools.py", line 216, in get_singleton
tinst = tool_class(session, tool_name, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/log/tool.py", line 161, in __init__
from chimerax.ui.widgets import ChimeraXHtmlView
ImportError: cannot import name 'ChimeraXHtmlView' from 'chimerax.ui.widgets'
(/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/ui/widgets/__init__.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/tools.py", line 418, in start_tools
bi.start_tool(session, tool_name)
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/toolshed/info.py", line 578, in start_tool
raise ToolshedError(
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Log in
bundle ChimeraX-Log:
cannot import name 'ChimeraXHtmlView' from 'chimerax.ui.widgets'
(/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/ui/widgets/__init__.py)
BUG: Tool "Log" failed to start:
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Log in
bundle ChimeraX-Log:
cannot import name 'ChimeraXHtmlView' from 'chimerax.ui.widgets'
(/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/ui/widgets/__init__.py)
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/toolshed/info.py", line 578, in start_tool
raise ToolshedError(
_See log for complete Python traceback._
NOTE: UCSF ChimeraX version: 1.8 (2024-06-10)
NOTE: © 2016-2024 Regents of the University of California. All rights reserved.
NOTE: [How to cite UCSF ChimeraX](cxcmd:help help:credits.html)
NOTE: Traceback (most recent call last):
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke
return self._func(self._name, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/bug_reporter/crash_report.py", line 138, in
_delayed_register_log_recorder
_register_log_recorder(session)
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/bug_reporter/crash_report.py", line 172, in
_register_log_recorder
log.record_to_file(log_file)
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/log/tool.py", line 410, in record_to_file
self._log_to_file(self.page_source)
^^^^^^^^^^^^^^^^
AttributeError: 'Log' object has no attribute 'page_source'
BUG: Error processing trigger "new frame":
AttributeError: 'Log' object has no attribute 'page_source'
File "/usr/libexec/UCSF-ChimeraX/lib/python3.11/site-
packages/chimerax/log/tool.py", line 410, in record_to_file
self._log_to_file(self.page_source)
^^^^^^^^^^^^^^^^
_See log for complete Python traceback._