Esri / arcgis-osm-editor

ArcGIS Editor for OpenStreetMap is a toolset for GIS users to access and contribute to OpenStreetMap through their Desktop or Server environment.
Apache License 2.0
395 stars 129 forks source link

OSM File Loader tool does not check existence of Default and Scratch workspace #155

Closed mboeringa closed 7 years ago

mboeringa commented 7 years ago

Hi @ThomasEmge,

This is just a very minor issue that may not need fixing, but I noticed that the OSM File Loader does not check for the existence of the Scratch workspace (and probably also the Default workspace), while being depended on especially the Scratch workspace for intermediate storage.

I only discovered this when I removed a 180GB external SSD to make room for a larger 2TB version. The original drive was set as F-drive, while the new one got assigned I. This caused the not so nicely catched IO error you see in the screenshot, as the F-drive was set as "Scratch" workspace in my Geoprocessing Environment settings.

It is not a big deal, since the first error line is quite clear or explicit about the underlying issue, but the extended error logging below it with more intimidating references to cryptic "IO Errors" is not the most user friendly for non-developer ArcGIS users.

Of course, this is rare corner case, so a won't fix is probably not a big deal, but catching it probably isn't either.

scratch_workspace_error