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

Demo script error: flask_appbuilder.base:'NoneType' object has no attribute 'name' #62

Closed
nblumoe opened this issue Jun 27, 2018 · 8 comments
Assignees

Comments

@nblumoe
Copy link

nblumoe commented Jun 27, 2018

Trying to run the demo with demo.sh postgres or demo.sh sqlite results in the following errors:

Loaded your LOCAL configuration at [/etc/superset/superset_config.py]
2018-06-27 13:42:43,749:ERROR:flask_appbuilder.base:'NoneType' object has no attribute 'name'
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/base.py", line 469, in _add_permission
    self.sm.add_permissions_view(baseview.base_permissions, baseview.__class__.__name__)
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/security/manager.py", line 819, in add_permissions_view
    if perm_view.permission.name not in base_permissions:
AttributeError: 'NoneType' object has no attribute 'name'
2018-06-27 13:42:43,750:ERROR:flask_appbuilder.base:Add Permission on View Error: 'NoneType' object has no attribute 'name'
2018-06-27 13:42:44,233:ERROR:flask_appbuilder.base:'NoneType' object has no attribute 'name'
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/base.py", line 469, in _add_permission
    self.sm.add_permissions_view(baseview.base_permissions, baseview.__class__.__name__)
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/security/manager.py", line 819, in add_permissions_view
    if perm_view.permission.name not in base_permissions:
AttributeError: 'NoneType' object has no attribute 'name'
2018-06-27 13:42:44,235:ERROR:flask_appbuilder.base:Add Permission on View Error: 'NoneType' object has no attribute 'name'
2018-06-27 13:42:44,895:ERROR:flask_appbuilder.base:'NoneType' object has no attribute 'name'
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/base.py", line 469, in _add_permission
    self.sm.add_permissions_view(baseview.base_permissions, baseview.__class__.__name__)
  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/security/manager.py", line 819, in add_permissions_view
    if perm_view.permission.name not in base_permissions:
AttributeError: 'NoneType' object has no attribute 'name'
2018-06-27 13:42:44,897:ERROR:flask_appbuilder.base:Add Permission on View Error: 'NoneType' object has no attribute 'name'```

Superset still starts and I can access it via my browser on localhost but the plots and dashboards are broken (showing various error messages).
@nblumoe nblumoe changed the title Demo script error: flask_appbuilder.base:'NoneType' object has no attribute 'name' Demo script error: flask_appbuilder.base:'NoneType' object has no attribute 'name' Jun 27, 2018
@two8g
Copy link

two8g commented Jul 12, 2018

+1

@amancevice
Copy link
Owner

Looks like it might be related to this issue apache/superset#3758

@asktalk
Copy link

asktalk commented Aug 14, 2018

+1

1 similar comment
@vickyi
Copy link

vickyi commented Aug 25, 2018

+1

@jackpgao
Copy link

Same problem.

@dkatz23238
Copy link

Same Issue here

@amancevice
Copy link
Owner

This project is unaffiliated with Superset in any official capacity; please file issues with Superset at https://github.com/apache/incubator-superset/issues

This project is solely about deploying Superset with Docker.

@amancevice
Copy link
Owner

I'm closing this issue as it's not relevant to the Docker image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants