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
{{ message }}
Repository navigation
Building doc directory - mapbox_token needed #3483
However in older versions If I comment out/remove the mapbox_token section, running make dies almost immediately with the error TypeError: 'coroutine' object is not subscriptable
I'm not sure if this is due to mapbox portions not working or other error that is different. I suspect that the problem is due to some version mismatch of other software (Jupyter, Python, etc.)
I created a free account, then copied my "Default public token" to the file <gitrepo>/doc/python/.mapbox_token then ran make
While the build is still running, it seems to be working so far.
As this step seems to be missing from the docs (or at least is not in the README.md) I've created a fork and made a minor documentation update pull request. Will push shortly.
I stumbled on this when also looking to create offline doc (for Zeal). The doc was enough to fix my problem, thanks to the doc fix by @magic-lantern. I think the issue can be closed @nicolaskruchten
Activity
magic-lantern commentedon Nov 22, 2021
Clarifying my comment - perhaps this should be a separate issue?
I'm most interested in an older version of plotly python library.
In the github version, removing the mapbox section from Makefile:
Appears to allow almost everything to build correctly. Dies at notebooks that require mapbox.
However in older versions If I comment out/remove the mapbox_token section, running
makedies almost immediately with the errorTypeError: 'coroutine' object is not subscriptableI'm not sure if this is due to mapbox portions not working or other error that is different. I suspect that the problem is due to some version mismatch of other software (Jupyter, Python, etc.)
nicolaskruchten commentedon Nov 22, 2021
The contents of .mapbox_token should just be a valid mapbox.com token. It's just a matter of signing up and getting a free token :)
magic-lantern commentedon Nov 23, 2021
Thanks @nicolaskruchten !
I created a free account, then copied my "Default public token" to the file
<gitrepo>/doc/python/.mapbox_tokenthen ranmakeWhile the build is still running, it seems to be working so far.
As this step seems to be missing from the docs (or at least is not in the README.md) I've created a fork and made a minor documentation update pull request. Will push shortly.
Adding setup details for mapbox token to help with plotly#3483
Merge pull request #1 from magic-lantern/magic-lantern-patch-1
rabyj commentedon Feb 2, 2023
I stumbled on this when also looking to create offline doc (for Zeal). The doc was enough to fix my problem, thanks to the doc fix by @magic-lantern. I think the issue can be closed @nicolaskruchten
magic-lantern commentedon Feb 2, 2023
Guess I forgot about this. Since they already merged my documentation fix, closing this issue.