Skip to content

Werkt niet docker (ARM64) #4

Description

@finnie2006

ik probeerde het vandaag in docker, maar ik krijg de volgende error

You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Logging in to Magister...
/home/container/magister2google.py:69: DeprecationWarning: There is no current event loop
  asyncio.get_event_loop().run_until_complete(main())
Traceback (most recent call last):
  File "/home/container/magister2google.py", line 69, in <module>
    asyncio.get_event_loop().run_until_complete(main())
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/home/container/magister2google.py", line 48, in main
    browser = await launch({"headless": True, "args": ["--start-maximized"]})
  File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 307, in launch
    return await Launcher(options, **kwargs).launch()
  File "/home/container/.local/lib/python3.10/site-packages/pyppeteer/launcher.py", line 148, in launch
    self.proc = subprocess.Popen(  # type: ignore
  File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/container/.local/share/pyppeteer/local-chromium/588429/chrome-linux/chrome'

Ik draai het in docker arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions