def _create_initial_locations(site):
    locations_paths = getattr(settings, 'WWWHISPER_INITIAL_LOCATIONS', [])
    for path in locations_paths:
        try:
            site.locations.create_item(path)
        except ValidationError as ex:
            raise ImproperlyConfigured('Failed to create location %s: %s'
                                       % (path, ', '.join(ex.messages)))
err can be an instance of sys.exc_info() -- which is the latest traceback
dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_admin/__init__.py/_create_initial_locations--crossover with--dataset/ETHPy150Open CleanCut/green/green/process.py/ddebug