Uncaught TypeError: Cannot read property 'open' of null on branca==0.4 and above
nanshanli opened this issue · 7 comments
Hi,
When using the following versions (branca==0.4, folium==0.12.1
),
import folium
folium.Map()
gives: Uncaught TypeError: Cannot read property 'open' of null
Downgrading to branca==0.3.1, folium==0.12.1
solves the problem, and the base map is rendered correctly.
Can anyone else replicate this error or know what might be the cause? I am working within a databricks notebook, on python 3.8.8.
Can you share the full stacktrace? At what line in what file does the error occur?
I don't know about databricks, but given that folium is not broken in general I suspect this has something to do with your setup. Sorry that's not really helpful.
Could you try installing branca from our master branch? We made a change recently that might help.
that's good news, thanks for verifying that