batonogov / docker-pyinstaller

PyInstaller for Linux, Windows and OSX (Experimental) inside Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ntdll.so Path Missing

DRed9X opened this issue · comments

commented

First thanks for this image. I really appreciate it. When I use the 3.0.1 image everything compiles just fine, but any version newer than that gives me this error:

wine: cannot get path to ntdll.so

Any ideas as to why this happens? This does not happen on 3.0.1. Using the pyinstaller-windows image.

Hello, thanks for the feedback. As I understand it, since version 3.0.2 you get an error. If we compare the dockerfiles for pyinstaller-windows, the differences are minimal.

github.com/batonogov/docker-pyinstaller/compare/3.0.1...3.0.2

FROM ubuntu:20.04
FROM ubuntu:22.04

LABEL maintainer="f.batonogov@yandex.ru"

ENV DEBIAN_FRONTEND noninteractive

ARG WINE_VERSION=winehq-stable
ARG PYTHON_VERSION=3.11.1
ARG PYINSTALLER_VERSION=5.7.0
ARG PYTHON_VERSION=3.11.2
ARG PYINSTALLER_VERSION=5.8.0

# we need wine for this all to work, so we'll use the PPA
RUN set -x \

I will look for a solution to the problem. Thanks.

Can't get an error. In which scenario are you getting the error?

~ docker run --platform linux/amd64 --rm -it batonogov/pyinstaller-windows:3.0.1 "wine --version && python --version"
wine --version && python --version
wine-7.0.1
0098:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0098:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0098:err:systray:initialize_systray Could not create tray window
Python 3.11.1~ docker run --platform linux/amd64 --rm -it batonogov/pyinstaller-windows:3.1.4 "wine --version && python --version"
wine --version && python --version
wine-8.0.1
00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d4:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00d4:err:systray:initialize_systray Could not create tray window
Python 3.11.4