Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    AhmetKahyaoglu
    @AhmetKahyaoglu
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    1991ec6e9bd3 apache/superset:latest-dev "/app/docker/docker-…" 17 hours ago Up 5 minutes (unhealthy) 8088/tcp superset_worker
    80e0e565f0f3 apache/superset:latest-dev "/app/docker/docker-…" 17 hours ago Up 5 minutes (healthy) 0.0.0.0:8088->8088/tcp, :::8088->8088/tcp superset_app
    b2a151609df5 apache/superset:latest-dev "/app/docker/docker-…" 17 hours ago Up 4 minutes (unhealthy) 8088/tcp superset_worker_beat
    a4df52b39dba postgres:10 "docker-entrypoint.s…" 17 hours ago Up 5 minutes 5432/tcp superset_db
    27baf7be3eef redis:latest "docker-entrypoint.s…" 17 hours ago Up 5 minutes 6379/tcp superset_cache
    AhmetKahyaoglu
    @AhmetKahyaoglu
    Hello everyone, @joebordes I solved the problem. I leave the link below.
    Thanks for your support.
    Joe Bordes
    @joebordes
    great!!
    have a wonderful day
    salah alhashmi
    @alguerocode

    All-In-One, free resources and collections related to javascript. we provide useful links to help you learn JavaScript, web development and other related stuff along with some of the best resources available online.

    https://github.com/devSupporters/masterJS

    di-coder
    @di-coder
    Hi All, I have enabled the ALERT_REPORTS feature and also configured SMTP. The scheduler is working properly but I don't receive any emails.
    Can any help ???
    EMAIL_NOTIFICATIONS = True # all the emails are sent using dryrun
    SMTP_HOST = "smtp.gmail.com"
    SMTP_STARTTLS = True
    SMTP_SSL = False
    SMTP_USER = "XXXXXXX"
    SMTP_PORT = 587
    SMTP_PASSWORD = "XXXXXXX"
    SMTP_MAIL_FROM = "XXXXXXX"
    ALERT_REPORTS = TRUE
    ilex
    @ilex:oakforest.in
    [m]
    @di-coder: did you try with port 465, SSL true and STARTTLS false?
    di-coder
    @di-coder
    Okay Sure I'll Check.
    di-coder
    @di-coder
    @ilex:oakforest.in I tired but same issue. Not getting email and any errors
    milad000cu
    @milad000cu
    I installed Superset and connected the PostGres database to it, but the database list in the dataset creation form is empty and there is no database
    rahul ranjan
    @ranjanrahul910
    Hi All,
    when i am trying to embed chart in html page getting error Blocked autofocusing on a <input> element in a cross-origin subframe. - anyone any idea how to resolve this
    michaelhagel
    @michaelhagel

    Hey all - creating an API workflow for auto-generating dashboards. Context: ML model monitoring for our enterprise. Problem: Currently stuck on generating a query_context for a POST api/v1/chart/ request, based off of a saved_query.

    Is there a defined way of generating this query_context? Or example repos containing a programatic workflow that I could refer to instead?

    minsu-jo
    @minsu-jo
    What should I do when I need to execute a query with Trino datasource?
    I installed sqlalchemy-trino and trino(trino-python-client) before deploying Superset, and I saw the message when I connected with my Trino cluster: "connection looks good."
    And I also saw the schema and table through the connection with Trino in SQL lab .
    But when I executed a query to Trino, I got an error: "__init__() got an unexpected keyword argument 'user'."
    Mark Thielen
    @MarkThielen

    Hi there, we are looking into working ob the current Alert/Reports area to
    1) Use the Alert/Report Owner to generate the Data within the Celery Worker Code as we are using Row Level Security for Multi Tentant Type Integration
    2) Add a S3 Data Drop as an addition to the already available Email and Slack
    3) Use the Chart Data API to use a configured Chart Context instead of the pre-set Chart Context

    We want to do this based on 1.5.0 Code at this time.

    • Are there any instructions available what we need to take into consideration when forking, etc ?
    • Is there a a responsible group of people that are working on this area (Alerts / Reports) to make sure our approaches are okay ?
      Thanks, Mark
    Jonathan Churque
    @madbean
    Hello

    I have set a macro in my superset.py like this :

    def get_graindate(col):
      return "(case "+'{{ time_grain }}'+" when 'P1Y' then year("+col+") when 'P1M' then month("+col+") when 'P1D' then day("+col+") end)"
    
    JINJA_CONTEXT_ADDONS = {
        'graindate': lambda col: get_graindate(col),
    }

    but '{{ time_grain }}' is alway undefined.
    if i do select '{{ time_grain }}' it give me 'P1Y', is it possible to pass '{{ time_grain }}' in parameter like thisgraindate('date_time', '{{ time_grain }}')` <= (i'v tried this but no luck) ?

    Thanks for your help, it make me crazy 😝

    Bostonian
    @athensofamerica
    Has anybody done visualization for 3D point cloud data such as Lidar data? I couldn't find any examples/chart templates for this with superset.
    kaushikr3
    @kaushikr3:matrix.org
    [m]
    Hey All, I want to change superset login template ( I am using CustomSecurityManager), Can you please me. Thanks in advance!
    Abhishek Singh
    @SnAbhisheksingh_twitter
    Can anyone provide a steps to Change the setting of superset from sqlite to MySQL
    I have create superset_config.py to override the configuration
    after adding the property i am able to enabled swagger url
    I have added SQLALCHEMY_DATABASE_URI = 'mysql://root:xxxxxx@127.0.0.1:3306/superset' property in superset_config.py file
    but still it is connecting with SQLlite
    VolanTom
    @VolanTom
    Hi Everyone! i'm trying to make a request to /api/v1/dashboad/ and if i do it with no parameters from the swagger i get all the dashboards with their details BUT if i copy/paste the curl request in my terminal i get no result. Anyone have an idea of what i'm missing? Btw i include the bearer token and the csrf token
    kaushikr3
    @kaushikr3:matrix.org
    [m]
    Hey All, i want to write my own rest api in superset, Can anyone please help. Thanks in Advance, any help is really appreciated
    Abhishek Singh
    @SnAbhisheksingh_twitter

    Hey All, i want to write my own rest api in superset.
    I had created my own API and put this new file api.py file inside superset instalation forlder and ran superset init and superset server start commond but it was not taking the new API.
    When I tried to add a new API in exting api.py file and ran superset init and superset server start then API, i am able to access it.
    Can anyone please help here how can I write my own rest API adding new python file in superset

    Thanks in Advance, any help is really appreciated

    Abhishek Singh
    @SnAbhisheksingh_twitter
    I have installed superset with python 3.6 in my local and enabled a swagger, After enabling swagger I can access the superset APIs but some of the APIs like explore are not showing in my local swagger and also unable to access it through postman but it is showing in superset docs. Can anyone help me why these APIs are showing in my local ?
    Abhishek Singh
    @SnAbhisheksingh_twitter
    Hi All, is it possible to build a report in superset with dynamic filters to export data. If yes pls suggest, how to achieve it
    Abhishek Singh
    @SnAbhisheksingh_twitter
    Can any one suggest how to disable superset rest api authentication?
    misbadigitalai
    @misbadigitalai

    Hi Team,
    I want to get rid of previous copy of superset and have a fresh superset installation done in a new virtual env on ubuntu. But im unable to do so.
    I have un-installed superset from the virtual env that i had created on python 3.8.
    I deleted the virtual environment as well.
    created a new virtual env and installed superset using pip install
    when i do superset init, i get the below error
    File "/home/ubuntu/venv/lib/python3.8/site-packages/sqlalchemy_utils/types/encrypted/encrypted_type.py", line 130, in decrypt
    raise ValueError('Invalid decryption key')
    ValueError: Invalid decryption key
    when i start superset, i can see the contents of previous superset installation.
    I tried deleting ~/.superset/superset.db but it did not help.

    I want to get rid of previous copy of superset along with the metadata and have a fresh new superset installation with new metadata db (sqlite).
    Python Version: 3.8
    SuperSet Version: upgraded superset from 0.38.0 to 2.0.0
    Metadata DB: sqlite (default)

    How do I clean-up superset on linux ubuntu machine which erases previous metadata?

    Abhishek Singh
    @SnAbhisheksingh_twitter

    Hi All,

    We have our own authentication service which we want use to secure the Superset Rest APIs and want to skip the default JWT token Authentication provided with superset.
    Please suggest how can I skip the default JWT token Authentication provided with superset?

    Thanks,
    Abhishek Singh

    Abhishek Singh
    @SnAbhisheksingh_twitter

    I am getting below error when i try to create a chart using superset create chart rest API.
    Can any one help me here?

    Url: http://127.0.0.1:8088/api/v1/chart/

    Header : X-CSRFToken:ImJjMjdjNTFkM2U1NTA2OTliNDVlYjI4MDNmMzdkYzM3ZDViYzM1MDgi.Yxsa-A.bmh5h2Ire2r2qr6haRCSyq0zzzI

    {
    "errors": [
    {
    "message": "400 Bad Request: The CSRF tokens do not match.",
    "error_type": "GENERIC_BACKEND_ERROR",
    "level": "error",
    "extra": {
    "issue_codes": [
    {
    "code": 1011,
    "message": "Issue 1011 - Superset encountered an unexpected error."
    }
    ]
    }
    }
    ]
    }

    bhuvayatin
    @bhuvayatin
    Hi all

    I am new to superset and I want to embed the dashboard in my react app I tried the below reference but I can't see the embed Dashboard option.

    https://medium.com/@khushbu.adav/embedding-superset-dashboards-in-your-react-application-7f282e3dbd88