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

   I am getting this error from console 
   [2024-10-15 11:49:10,361: ERROR/ForkPoolWorker-1] A downstream exception 
occurred while generating a report: 1f7f141f-b2b6-4b1c-9230-1b694e0838e1. 
Failed taking a screenshot Message: Failed to read marionette port
   Traceback (most recent call last):
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 229, in _get_screenshots
       image = screenshot.get_screenshot(user=user)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/utils/screenshots.py", 
line 93, in get_screenshot
       self.screenshot = driver.get_screenshot(self.url, self.element, user)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/utils/webdriver.py", 
line 354, in get_screenshot
       driver = self.auth(user)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/utils/webdriver.py", 
line 276, in auth
       driver = self.create()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/utils/webdriver.py", 
line 273, in create
       return driver_class(**kwargs)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/selenium/webdriver/firefox/webdriver.py",
 line 201, in __init__
       super().__init__(command_executor=executor, options=options, 
keep_alive=True)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
 line 286, in __init__
       self.start_session(capabilities, browser_profile)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
 line 378, in start_session
       response = self.execute(Command.NEW_SESSION, parameters)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
 line 440, in execute
       self.error_handler.check_response(response)
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py",
 line 245, in check_response
       raise exception_class(message, screen, stacktrace)
   selenium.common.exceptions.TimeoutException: Message: Failed to read 
marionette port
   
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/tasks/scheduler.py", 
line 94, in execute
       ).run()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 721, in run
       raise ex
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 719, in run
       ).run()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 682, in run
       ).next()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 582, in next
       raise first_ex
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 551, in next
       self.send()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 450, in send
       notification_content = self._get_notification_content()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 355, in _get_notification_content
       screenshot_data = self._get_screenshots()
     File 
"/home/ubuntu/venv/lib/python3.10/site-packages/superset/commands/report/execute.py",
 line 234, in _get_screenshots
       raise ReportScheduleScreenshotFailedError(
   superset.commands.report.exceptions.ReportScheduleScreenshotFailedError: 
Failed taking a screenshot Message: Failed to read marionette port
   
   and  this error is coming from mail "Error: Failed taking a screenshot 
Message: Failed to read marionette port"


-- 
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: [email protected]

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