Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to render lonboard maps in quarto ipynb blog #11594

Open
kdheepak opened this issue Dec 2, 2024 · 3 comments
Open

Unable to render lonboard maps in quarto ipynb blog #11594

kdheepak opened this issue Dec 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kdheepak
Copy link
Contributor

kdheepak commented Dec 2, 2024

Bug description

I've attached a notebook along with a uv lock file where I'm seeing an issue during render:

Archive.zip

This is what it looks like in VSCode:

Image

It renders correctly and is interactable even when using jupyter lab.

But when I run quarto preview and load the page, I see this error:

Image

Here's the error from the javascript console:

Image

I don't see an error like this with folium when rendering with quarto:

Image

It appears to be something with anywidget / lonboard.

Steps to reproduce

Run quarto preview on the attached notebook.

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

quarto --version
1.7.1

@kdheepak
Copy link
Contributor Author

kdheepak commented Dec 2, 2024

This is likely an anywidget issue so I'll close it here.

@kdheepak kdheepak closed this as completed Dec 2, 2024
@mcanouil mcanouil closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
@mcanouil mcanouil added support a request for support and removed bug Something isn't working labels Dec 2, 2024
@kdheepak
Copy link
Contributor Author

kdheepak commented Dec 4, 2024

It appears that this is a quarto issue and not related to anywidget specifically, because it appears to work without quarto:

Screenshot below from @manzt (author of anywidget)'s comment from manzt/anywidget#343 (comment)

Image

Can we reopen this issue?

@mcanouil mcanouil added bug Something isn't working and removed support a request for support labels Dec 4, 2024
@mcanouil mcanouil reopened this Dec 4, 2024
@cscheid
Copy link
Collaborator

cscheid commented Dec 5, 2024

This is the same issue we see on uwdata/mosaic#624; I'm not sure what Jupyter is doing with anywidget, but the HTTP request to anywidget.js cannot possibly succeed without something, somewhere, telling Quarto what file is expected to exist there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants