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 2017/11/08 04:49:35 UTC
[GitHub] poly47 opened a new issue #3799: SQLAlchemy uri connection failed
poly47 opened a new issue #3799: SQLAlchemy uri connection failed
URL: https://github.com/apache/incubator-superset/issues/3799
Make sure these boxes are checked before submitting your issue - thank you!
- [*] I have checked the superset logs for python stacktraces and included it here as text if 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
### Superset version
0.20.5
python 3.6.3
### Expected results
It works!
### Actual results
ERROR: {"error": "Connsection failed!\n\nThe error message returned was:\n'NoneType' object has no attribute 'get_password_masked_url_from_uri'"}
### Steps to reproduce
Input
Database: People Data
SQLAlchemy URI: mysql://root:password@localhost/People
After clicking "Test Connection" button, the error raised.
I followed the documentation to add a new database connection and faced this error.
I read the core.py and thought the error is raised in "testconn" function.
But I found:
'''
if database and uri:
......
masked_url = database.get_password_masked_url_from_uri(uri)
'''
So I cannot figure out what happened.
----------------------------------------------------------------
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