-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard thumbnails not visible - Superset 1.0.0 #12867
Comments
@singh-ab have you setup celery? if yes, can you share your celery config and logs? |
@singh-ab You need to configure celery and proper webdriver. Also not that there was en error regarding thumbnails and fixed in 1.0.1. see #12760 I'm using chrome webdriver. This is how I installed
And added these lines to my config.
You can check here to see how to configure celery |
@dpgaspar : I tried the usual Here is the log from
Here is the log from
|
@iercan : thanks ! let me give this a try and get back |
I have on config:
And followed your steps and get on
|
I am using the helm charts on this repo. |
@iercan I use OAUTH to authenticate, isn't the function defined in |
It is optional. I'm also using OAUTH and didn't need to define. |
Thanks @iercan, it worked. |
@iercan : Looking at the worker logs when generating the thumbnails gives me similar error like the one you raised - #12726 As you pointed out it is fixed in 1.0.1 , but I can't seem to find a relevant docker image for the same on - https://hub.docker.com/r/apache/superset/tags?page=1&ordering=last_updated . |
@singh-ab note that 1.0.1 is not out yet, but master tag should include that fix |
@dpgaspar : thanks ! post pulling master the logs at-least show that the thumbnails are being generated . But still that doesn't help Screenshot : Welcome page: Logs :
|
Logs looks fine. You will see thumbnails second time you visit same page. |
still same when I try to visit the dashboard/welcome page again ! |
Did you provide a cache service? For example
|
indeed it was due to selecting |
For anyone who might need , here are the settings that helped me make sure you pull the latest Using Chrome : Install chrome webdriver:
Add following to the config:
Using Firefox : Install gecko and firefox:
Add following to the config:
|
thanks,the same question |
See here for details: apache#12867
Is this fixed in superset 1.0.1? My superset app version is 1.0.1 & I'm still getting similar errors for pulling thumbnails on superset welcome page. Logs from container where I'm running superset
And celery logs says something arg mismatch as below:
Should I pull master or dev image ? |
@singh-ab @iercan
Superset 1.0.1
In celery worker, I am getting an error log like this...
|
@nimisha1921 I suggest you upgrade to 1.1 |
@iercan upgrade to superset 1.1.0, did DB upgrade and superset init. No help, still facing the same issue. |
|
In my case, it seems that pillow wasn't properly installed and the worker was unable to resize the screenshots:
Dashboard screenshots need to be downsized, charts don't (that's why they work). I fixed it by reinstalling pillow and restarting the worker. |
Tried both, but for some reason when I check superset-worker logs, I get "chromedriver"/"geckodriver" executable needs to be in PATH. When go inside the container with P.S: Superset Version: 1.2.0 and even though the Dockerfile contains gecko installation by default, I still can't find it in the container. Edit:
Added an install command for these and worked fine. Also make sure you have the same version of google chrome and chromedriver |
One of the features highlighted in the latest release is to have a concise view of all the favourite dashboards on the home screen . This is accomplished by the dashboard thumbnails , but that doesn't seem to work .
Expected results
A home screen with dashboard thumbnails like this :
https://github.com/apache/superset/tree/master/RELEASING/release-notes-1-0#user-experience
Actual results
I have tried setting up the following flags , but that too doesn't help .
The text was updated successfully, but these errors were encountered: