Skip to content
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

Slice.druid_datasource_id empty in older versions #208

Closed
x4base opened this issue Mar 29, 2016 · 0 comments
Closed

Slice.druid_datasource_id empty in older versions #208

x4base opened this issue Mar 29, 2016 · 0 comments

Comments

@x4base
Copy link
Contributor

x4base commented Mar 29, 2016

I am using the sqlite file from an older version of panoramix (about v0.8.0 f0b2f98).
Even after I run caravel db upgrade,slices.druid_datasource_id are all empty.
The table druid_datasource is also empty.
Seems like I have to refresh the druid datasource to create new records in the table datasources. Is it the only way to fix this? Can it be fixed using the migration script?
Otherwise, it will make Slice.druid_datasource and Slice.datasource empty, causing other errors.
For example:

File "caravel/views.py", line 651, in dashboard
pos_dict=pos_dict)
...
File "caravel/templates/caravel/dashboard.html", line 80, in block "body"
class="widget {{ slice.viz.viz_type }}"
File "lib/python2.7/site-packages/Jinja2-2.8-py2.7.egg/jinja2/environment.py", line 408, in getattr
return getattr(obj, attribute)
UndefinedError: 'caravel.models.Slice object' has no attribute 'viz'

graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this issue Oct 4, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](williaster/data-ui@v0.0.80...v0.0.81)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](williaster/data-ui@v0.0.80...v0.0.81)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](williaster/data-ui@v0.0.80...v0.0.81)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](williaster/data-ui@v0.0.80...v0.0.81)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants