-
Notifications
You must be signed in to change notification settings - Fork 6
Error still with non-DOMWidget widgets #139
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
Comments
Does the example work for you with the pypi release of lonboard? It does for me, but then when I try with the latest Ionboard (developmentseed/lonboard@015672d) I'm seeing the error below, which is getting thrown by anywidget.
I have a hunch that this error means that Ionboard doesn't work with the latest anywidget because Ionboard is doing something non-standard with its static assets, and also that, shinywidgets is failing to render for similar reasons. Hopefully, if Ionboard addresses that issue with anywidget, it'll also fix the shinywidgets issue. |
That's because you need to build the JS parts from source as well, see https://github.com/developmentseed/lonboard/blob/main/DEVELOP.md#javascript |
It turns out that it works from the command line with |
In case it's useful, here's what I see in vscode: Screen.Recording.2024-03-19.at.5.52.35.PM.mov |
Description
I'm trying to run the example I proposed in #133 but it still isn't working for me. In particular, I can see a map render when I
Working:

Not working:

If I look at the browser console, I see a few errors:

What I Did
In this PR https://github.com/developmentseed/lonboard/pull/409/files I have a lockfile (you need to be on Poetry >=1.8) and minimal reproducible example. If you comment out the
def layer
block, the map will render; otherwise it'll fail with a blank screen.The text was updated successfully, but these errors were encountered: