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/06/10 15:05:06 UTC

[GitHub] [superset] nimisha1921 edited a comment on issue #12867: Dashboard thumbnails not visible - Superset 1.0.0

nimisha1921 edited a comment on issue #12867:
URL: https://github.com/apache/superset/issues/12867#issuecomment-858701058


   @singh-ab @iercan 
   I am facing a similar issue, dashboard thumbnail is not generated. Although my chart thumbnail working fine.
   Error: 
   
   `Failed at resizing thumbnail name 'Image' is not defined`
   
   Superset 1.0.1 
   Config: 
   ```
   DEFAULT_FEATURE_FLAGS = {
       'ENABLE_TEMPLATE_PROCESSING': True,
       'DASHBOARD_NATIVE_FILTERS': True,
       'LISTVIEWS_DEFAULT_CARD_VIEW': True,
       'ENABLE_REACT_CRUD_VIEWS': True,
       'ALERT_REPORTS': True,
       'THUMBNAILS': True
   }
   REDIS_HOST = "127.0.0.1"
   REDIS_PORT = "6379"
   
   THUMBNAIL_SELENIUM_USER = "admin"
   THUMBNAIL_CACHE_CONFIG: CacheConfig = {
       'CACHE_TYPE': 'redis',
       'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24 * 30,
       'CACHE_KEY_PREFIX': 'superset_thumbnail',
       'CACHE_REDIS_URL': 'redis://%s:%s/0' % (REDIS_HOST, REDIS_PORT),
       "CACHE_NO_NULL_WARNING": True,
   }
   ```
   
   In celery worker, I am getting an error log like this...
   ```
   Caching dashboard: http://127.0.0.1:8088/superset/dashboard/3/
   Caching dashboard: http://127.0.0.1:8088/superset/dashboard/2/
   [2021-06-10 20:08:31,291: INFO/ForkPoolWorker-2] Caching dashboard: http://127.0.0.1:8088/superset/dashboard/3/
   [2021-06-10 20:08:31,291: INFO/ForkPoolWorker-3] Caching dashboard: http://127.0.0.1:8088/superset/dashboard/2/
   Processing url for thumbnail: d94a2a95ca2786f26e238d8ec80e3b06
   Processing url for thumbnail: 8e3f5e7e07954984ffde03b1c0b7b299
   [2021-06-10 20:08:31,316: INFO/ForkPoolWorker-2] Processing url for thumbnail: d94a2a95ca2786f26e238d8ec80e3b06
   Init selenium driver
   [2021-06-10 20:08:31,316: INFO/ForkPoolWorker-3] Processing url for thumbnail: 8e3f5e7e07954984ffde03b1c0b7b299
   Init selenium driver
   [2021-06-10 20:08:31,317: INFO/ForkPoolWorker-2] Init selenium driver
   [2021-06-10 20:08:31,317: INFO/ForkPoolWorker-3] Init selenium driver
   Taking a PNG screenshot or url http://127.0.0.1:8088/superset/dashboard/3/
   [2021-06-10 20:08:39,030: INFO/ForkPoolWorker-2] Taking a PNG screenshot or url http://127.0.0.1:8088/superset/dashboard/3/
   Taking a PNG screenshot or url http://127.0.0.1:8088/superset/dashboard/2/
   [2021-06-10 20:08:39,109: INFO/ForkPoolWorker-3] Taking a PNG screenshot or url http://127.0.0.1:8088/superset/dashboard/2/
   Failed at resizing thumbnail name 'Image' is not defined
   [2021-06-10 20:08:39,294: ERROR/ForkPoolWorker-2] Failed at resizing thumbnail name 'Image' is not defined
   Failed at resizing thumbnail name 'Image' is not defined
   [2021-06-10 20:08:39,383: ERROR/ForkPoolWorker-3] Failed at resizing thumbnail name 'Image' is not defined
   ```
   
   


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