You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/25 12:15:12 UTC

[GitHub] [superset] lcyh opened a new issue #12732: get_viz viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")

lcyh opened a new issue #12732:
URL: https://github.com/apache/superset/issues/12732


   A clear and concise description of what the bug is.
   
   I customized a component yh_color_table,but  it was wrong,I don't know what's wrong?
   error: "'yh_color_table'"
   stacktrace: "Traceback (most recent call last):↵  File "/data/app/superset-web/superset/views/base.py", line 135, in wraps↵    return f(self, *args, **kwargs)↵  File "/data/app/superset-web/superset/utils/decorators.py", line 63, in wrapper↵    check_perms(*args, **kwargs)↵  File "/data/app/superset-web/superset/views/core.py", line 125, in check_datasource_perms↵    force=False,↵  File "/data/app/superset-web/superset/views/utils.py", line 120, in get_viz↵    viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")
   
   Ping gave me some suggestions on how to create a custom component?
   
   ### Environment
    superset --version                                                      
   Python 3.7.8
   Flask 1.1.2
   Werkzeug 0.16.0
   


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


[GitHub] [superset] junlincc commented on issue #12732: get_viz viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #12732:
URL: https://github.com/apache/superset/issues/12732#issuecomment-767148227


   do you mind updating the title to be more human readable? did you build it using dynamically imported viz plugins? @lcyh 


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


[GitHub] [superset] junlincc commented on issue #12732: get_viz viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #12732:
URL: https://github.com/apache/superset/issues/12732#issuecomment-767148227


   do you mind updating the title to be more human readable? did you build it using dynamically imported viz plugins? @lcyh 


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


[GitHub] [superset] lcyh commented on issue #12732: get_viz viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")

Posted by GitBox <gi...@apache.org>.
lcyh commented on issue #12732:
URL: https://github.com/apache/superset/issues/12732#issuecomment-1001016943


   已收到,谢谢


-- 
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] amitmiran137 closed issue #12732: get_viz viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")

Posted by GitBox <gi...@apache.org>.
amitmiran137 closed issue #12732:
URL: https://github.com/apache/superset/issues/12732


   


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