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


   This is the error:
   
   (env4) matteo@mbalzarotti-NB:~/superset$ celery worker 
--app=superset.tasks.celery_app:app --pool=prefork -O fair -c 4
   Loaded your LOCAL configuration at 
[/home/matteo/superset/config/superset_config.py]
   logging was configured successfully
   INFO:superset.utils.logging_configurator:logging was configured successfully
   
/home/matteo/superset/env4/lib/python3.7/site-packages/flask_caching/__init__.py:192:
 UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively 
disabled.
     "Flask-Caching: CACHE_TYPE is set to null, "
   No PIL installation found
   INFO:superset.utils.screenshots:No PIL installation found
   
    -------------- celery@mbalzarotti-NB v4.4.7 (cliffs)
   --- ***** -----
   -- ******* ---- Linux-4.4.0-18362-Microsoft-x86_64-with-debian-10.6 
2020-12-02 15:52:09
   - *** --- * ---
   - ** ---------- [config]
   - ** ---------- .> app:         __main__:0x7f3574889550
   - ** ---------- .> transport:   redis://localhost:6379/0
   - ** ---------- .> results:     postgresql://matteo:**@127.0.0.1/superset_loc
   - *** --- * --- .> concurrency: 4 (prefork)
   -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this 
worker)
   --- ***** -----
    -------------- [queues]
                   .> celery           exchange=celery(direct) key=celery
   
   
   [2020-12-02 16:06:11,195: INFO/ForkPoolWorker-1] Starting report for slack: 
None and recipients: [email protected].
   Init selenium driver
   [2020-12-02 16:06:11,243: INFO/ForkPoolWorker-1] Init selenium driver
   Message: 'geckodriver' executable needs to be in PATH.
   Traceback (most recent call last):
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/common/service.py",
 line 76, in start
       stdin=PIPE)
     File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
       raise child_exception_type(errno_num, err_msg, err_filename)
   FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver': 
'geckodriver'
   
   During handling of the above exception, another exception occurred:
   
   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 164, in __init__
       self.service.start()
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/common/service.py",
 line 83, in start
       os.path.basename(self.path), self.start_error_message)
   selenium.common.exceptions.WebDriverException: Message: 'geckodriver' 
executable needs to be in PATH.
   
   [2020-12-02 16:06:11,271: ERROR/ForkPoolWorker-1] Message: 'geckodriver' 
executable needs to be in PATH.
   Traceback (most recent call last):
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/common/service.py",
 line 76, in start
       stdin=PIPE)
     File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
       raise child_exception_type(errno_num, err_msg, err_filename)
   FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver': 
'geckodriver'
   
   During handling of the above exception, another exception occurred:
   
   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 164, in __init__
       self.service.start()
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/common/service.py",
 line 83, in start
       os.path.basename(self.path), self.start_error_message)
   selenium.common.exceptions.WebDriverException: Message: 'geckodriver' 
executable needs to be in PATH.
   
   Message: 'geckodriver' executable needs to be in PATH.
   Traceback (most recent call last):
     File 
"/home/matteo/superset/env4/lib/python3.7/site-packages/selenium/webdriver/common/service.py",
 line 76, in start
       stdin=PIPE)
     File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
       raise child_exception_type(errno_num, err_msg, err_filename)
   FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver': 
'geckodriver'
   


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