superset icon indicating copy to clipboard operation
superset copied to clipboard

Inconsistency in package dependency

Open sumitra19jha opened this issue 3 years ago • 8 comments

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Clone Superset repo on Mac
  2. Install Packages
  3. Run superset run -p 8088 --with-threads --reload --debugger
  4. See an error on the screen

Expected results

The complete dashboard should appear with the necessary example dataset

Actual results

Dashboard doesn't appear and the following screen in the below image appears on screen

Screenshots

82610735-87874900-9b84-11ea-98b1-306e7e6c93f4

Environment

  • browser type and version: Chrome
  • superset version: superset current version
  • python version: `python --3.8
  • node.js version: node -16.12.1
  • any feature flags active:

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • [ Y] I have checked the superset logs for python stack traces and included them here as text if there are any.
  • [ Y] I have reproduced the issue with at least the latest released version of the superset.
  • [ Y] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Same packages of different versions are utilised in the superset main folder and superset-frontend folder. This issue needs to be fixed.

sumitra19jha avatar Jan 07 '22 15:01 sumitra19jha

Hello @sumitra19jha thanks for submitting this issue. Would you mind providing more info concerning the error that you are seeing?

geido avatar Jan 10 '22 16:01 geido

@geido Snapshot added

sumitra19jha avatar Jan 14 '22 14:01 sumitra19jha

I have resolved the above issue on my local system by removing package conflicts in the superset-frontend folder. During installation from scratch in order to remove the above error, I have to run npm install in a superset-frontend folder and then the dashboard appears. The superset-frontend folder shows logs that the package in the parent folder and one used there don't have the same version.

sumitra19jha avatar Jan 14 '22 14:01 sumitra19jha

Can I create the PR making sure that common packages across multiple folders have same version?

sumitra19jha avatar Jan 14 '22 14:01 sumitra19jha

Hello @sumitra19jha that would be awesome! Are you already in the Superset Slack? I'd be happy to help you getting your PR reviewed and merged. You can find me there as geido.

geido avatar Jan 14 '22 15:01 geido

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 17 '22 19:04 stale[bot]

Hi @geido I would like to work on this issue if nobody has already taken it up. Thanks

athul-samsung avatar Nov 21 '22 06:11 athul-samsung

Hi @geido I would like to work on this issue if nobody has already taken it up. Thanks

Are you still able to reproduce this issue? If so, sure you are more than welcome to pick it up and I can help you along the way.

geido avatar Nov 21 '22 15:11 geido

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!

rusackas avatar Feb 13 '24 21:02 rusackas