Code Monkey home page Code Monkey logo

Comments (4)

dosubot avatar dosubot commented on June 30, 2024 2

Hello @kevinremoue! I'm here to help you with your Superset issue. I can assist with bug solving, answer questions, and guide you on becoming a contributor. Let's work on resolving your concern together while we wait for a human maintainer.

Enabling the PLAYWRIGHT_REPORTS_AND_THUMBNAILS feature in Apache Superset version 3.1.3 results in blank chart areas with a placeholder link when generating reports for an entire dashboard because the feature requires the installation of the "playwright" pip package. Additionally, a headless browser must be installed and properly configured. If these components are not installed or configured correctly, the feature will not function properly, leading to issues such as blank chart areas.

Moreover, the WebDriverPlaywright class in the superset/utils/webdriver.py file indicates that the Playwright integration involves several steps, including authenticating the browser context, waiting for elements to load, and handling potential errors. If any of these steps fail, it could result in blank chart areas. Specifically, the code waits for chart containers to draw and for loading elements to disappear. If these elements do not load correctly, the screenshot will not capture the charts, leading to blank areas [1][2][3][4].

To continue talking to Dosu, mention @dosu.

from superset.

rajivpatki avatar rajivpatki commented on June 30, 2024 1

I was just about to post this.

For me the output is blank unless I remove some elements from view in the dashboard. ie: if the dashboard is too long, it will generate a blank thumbnail, but if I put in a 2 tabs and hide an entire 2 rows of chart inside the second tab, the thumbnail is rendered properly.

I'm using playwright

from superset.

rusackas avatar rusackas commented on June 30, 2024

Seems like a duplicate of #29326. We should probably close one of these in favor of the other.

from superset.

rajivpatki avatar rajivpatki commented on June 30, 2024

Seems like a duplicate of #29326. We should probably close one of these in favor of the other.

I wasn't sure if they were duplicates. I do face a similar issue with Slack Reports for long dashboards but some which don't render the Thumbnail manage to render the Report without issues. So I thought the problem might be different for these two issues

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.