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 2020/06/10 13:46:55 UTC

[GitHub] [incubator-superset] AshishKapoor opened a new issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

AshishKapoor opened a new issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022


   Unable 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
   <img width="734" alt="Screenshot 2020-06-09 at 4 46 55 PM" src="https://user-images.githubusercontent.com/5203107/84142666-d123cf00-aa72-11ea-964e-a4d4a7ed05da.png">
   
   ![Screenshot 2020-06-09 at 4 21 00 PM](https://user-images.githubusercontent.com/5203107/84139290-3b397580-aa6d-11ea-9b82-2dd92087b625.png)
   
   #### How to reproduce the bug
   
   1. Go to 'Dashboard'
   2. Goto URL: `<hostname>:<port>/api/v1/dashboard/<thumbnail_url>`
   3. 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
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] 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.
   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor closed issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor closed issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022


   


----------------------------------------------------------------
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] [incubator-superset] dpgaspar commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-646120968


   Cool! Do a get request to `/api/v1/dashboard/` on the `result` key you'll get an attr key named `thumbnail_url` use that URL to get your thumbnail


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor closed issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor closed issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022


   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor removed a comment on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor removed a comment on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-646123390


   @dpgaspar I followed it. Now I am seeing this.
   <img width="934" alt="Screenshot 2020-06-18 at 9 30 11 PM" src="https://user-images.githubusercontent.com/5203107/85044197-ef907580-b1aa-11ea-8504-3e5509a9e0c9.png">
   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor edited a comment on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor edited a comment on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-646032173


   ### Got the thumbnail in Cache. Now how to retrieve it in the superset frontend client?
   <img width="975" alt="Screenshot 2020-06-19 at 8 22 42 PM" src="https://user-images.githubusercontent.com/5203107/85145797-bf101080-b26a-11ea-9f5d-c02bbb09c7cf.png">
   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-646123390


   @dpgaspar I followed it. Now I am seeing this.
   <img width="934" alt="Screenshot 2020-06-18 at 9 30 11 PM" src="https://user-images.githubusercontent.com/5203107/85044197-ef907580-b1aa-11ea-8504-3e5509a9e0c9.png">
   


----------------------------------------------------------------
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] [incubator-superset] issue-label-bot[bot] commented on issue #10022: Unable to fetch thumbnail image data

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-641230920


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-646032173


   ### Got the thumbnail in Cache. Now how to retrieve it in the superset frontend client?
   ![Screenshot 2020-06-18 at 7 23 34 PM](https://user-images.githubusercontent.com/5203107/85028871-44c38b80-b199-11ea-8ae2-b251b32a0f94.png)
   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-641279418


   Okay, I'll do that.
   
   Thanks. 🙏 


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor edited a comment on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor edited a comment on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-641279418


   @dpgaspar Okay, I'll do that.
   
   Thanks. 🙏 


----------------------------------------------------------------
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] [incubator-superset] dpgaspar commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-641249971


   Hi @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")`
   


----------------------------------------------------------------
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] [incubator-superset] AshishKapoor commented on issue #10022: Unable to fetch thumbnail image data, getting OK Async in response instead

Posted by GitBox <gi...@apache.org>.
AshishKapoor commented on issue #10022:
URL: https://github.com/apache/incubator-superset/issues/10022#issuecomment-642020961


   Hi @dpgaspar 
   
   I'm getting this with celery worker.
   
   ![screenshot_2020-06-09_at_7 27 39_pm](https://user-images.githubusercontent.com/5203107/84275492-c474a900-ab4e-11ea-9c3a-d7d26a71944c.png)
   
   What am I missing now?


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