-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing GL version error on docker windows container while running pyvista #2
Comments
Do you have a repo where this CI is running? |
The docker image that I want to build will be in fact used for CI in Pyleecan. |
Can you point me to the source for that docker image? i.e., the |
Please find it here |
So what exactly are you trying to do, where are you using this Action, and how can we reproduce the error you are encountering? |
I'm not sure how you plan on using the |
Maybe just adding something like the following to your docker image would work? COPY install_opengl.ps1 install_opengl.ps1
RUN Set-StrictMode -Version Latest \
$ErrorActionPreference = "Stop" \
$PSDefaultParameterValues['*:ErrorAction']='Stop' \
powershell install_opengl.ps1 |
The docker file does not reflect, as it is right now, how I want to use the image but the testing process can be done with the following lines:
I was just creating the environment and testing with the container CLI on docker desktop to validate the process. |
BTW, I had the same issue in a self-hosted windows container. I am using My workaround (maybe I should say chatgpt's workaround :P) is downloading # takeown /F $filepath /A
# icacls $filepath /grant "${env:ComputerName}\${env:UserName}:F"
$acl = Get-Acl $filepath
$acl.SetAccessRuleProtection($false, $false)
$rule = New-Object System.Security.AccessControl.FileSystemAccessRule("Users", "FullControl", "Allow")
$acl.AddAccessRule($rule)
Set-Acl $filepath $acl Maybe this comment #5 (comment) is also related to this in the first place and not directly to the old OSMesa version. I am still using the action just for the part where it sets up the |
Hi,
I am trying to build a docker image based on windows container (mcr.microsoft.com/windows:20H2) to run on it a python project, and I am getting issues running pyvista in the built container. In fact I have used this repository script to set up OpenGL related features like headless displays in my windows container, but when trying to run tests involving Pyvista I am getting windows fatal exception error which I think it is related to this below :
Here the pyvista report about the windows container:
Date: Tue May 10 11:17:18 2022 Paris, Madrid (heure d’été)
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit
(AMD64)]
Docker version 20.10.14, build a224086.
Thank you,
The text was updated successfully, but these errors were encountered: