You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/01/17 02:28:20 UTC

[GitHub] yamyamyuo commented on issue #4219: cannot init and run superset 0.22.1

yamyamyuo commented on issue #4219: cannot init and run superset 0.22.1
URL: https://github.com/apache/incubator-superset/issues/4219#issuecomment-358174937
 
 
   @xrmx thanks for your reply! 
   ### 1. I checked flask-appbuilder
   ```
   ~/Documents ? pip show flask-appbuilder                                                               
   Name: Flask-AppBuilder
   Version: 1.9.4
   Summary: Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.
   Home-page: https://github.com/dpgaspar/flask-appbuilder/
   Author: Daniel Vaz Gaspar
   Author-email: danielvazgaspar@gmail.com
   License: BSD
   Location: /Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages
   Requires: colorama, Flask-SQLAlchemy, Flask-Login, click, Flask-Babel, Flask, Flask-OpenID, Flask-WTF
   ```
   this version is required in superset-0.22.1
   
   ### 2. I avoid using `superset runserver` under git repo
   I run superset in new virtualenv, this time it can run and css is correct, however, the following traceback is still apear.
   
   ```
   2018-01-17 10:25:09,764:ERROR:flask_appbuilder.base:'NoneType' object has no attribute 'name'
   Traceback (most recent call last):
     File "/Users/serena/Documents/test-superset/lib/python2.7/site-packages/flask_appbuilder/base.py", line 462, in _add_permission
       self.sm.add_permissions_view(baseview.base_permissions, baseview.__class__.__name__)
     File "/Users/serena/Documents/test-superset/lib/python2.7/site-packages/flask_appbuilder/security/manager.py", line 804, in add_permissions_view
       if perm_view.permission.name not in base_permissions:
   AttributeError: 'NoneType' object has no attribute 'name'
   2018-01-17 10:25:09,765:ERROR:flask_appbuilder.base:Add Permission on View Error: 'NoneType' object has no attribute 'name'
   2018-01-17 10:25:10,073:ERROR:flask_appbuilder.base:'NoneType' object has no attribute 'name'
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services