diff --git a/leafmap/maplibregl.py b/leafmap/maplibregl.py index 15d8bf3d2f..39a5d01272 100644 --- a/leafmap/maplibregl.py +++ b/leafmap/maplibregl.py @@ -4672,6 +4672,9 @@ def open_gps_traces( if arrow_args is None: arrow_args = {} + filepaths = [ + str(filepath) for filepath in filepaths + ] # Support pathlib.Path objects filepath_widget = widgets.Dropdown( value=None, options=filepaths,