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.

AttributeError: type object 'dict' has no attribute 'import_obj'

See original GitHub issue

I 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

Error

How to reproduce the bug

  1. Go to Manage in the Menu
  2. Click on Import Dashboard
  3. Select the exported dashboard created using Druid Datasource
  4. 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:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
issue-label-bot[bot]commented, Jun 18, 2019

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.

0reactions
stale[bot]commented, Oct 4, 2019

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.

Read more comments on GitHub >

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

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