superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-superset] stevensuting commented on pull request #10590: refactor: [migration] convert iframe chart into dashboard markdown component
Date Wed, 02 Sep 2020 05:37:56 GMT

stevensuting commented on pull request #10590:
URL: https://github.com/apache/incubator-superset/pull/10590#issuecomment-685312083


   ![Screen Shot 2020-09-02 at 10 50 32 AM](https://user-images.githubusercontent.com/8875448/91935476-65689f80-ed0b-11ea-9367-fc1bc946b6eb.png)
   @graceguo-supercat 
   I am attempting to create a KPI card as shown above. In version 0.36 I could do this by
using the _markdown chart_ in HTML mode  where I would use 3 iFrames. Each iFrame would point
to a _big_number_total chart_
   
   With 0.37 this is no long possible as I understand.
   
   **ERROR: Separator** 
   ```
   ERROR:superset.views.base:'separator'
   Traceback (most recent call last):
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/base.py",
line 173, in wraps
       return f(self, *args, **kwargs)
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/utils/decorators.py",
line 67, in wrapper
       check_perms(*args, **kwargs)
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/utils.py",
line 426, in check_datasource_perms
       force=False,
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/utils.py",
line 111, in get_viz
       viz_obj = viz.viz_types[viz_type](datasource, form_data=form_data, force=force)
   KeyError: 'separator'
   ```
   
   **ERROR: markup**
   ```
   KeyError: 'markup'
   ERROR:superset.views.base:'markup'
   Traceback (most recent call last):
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/base.py",
line 173, in wraps
       return f(self, *args, **kwargs)
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/utils/decorators.py",
line 67, in wrapper
       check_perms(*args, **kwargs)
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/utils.py",
line 426, in check_datasource_perms
       force=False,
     File "/home/ubuntu/demo-superset/lib/python3.6/site-packages/superset/views/utils.py",
line 111, in get_viz
       viz_obj = viz.viz_types[viz_type](datasource, form_data=form_data, force=force)
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Mime
View raw message