Unable to fetch thumbnail image data, getting OK Async in response instead
See original GitHub issueUnable to fetch thumbnail image data, getting OK Async in response instead.
Ref PR: https://github.com/apache/incubator-superset/pull/8947
Expected results
Should return the image data.
Actual results
I’m getting { "message": "OK Async" }
when calling for the thumbnail.
Screenshots
How to reproduce the bug
- Go to ‘Dashboard’
- Goto URL:
<hostname>:<port>/api/v1/dashboard/<thumbnail_url>
- Observe the response
Environment
- superset version:
Superset 0.999.0dev
- python version:
Python 3.7.7
- node.js version:
v12.16.3
- npm version:
6.14.4
- operating system: Fedora 31 (Workstation Edition) x86_64
Checklist
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to fetch thumbnail image data, getting OK Async in ...
Go to 'Dashboard' · Goto URL: <hostname>:<port>/api/v1/dashboard/<thumbnail_url> · Observe the response ...
Read more >How do I get a YouTube video thumbnail from the YouTube API?
The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (i.e., one of...
Read more >async and await in JavaScript | Go Make Things
This week, we learned about JavaScript Promises and the fetch() method. Today, we're going to learn how async and await can make writing ......
Read more >async/await in SwiftUI | Kodeco, the new raywenderlich.com
For example, this sample code from WWDC's Meet async/await in Swift downloads data, creates an image from the data, then renders a thumbnail...
Read more >Using Swift's async/await to build an image loader - Donny Wals
In this post, I'm going to take a look at building an asynchronous image loader that has support for caching.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool! Do a get request to
/api/v1/dashboard/
on theresult
key you’ll get an attr key namedthumbnail_url
use that URL to get your thumbnailHi @AshishKapoor,
Thumbnails need cache and celery workers, take a look at: https://apache-superset.readthedocs.io/en/0.36/installation.html#celery-tasks
Also on celery use:
CELERY_IMPORTS = ("superset.sql_lab", "superset.tasks.thumbnails")