You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/05 12:22:24 UTC

[GitHub] [superset] tweinreich opened a new issue #17936: Documentation: add info about default browser path

tweinreich opened a new issue #17936:
URL: https://github.com/apache/superset/issues/17936


   ## Environment
   - **OS:** Ubuntu 18.04.6 (Bionic Beaver)
   - **Superset version:** 1.3.2
   
   ## Issue
   When installing Firefox ESR on Ubuntu the binary is placed in `/usr/bin/firefox-esr`. If you try to send a report including a screenshot now, Superset will complain with this message:
   
   > Error: Failed taking a screenshot 
   > Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
   > 
   
   _* the error is sent per email and included in the reports execution log_
   
   ## Solution
   To solve this, you can symlink this binary to the "default location": `/usr/local/bin/firefox`
   
   In my case this solved the issue and I am receiving emails including screenshots now. It was difficult finding the "default location" but finally I found it [inside the Dockerfile](https://github.com/apache/superset/blob/ceecc7047bcbbaf6c73b4915431c3fb3964b020a/Dockerfile#L147).
   
   ## Ideas
   - include the information about the "default location" of the browsers in the documentation
   - automatically search for the binaries (e.g. using `which`) and warn the admin if none was found
   - include an option in the reports admin GUI to provide the browser path manually


-- 
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