bzmatteo72 commented on issue #11765:
URL: 
https://github.com/apache/incubator-superset/issues/11765#issuecomment-737370819


   I guess this is the error you have predicted because i have not firefox 
installed yet on my Debian. Isn't it?
   I proceed with the installation right now
   
   I have untar geckodriver in the my /usr/local/bin path which is in the PATH 
environment variable
   
   [2020-12-02 17:59:50,480: INFO/ForkPoolWorker-1] Starting report for slack: 
None and recipients: [email protected].
   Init selenium driver
   [2020-12-02 17:59:50,532: INFO/ForkPoolWorker-1] Init selenium driver
   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
   Traceback (most recent call last):
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/celery.py",
 line 50, in session_scope
       yield session
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/tasks/schedules.py",
 line 261, in deliver_dashboard
       driver = create_webdriver(session)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/tasks/schedules.py",
 line 205, in create_webdriver
       get_reports_user(session)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/webdriver.py",
 line 78, in auth
       driver = self.create()
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/webdriver.py",
 line 75, in create
       return driver_class(**kwargs)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py",
 line 174, in __init__
       keep_alive=True)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 157, in __init__
       self.start_session(capabilities, browser_profile)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 252, in start_session
       response = self.execute(Command.NEW_SESSION, parameters)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 321, in execute
       self.error_handler.check_response(response)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py",
 line 242, in check_response
       raise exception_class(message, screen, stacktrace)
   selenium.common.exceptions.SessionNotCreatedException: 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
   
   [2020-12-02 17:59:50,576: ERROR/ForkPoolWorker-1] 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
   Traceback (most recent call last):
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/celery.py",
 line 50, in session_scope
       yield session
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/tasks/schedules.py",
 line 261, in deliver_dashboard
       driver = create_webdriver(session)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/tasks/schedules.py",
 line 205, in create_webdriver
       get_reports_user(session)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/webdriver.py",
 line 78, in auth
       driver = self.create()
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/superset/utils/webdriver.py",
 line 75, in create
       return driver_class(**kwargs)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py",
 line 174, in __init__
       keep_alive=True)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 157, in __init__
       self.start_session(capabilities, browser_profile)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 252, in start_session
       response = self.execute(Command.NEW_SESSION, parameters)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
 line 321, in execute
       self.error_handler.check_response(response)
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py",
 line 242, in check_response
       raise exception_class(message, screen, stacktrace)
   selenium.common.exceptions.SessionNotCreatedException: 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
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to