You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "pdesaxce (via GitHub)" <gi...@apache.org> on 2025/03/24 15:07:42 UTC

[I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

pdesaxce opened a new issue, #32821:
URL: https://github.com/apache/superset/issues/32821

   ### Bug description
   
   **How to reproduce the bug**
   1. Clone/Checkout the 5.0.0rc1
   2. Do a docker compose (docker compose -f docker-compose.yml up)
   
   I am unable to find the Cartodiagram type of chart in the chart list. According to the changelog (https://github.com/apache/superset/blob/5.0.0rc1/CHANGELOG/5.0.0.md, https://github.com/apache/superset/pull/25869 feat(plugin): add plugin-chart-cartodiagram (@jansule) ), it should be available.
   This issue has been mentioned in the past : https://github.com/apache/superset/discussions/21758#discussioncomment-10063373
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina closed issue #32821: Cartodiagram plugin missing from chart type list in 5.0.0rc1
URL: https://github.com/apache/superset/issues/32821


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2748815805

   @michael-s-molina insight on this?


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2751970188

   Closing this issue given the comment above.


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "pdesaxce (via GitHub)" <gi...@apache.org>.
pdesaxce commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2751751285

   Using this solution
   https://github.com/apache/superset/issues/32187#issuecomment-2647155633
   I managed to get it to appear (I had the issue mentioned in this post on another install of superset). After that I had access to the cartodiagram plugin.


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "pdesaxce (via GitHub)" <gi...@apache.org>.
pdesaxce commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2750948166

   I checked the recommendations made by Dosubot and none of those helped. Everything seemed to be in order. (I assume those recommendations were made because the bot thought this was a custom plugin instead of a built-in one).


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2748474075

   <!-- Greeting -->
   Hello @pdesaxce! I'm here to assist you with any bugs, questions, or contributions. Let's see how we can tackle this together.
   
   <!-- Answer -->
   To resolve the issue of the Cartodiagram plugin missing from the chart type list in Superset version 5.0.0rc1, ensure the following steps are completed:
   
   1. **Plugin Registration**: Verify that the Cartodiagram plugin is correctly registered in the Superset plugin registry. This should be done in `superset-frontend/src/visualizations/presets/MainPreset.js` with the following code:
   
      ```js
      import { CartodiagramPlugin } from '@superset-ui/plugin-chart-cartodiagram';
   
      new CartodiagramPlugin().configure({ key: 'cartodiagram' }).register();
      ```
   
   2. **Dependencies**: Ensure that all necessary dependencies and peer dependencies for the Cartodiagram plugin are installed. These include packages like `@types/geojson`, `geojson`, `lodash`, and others listed in the plugin's `package.json` file <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-cartodiagram/package.json)</sup>.
   
   3. **Docker Setup**: Confirm that the Docker setup includes the Cartodiagram plugin dependency. The `package.json` should have an entry for `"@superset-ui/plugin-chart-cartodiagram": "file:./plugins/plugin-chart-cartodiagram"` <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/package.json)</sup>.
   
   4. **CSP Settings**: If you are using layers from third-party domains, adjust the Content Security Policy (CSP) settings, as Superset rejects requests to third-party domains by default <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-cartodiagram/README.md)</sup>.
   
   By ensuring these steps are followed, the Cartodiagram plugin should appear in the chart type list. If the issue persists, double-check the configuration and dependencies.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b2483290-5c5e-47bd-b7be-bc7fdaccd338?feedback_type=other)</sup>
   


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Cartodiagram plugin missing from chart type list in 5.0.0rc1 [superset]

Posted by "AlexGacon (via GitHub)" <gi...@apache.org>.
AlexGacon commented on issue #32821:
URL: https://github.com/apache/superset/issues/32821#issuecomment-2751552657

   Personally I have the cartodiagram available on 5.0.0rc1-dev.


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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