Skip to content

Paraview with docker #875

Description

@UlysseDurand

Describe the bug
The trame paraview with Docker example doesn't work.

To Reproduce

  1. Go to examples/07_paraview/Docker
  2. Update Dockerfile's paraview URL with the following line (old URL is deprecated)
ARG PV_URL='https://www.paraview.org/files/v5.13/ParaView-5.13.3-osmesa-MPI-Linux-Python3.10-x86_64.tar.gz'
  1. Build (takes some time to download paraview)
docker build -t test .
  1. Run
docker run -it --rm -p 9000:80 test

It shows

ulysse-durand@ulyssedurand:~/git/trame/examples/07_paraview/Docker$ sudo docker run -it --rm -p 9000:80 test
 * Restarting Apache httpd web server apache2                                                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
                                                                                                                      [ OK ]
Starting server...
Starting the wslink launcher at
======== Running on http://0.0.0.0:9000 ========
(Press CTRL+C to quit)

Then when connecting with browser the loading animation doesn't stop

Image

After some browser refresh the console shows

Error handling request from 127.0.0.1
Traceback (most recent call last):
  File "/deploy/server/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 517, in _handle_request
    resp = await request_handler(request)
  File "/deploy/server/venv/lib/python3.10/site-packages/aiohttp/web_app.py", line 569, in _handle
    return await handler(request)
  File "/deploy/server/venv/lib/python3.10/site-packages/wslink/backends/aiohttp/launcher.py", line 91, in handle_post
    return await self._waitForReady(session, request)
  File "/deploy/server/venv/lib/python3.10/site-packages/wslink/backends/aiohttp/launcher.py", line 102, in _waitForReady
    if self.process_manager.isReady(session, count):
  File "/deploy/server/venv/lib/python3.10/site-packages/wslink/launcher.py", line 476, in isReady
    if not self.isRunning(id) and count < 60:
  File "/deploy/server/venv/lib/python3.10/site-packages/wslink/launcher.py", line 464, in isRunning
    return self.processes[id].poll() is None
KeyError: '25b4d5b2-3421-11f1-b7e5-4ebbde9d9884'

Platform:

Device:

  • Desktop
  • Mobile

OS:

  • Windows
  • MacOS
  • Linux
  • Android
  • iOS

Browsers Affected:

  • Chrome
  • Firefox
  • Microsoft Edge
  • Safari
  • Opera
  • Brave
  • IE 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions