You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "JohnDietrich-Pepper (via GitHub)" <gi...@apache.org> on 2023/02/05 19:39:40 UTC

[GitHub] [superset] JohnDietrich-Pepper opened a new issue, #22994: deck.gl maps don't render in e-mail

JohnDietrich-Pepper opened a new issue, #22994:
URL: https://github.com/apache/superset/issues/22994

   After considerable work we were able to get e-mail reports sending correct unfortunately it appears that the firefox headless browser won't render the deck.gl maps even tweeking the settings below
   
   SCREENSHOT_LOCATE_WAIT = 100
   SCREENSHOT_LOAD_WAIT = 600
   EMAIL_PAGE_RENDER_WAIT = 35
   SCREENSHOT_SELENIUM_ANIMATION_WAIT = 10
   
   It appears to us that the issue is a problem with the headless browser rendering webgl vs. any issue the timeouts in superset.  Deck.gl maps are an important feature for us and would like to find a way to get this to work.


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


[GitHub] [superset] sfirke commented on issue #22994: deck.gl maps don't render in e-mail

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #22994:
URL: https://github.com/apache/superset/issues/22994#issuecomment-1476688807

   I tried this and find the same behavior - I didn't mess with timeout settings but this chart loads very quickly in the browser.  My worker logs:
   
   ```
   Scheduling alert Test Deck.gl report eta: 2023-03-20 17:44:00
   [2023-03-20 17:44:00,085: INFO/ForkPoolWorker-1] Scheduling alert Test Deck.gl report eta: 2023-03-20 17:44:00
   [2023-03-20 17:44:00,089: INFO/MainProcess] Task reports.execute[646cf815-e05a-4152-9761-67dbeebc86aa] received
   [2023-03-20 17:44:00,098: INFO/ForkPoolWorker-1] Task reports.scheduler[79b353e3-cdd7-48b7-b8ff-6cbf631a0b40] succeeded in 0.042714304057881236s: None
   Screenshotting chart at http://superset_app:8088/superset/explore/?form_data=%7B%22slice_id%22%3A+570%7D&standalone=true&force=false
   [2023-03-20 17:44:00,200: INFO/ForkPoolWorker-1] Screenshotting chart at http://superset_app:8088/superset/explore/?form_data=%7B%22slice_id%22%3A+570%7D&standalone=true&force=false
   Init selenium driver
   [2023-03-20 17:44:00,209: INFO/ForkPoolWorker-1] Init selenium driver
   [2023-03-20 17:45:00,052: INFO/MainProcess] Task reports.scheduler[834eb3d7-42f6-4828-be89-0d68cfdb8fdb] received
   [2023-03-20 17:45:00,092: INFO/ForkPoolWorker-2] Task reports.scheduler[834eb3d7-42f6-4828-be89-0d68cfdb8fdb] succeeded in 0.038887217990122736s: None
   Report sent to email
   [2023-03-20 17:45:02,204: INFO/ForkPoolWorker-1] Report sent to email
   A downstream exception occurred while generating a report: 646cf815-e05a-4152-9761-67dbeebc86aa
   Traceback (most recent call last):
     File "/app/superset/reports/commands/execute.py", line 234, in _get_screenshots
       image = screenshot.get_screenshot(user=user)
     File "/app/superset/utils/screenshots.py", line 74, in get_screenshot
       self.screenshot = driver.get_screenshot(self.url, self.element, user)
     File "/app/superset/utils/webdriver.py", line 109, in get_screenshot
       driver = self.auth(user)
     File "/app/superset/utils/webdriver.py", line 88, in auth
       return machine_auth_provider_factory.instance.authenticate_webdriver(
     File "/app/superset/utils/machine_auth.py", line 57, in authenticate_webdriver
       driver.get(headless_url("/login/"))
     File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get
       self.execute(Command.GET, {'url': url})
     File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
       self.error_handler.check_response(response)
     File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
       raise exception_class(message, screen, stacktrace)
   selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=netTimeout&u=https%3A//superset_app%3A8088/login/&c=UTF-8&d=The%20server%20at%20superset_app%20is%20taking%20too%20long%20to%20respond.
   ```


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


[GitHub] [superset] santosh-sahoo334 commented on issue #22994: deck.gl maps don't render in e-mail

Posted by "santosh-sahoo334 (via GitHub)" <gi...@apache.org>.
santosh-sahoo334 commented on issue #22994:
URL: https://github.com/apache/superset/issues/22994#issuecomment-1552905737

   @sfirke @JohnDietrich-Pepper, I had the same issue with Deck.gl Scatter Plot Charts, looks like the Firefox driver has some limitation (I was getting an empty screenshot). When I switched back to Chrome browser, its working. 


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


Re: [I] deck.gl maps don't render in e-mail [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #22994:
URL: https://github.com/apache/superset/issues/22994#issuecomment-1972059145

   I'm not sure if this is still an issue in current versions of Superset (3.x), especially if the Playwright feature flag is enabled (it was build tof this purpose). If this is still an issue, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.
   


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


Re: [I] deck.gl maps don't render in e-mail [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #22994: deck.gl maps don't render in e-mail
URL: https://github.com/apache/superset/issues/22994


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