TapSwapBot icon indicating copy to clipboard operation
TapSwapBot copied to clipboard

Unknown error while Login: [Errno 8] Exec format error: 'webdriver/THIRD_PARTY_NOTICES.chromedriver' | Response tex

Open prognt opened this issue 1 year ago • 4 comments

2024-07-26T00:28:37.413864000Z 2024-07-26 05:28:37 | ERROR | 105 - 1419 | Unknown error while Login: [Errno 8] Exec format error: 'webdriver/THIRD_PARTY_NOTICES.chromedriver' | Response text: ...

last update error in docker webdriver-manager==4.0.2 works for me

prognt avatar Jul 27 '24 00:07 prognt

Hay, I have the same problem. Your method didn't work, maybe there are other solutions?

IvanEvtushenko avatar Jul 27 '24 14:07 IvanEvtushenko

Wow, that was easy. We need the 11th version of python (I dont know, may be I am lucky)

IvanEvtushenko avatar Jul 27 '24 15:07 IvanEvtushenko

Added chrome_install.sh to Dockerfile and everything works.

FROM python:3.11.4-slim

WORKDIR /app

COPY . /app

RUN apt update && apt install -y \
    wget \
    curl \
    gnupg \
    apt-transport-https \
    ca-certificates

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
    sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' && \
    apt update && \
    apt install -y google-chrome-stable && \
    apt clean

RUN sh chrome_install.sh

RUN sh install.sh

RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt

CMD ["python3", "main.py", "-a", "2"]

Allihopp avatar Aug 05 '24 19:08 Allihopp

Added chrome_install.sh to Dockerfile and everything works.

FROM python:3.11.4-slim

WORKDIR /app

COPY . /app

RUN apt update && apt install -y \
    wget \
    curl \
    gnupg \
    apt-transport-https \
    ca-certificates

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
    sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' && \
    apt update && \
    apt install -y google-chrome-stable && \
    apt clean

RUN sh chrome_install.sh

RUN sh install.sh

RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt

CMD ["python3", "main.py", "-a", "2"]

i have same problem- what should i do?

BabakKashefi avatar Aug 09 '24 14:08 BabakKashefi