AttributeError: type object 'dict' has no attribute 'import_obj'
See original GitHub issueI exported Dashboard that was created using Druid Datasource. When I try to import it again I get the following AttributeError.
Expected results
Supposed to import dashboard.
Actual results
AttributeError: type object 'dict' has no attribute 'import_obj'
Screenshots
How to reproduce the bug
- Go to Manage in the Menu
- Click on Import Dashboard
- Select the exported dashboard created using Druid Datasource
- Upload and see error
Environment
- superset version:
0.28.1
- python version:
3.7.3
- node.js version:
12.4.0
- npm version:
6.9.0
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- [ x ] It works with csv files but doesn’t work with druid datasource dashboards.
- [ 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 have found similar but not related to druid datasource.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
AttributeError: type object 'dict' has no attribute 'import_obj ...
I exported Dashboard that was created using Druid Datasource. When I try to import it again I get the following AttributeError.
Read more >python - AttributeError: 'dict' object has no attribute 'predictors'
The AttributeError is an exception thrown when an object does not have the attribute you tried to access. The class dict does not...
Read more >'dict' object has no attribute 'write' : r/learnpython - Reddit
Using this code i got this error: 'dict' object has no attribute 'write' Code: users = {} data = [json.dumps(users)] data.append({nickname: ...
Read more >AttributeError: 'dict' object has no attribute 'self' - PyTorch Forums
I have dataset class and dataloader as: class SomeDataset(Dataset): def __init__(self, usage='val', dataset_pickle_file='.
Read more >Issue 45572: urllib.request:AttributeError: 'dict' object has no ...
msg404767 ‑ (view) Author: tongxiaoge (sxt1001) Date: 2021‑10‑22 13:35
msg406813 ‑ (view) Author: Andrei Kulakov (andrei.avk) * Date: 2021‑11‑23 02:45
msg411318 ‑ (view) Author: Andrei...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.95. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
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.