You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
"version": "0.19.1"
Expected results
When users wanna build the docs follow CONTRIBUTING.md, execute command python setup.py build_sphinx hope to build the docs success.
Actual results
$ python setup.py build_sphinx
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
VERSION: 0.19.1
GIT SHA: b'255ea699770a98b8406a516d44fc7eac47d45ab6\n'
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
running build_sphinx
creating /path/to/incubator-superset/docs/_build
creating /path/to/incubator-superset/docs/_build/doctrees
creating /path/to/incubator-superset/docs/_build/html
Running Sphinx v1.6.3
Exception occurred:
File "/path/to/superset-dev/lib/python3.6/site-packages/sphinxcontrib/youtube/youtube.py", line 3, in<module>
import urlparse
ModuleNotFoundError: No module named 'urlparse'
The full traceback has been saved in /tmp/sphinx-err-wvwlr926.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
The reason is:
The urlparse module is renamed to urllib.parse in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
Accces to sphinxcontrib-youtub on pypi the latest package is 0.12, but the latest code version is 0.2.0 and fixed the url parse module. pip can't install the right package now.
Steps to reproduce
create one clean virtulenv
clone superset code from github
run command to prepare sphinx packages pip install -r dev-reqs-for-docs.txt
run command to build docs python setup.py build_sphinx
The text was updated successfully, but these errors were encountered:
Hi,
just had the same issue on my end and seems suggested solution from @leehwmj-junta doesn't work because error appears to be from package dependencies.
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
"version": "0.19.1"
Expected results
When users wanna build the docs follow
CONTRIBUTING.md
, execute commandpython setup.py build_sphinx
hope to build the docs success.Actual results
The reason is:
Accces to sphinxcontrib-youtub on pypi the latest package is
0.12
, but the latest code version is0.2.0
and fixed the url parse module. pip can't install the right package now.Steps to reproduce
pip install -r dev-reqs-for-docs.txt
python setup.py build_sphinx
The text was updated successfully, but these errors were encountered: