motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
673 stars 129 forks source link

run_simulation.py wants to create .maplocks in write protected dataset #387

Open marlon31415 opened 1 month ago

marlon31415 commented 1 month ago

Describe the bug

When running python $NUPLAN_DEVKIT_ROOT/nuplan/planning/script/run_simulation.py the script gpkg_mapsdb.py in line 84 is creating a file .maplocks in the map directory of the dataset.

However, the official documentation says, that the dataset directory can be read-only:

~/nuplan/dataset    -   The dataset folder. Can be read-only.
~/nuplan/exp        -   The experiment and cache folder. Must have read and write access.

Since my dataset directory is read-only, this leads to an error. Commenting line 84 out prevents the error.