The error you report running ChimeraX on a Chromebook is when it tries to import the standard Python OpenGL module

from OpenGL import GL

That suggests that the problem is that OpenGL is broken or not available on your machine.  ChimeraX requires OpenGL graphics to render 3d graphics.  So you'll have to fix OpenGL on your machine to get it to work.

Tom

On Dec 28, 2023, at 11:23 PM, Roger Cole via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Good Evening

I wanted to asked about compatibility and installation issues.

I am currently using a Chromebook with Linux Debian 11 (Bootstrap) and I am trying to get ChimeraX 1.7 installed onto it. I keep coming into errors when I try to run it by the way specified on the site.

For info: "
Download is a tarball of the chimerax application directory. Make symbolic link to executable in chimerax/bin/ChimeraX. Do not put on path. It may require additional libraries and/or older versions of libraries to be installed. 
More Info...built: 2023-12-19 02:49:21 PST
committed: 2023-12-19 00:36:03 PST
size: 584.1 MiB
md5: d44f016e787d45621a077b04852ab66c
sha256: 005bd0b6942b5e8c3a32ad39bb6ea1118da173217c2c0c51d3e0c665913e6c3a

I used the Generic Linux download and with all i could look up with and try to figure out with ChatGPT, I get this when I try to run it:

"NOTE: available bundle cache has not been initialized yet
WARNING: Traceback (most recent call last):
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/core/toolshed/info.py", line 376, in initialize
    api._api_caller.initialize(api, session, self)
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/core/toolshed/__init__.py", line 1294, in initialize
    return cls._get_func(api, "initialize")(session, bi)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/__init__.py", line 31, in initialize
    from .ui.segmentation_mouse_mode import (
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/ui/segmentation_mouse_mode.py", line 20, in <module>
    from .segmentations import SegmentationTool
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/ui/segmentations.py", line 55, in <module>
    from ..ui.orthoplanes import Axis
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/ui/orthoplanes.py", line 51, in <module>
    from ..graphics import (
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/graphics/__init__.py", line 1, in <module>
    from .view import OrthoplaneView
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/dicom/graphics/view.py", line 6, in <module>
    from chimerax.graphics import gllist
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/graphics/gllist.py", line 71, in <module>
    wrap_opengl_routines(globals())
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/graphics/gllist.py", line 22, in wrap_opengl_routines
    from OpenGL import GL
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/OpenGL/GL/__init__.py", line 4, in <module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
    from OpenGL.raw.GL.VERSION.GL_1_1 import *
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
    from OpenGL.raw.GL import _errors
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module>
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
                                        ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'glGetError'

ERROR: Bundle 'ChimeraX-Dicom' custom initialization failed
NOTE: Traceback (most recent call last):  
  File "<frozen runpy>", line 198, in _run_module_as_main  
  File "<frozen runpy>", line 88, in _run_code  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/core/__main__.py", line 1069, in <module>  
    exit_code = init(sys.argv)  
                ^^^^^^^^^^^^^^  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/core/__main__.py", line 722, in init  
    sess.ui.build()  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/ui/gui.py", line 191, in build  
    self.main_window = mw = MainWindow(self, self.session)  
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/ui/gui.py", line 445, in __init__  
    self.graphics_window = g = GraphicsWindow(self._stack, ui, stereo)  
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/ui/graphics.py", line 36, in __init__  
    oc = OpenGLContext(self, ui.primaryScreen(), use_stereo = stereo)  
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 60, in __init__  
    _initialize_pyopengl() # Set global GL module.  
    ^^^^^^^^^^^^^^^^^^^^^^  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 375, in _initialize_pyopengl  
    import OpenGL.GL  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/OpenGL/GL/__init__.py", line 4, in <module>  
    from OpenGL.GL.VERSION.GL_1_1 import *  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>  
    from OpenGL.raw.GL.VERSION.GL_1_1 import *  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>  
    from OpenGL.raw.GL import _errors  
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/OpenGL/raw/GL/_errors.py", line 4, in <module>  
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )  
                                        ^^^^^^^^^^^^^^^^  
AttributeError: 'NoneType' object has no attribute 'glGetError'  
  

BUG: AttributeError: 'NoneType' object has no attribute 'glGetError'  
  
File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-
packages/OpenGL/raw/GL/_errors.py", line 4, in  
_error_checker = _ErrorChecker( _p, _p.GL.glGetError )  
^^^^^^^^^^^^^^^^  
  
 _See log for complete Python traceback._  
  

NOTE: Exception ignored in: <function OpenGLContext.__del__ at 0x7e24611d5a80>
Traceback (most recent call last):
  File "/home/rogercoleucf/chimerax-1.7/lib/python3.11/site-packages/chimerax/graphics/opengl.py", line 85, in __del__
    if not self._deleted:
           ^^^^^^^^^^^^^
AttributeError: 'OpenGLContext' object has no attribute '_deleted'"



This is as far as i could get

I apologize about the lengthy message, and thank you for any assistance you can give
-CJ

_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/