You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "amartincolville (via GitHub)" <gi...@apache.org> on 2023/05/11 06:41:46 UTC

[GitHub] [superset] amartincolville commented on issue #22326: Error Report Failed Taking Screenshot

amartincolville commented on issue #22326:
URL: https://github.com/apache/superset/issues/22326#issuecomment-1543422360

   hey @asayeb 
   you might need to switch to firefox instead of chrome driver:
   in your `Dockerfile`:
   ```
   RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz && \
       tar -xvzf geckodriver* && \
       chmod +x geckodriver && \
       mv geckodriver /usr/local/bin/
   
   # Firefox installation for M1 issues with Chromedriver
   RUN apt install gnupg2 software-properties-common -y
   
   RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F && \ 
       apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main" && \
       apt update && \
       apt install firefox -y
   ```
   And in your `config.py` file:
   ```
   WEBDRIVER_TYPE = "firefox"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org