You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/21 08:11:29 UTC

[GitHub] [superset] dineshp89 opened a new issue #19272: Module import CacheConfig in config.py

dineshp89 opened a new issue #19272:
URL: https://github.com/apache/superset/issues/19272


   Import error in config.py for CacheConfig
   
   #### How to reproduce the bug
   
   1. Open the config.py
   2. Go to line number 48  in config.py
   3. See "from superset.superset_typing import CacheConfig"
   4. and try to "superset db upgrade"
   
   ### Expected results
   
   Successful superset db upgrade 
   
   ### Actual results
   
   Got below error:
   ModulNotFoundError: No module Named 'superset.superset_typing'
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `1.4.1
   - python version: `3.8`
   
   
   
   ### 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.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
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-unsubscribe@superset.apache.org

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



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


[GitHub] [superset] dineshp89 commented on issue #19272: Module import CacheConfig in config.py

Posted by GitBox <gi...@apache.org>.
dineshp89 commented on issue #19272:
URL: https://github.com/apache/superset/issues/19272#issuecomment-1073585807


   Please use 
   'from superset.typing import CacheConfig' instead of 'from superset.superset_typing import CacheConfig'
   
   and do  "superset db upgrade"
   
   It will work.
   


-- 
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-unsubscribe@superset.apache.org

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



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


[GitHub] [superset] villebro commented on issue #19272: Module import CacheConfig in config.py

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #19272:
URL: https://github.com/apache/superset/issues/19272#issuecomment-1073596546


   `superset.typing` was recently renamed to `superset.superset_typing`. If you're running `docker-compose` you may need to do `docker-compose pull` for it to work.


-- 
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-unsubscribe@superset.apache.org

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



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


[GitHub] [superset] srinify commented on issue #19272: Module import CacheConfig in config.py

Posted by GitBox <gi...@apache.org>.
srinify commented on issue #19272:
URL: https://github.com/apache/superset/issues/19272#issuecomment-1076452570


   Moving to Discussion so the debugging help can continue 🙏 If there's a clear bug you can help the community reproduce, then definitely open a Github Issue!


-- 
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-unsubscribe@superset.apache.org

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



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