question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Word_Cloud not working in superset 37

See original GitHub issue

I am experiencing a new issue with word cloud charts on the latest release of superset 37.0rc4.

When I use the Public role (without login in) Word Cloud charts appears as Screenshot 2020-08-12 at 15 16 04

In the logs I can see the following error :

superset-37.0rc4/superset/models/slice.py", line 160, in viz
    viz_class = viz_types[self.viz_type]
KeyError: 'word_cloud'
ERROR:superset.models.slice:'word_cloud' 

When I log in as Admin user , the chart loads properly Screenshot 2020-08-12 at 15 19 09 event if I still see the same KeyError: 'word_cloud' error message

Additionally, inspecting the web page when not logged in shows the following error :

Failed to load resource: the server responded with a status of 401 (UNAUTHORIZED)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
villebrocommented, Aug 12, 2020

@lilila with regards to the 401 error, I believe you should set PUBLIC_ROLE_LIKE_GAMMA = True in your config, run superset init then add the datasource access to the dataset to the public role.

I think the exception you’re seeing is mostly a cosmetic problem for now, so fixing the permissions should solve your problem.

0reactions
lililacommented, Aug 15, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Word_Cloud not working in superset 37 · Issue #10588 - GitHub
I am experiencing a new issue with word cloud charts on the latest release of superset 37.0rc4. When I use the Public role...
Read more >
@superset-ui/plugin-chart-word-cloud - npm package | Snyk
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository....
Read more >
package.json - apache/superset - Sourcegraph
"url": "https://github.com/apache/superset/issues". },. "repository": { ... plugins/plugin-chart-word-cloud",. "@superset-ui/preset-chart-xy": "file:.
Read more >
encodable WordCloud Demo - CodeSandbox
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >
https://raw.githubusercontent.com/apache-superset/...
... the table ([#1310](https://github.com/apache-superset/superset-ui/issues/1310)) ... **plugin-chart-word-cloud:** make wordcloud take current formdata ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found