srikark16 opened a new issue #15940:
URL: https://github.com/apache/superset/issues/15940


   Hello! I've been running an 1.1.0 version of Superset without a problem, 
where I embed some dashboards on my website and through the Public user role 
permissions it is possible to see and use the dashboards.
   
   In order to fix an issue ( https://github.com/apache/superset/issues/13544 
), we decided to upgrade to 1.2.0
   
   However, after updating to version 1.2.0 I've been having problems providing 
public access to my dashboards. I get "Unexpected error: TypeError: can't 
convert undefined to object" message when before I was able to access the 
dashboard.
   
   #### Below is the Superset upgrade log information (from 1.1.0 to 1.2.0)
   
   #pip install apache-superset --upgrade
   
   #export SUPERSET_CONFIG_PATH=/home/ubuntu/supersetconf/superset_config.py
   
   
   # superset db upgrade
   
   Loaded your LOCAL configuration at 
[/home/ubuntu/supersetconf/superset_config.py]
   logging was configured successfully
   2021-07-29 08:25:06,295:INFO:superset.utils.logging_configurator:logging was 
configured successfully
   2021-07-29 08:25:06,302:INFO:root:Configured event logger of type <class 
'superset.utils.log.DBEventLogger'>
   
/home/ubuntu/venv-superset/lib/python3.7/site-packages/flask_caching/__init__.py:202:
 UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively 
disabled.
     "Flask-Caching: CACHE_TYPE is set to null, "
   No PIL installation found
   2021-07-29 08:25:06,731:INFO:superset.utils.screenshots:No PIL installation 
found
   INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
   INFO  [alembic.runtime.migration] Will assume transactional DDL.
   
   
   # superset init
   
   Loaded your LOCAL configuration at 
[/home/ubuntu/supersetconf/superset_config.py]
   logging was configured successfully
   2021-07-29 08:25:39,035:INFO:superset.utils.logging_configurator:logging was 
configured successfully
   2021-07-29 08:25:39,042:INFO:root:Configured event logger of type <class 
'superset.utils.log.DBEventLogger'>
   
/home/ubuntu/venv-superset/lib/python3.7/site-packages/flask_caching/__init__.py:202:
 UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively 
disabled.
     "Flask-Caching: CACHE_TYPE is set to null, "
   No PIL installation found
   2021-07-29 08:25:39,249:INFO:superset.utils.screenshots:No PIL installation 
found
   Syncing role definition
   2021-07-29 08:25:41,275:INFO:superset.security.manager:Syncing role 
definition
   Syncing Admin perms
   2021-07-29 08:25:41,302:INFO:superset.security.manager:Syncing Admin perms
   Syncing Alpha perms
   2021-07-29 08:25:41,523:INFO:superset.security.manager:Syncing Alpha perms
   Syncing Gamma perms
   2021-07-29 08:25:41,733:INFO:superset.security.manager:Syncing Gamma perms
   Syncing granter perms
   2021-07-29 08:25:41,944:INFO:superset.security.manager:Syncing granter perms
   Syncing sql_lab perms
   2021-07-29 08:25:42,185:INFO:superset.security.manager:Syncing sql_lab perms
   Copy/Merge Public to Public
   2021-07-29 08:25:42,414:INFO:superset.security.manager:Copy/Merge Public to 
Public
   Fetching a set of all perms to lookup which ones are missing
   2021-07-29 08:25:42,423:INFO:superset.security.manager:Fetching a set of all 
perms to lookup which ones are missing
   Creating missing datasource permissions.
   2021-07-29 08:25:42,736:INFO:superset.security.manager:Creating missing 
datasource permissions.
   Creating missing database permissions.
   2021-07-29 08:25:42,749:INFO:superset.security.manager:Creating missing 
database permissions.
   Cleaning faulty perms
   2021-07-29 08:25:42,751:INFO:superset.security.manager:Cleaning faulty perms
   
   
   
   #### How to reproduce the bug
   
   Install Superset version 1.1.0
   upgrade to Superset version 1.2.0
   
   ### Environment
   
   - superset version: 1.2.0
   - python version: 3.7.5
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to