-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Failed taking a screenshot Message: 'geckodriver' executable needs to be in PATH. superset 4.1.1 #32395
Comments
Hey @Pavanpatil0744! I'm here to help you with any bugs, questions, or contributions you have for Apache Superset. Let's work together to solve this issue! I found some similar discussions regarding the error "Failed taking a screenshot Message: 'geckodriver' executable needs to be in PATH" in Apache Superset:
To resolve this issue in Apache Superset version 4.1.1, you need to ensure that ENV GECKODRIVER_VERSION=0.29.0
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && \
tar -x geckodriver -zf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -O > /usr/bin/geckodriver && \
chmod 755 /usr/bin/geckodriver && \
rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz If you are using Superset docker images with a tag ending in To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Hey @dosu, thanks for your response! I'm running Apache Superset 4.1.1 using Docker Compose (docker-compose-image-tag.yml). Could you guide me on how to install geckodriver inside my Docker setup? |
To install ENV GECKODRIVER_VERSION=0.29.0
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && \
tar -x geckodriver -zf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -O > /usr/bin/geckodriver && \
chmod 755 /usr/bin/geckodriver && \
rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz This snippet will download the specified version of To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
@dosu @sfirke I checked my Dockerfile, and the installation steps for geckodriver are already present `# Install GeckoDriver WebDriver RUN apt-get update -qq However, I'm still encountering the error |
@Pavanpatil0744 you installed the driver, but where is the bit where you export the envvar ? can you send here the report on the |
Since the installation steps for
If these steps do not resolve the issue, consider using an alternative method for generating reports, such as configuring Superset to use Chrome instead of Firefox, as suggested in the Superset documentation [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Bug description
I set up Apache Superset version 4.1.1 using Docker Compose with the following steps:
Clone the Apache Superset repository
git clone --depth=1 https://github.com/apache/superset.git
cd superset
Fetch and checkout version 4.1.1
git fetch origin --tags
git checkout 4.1.1
export TAG=4.1.1
Start Superset using Docker Compose
docker compose -f docker-compose-image-tag.yml up -d
Everything is working fine except sending reports via SMTP
Getting this error
Failed taking a screenshot Message: 'geckodriver' executable needs to be in PATH.
Any guidance on resolving this would be greatly appreciated!
Let me know if any additional logs or configurations are needed.
Screenshots/recordings
Logs of Superset-worker
Also, check geckodriver --version
Show command not found
Superset version
4.1.1
Python version
3.9
Node version
16
Browser
Firefox
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: