The import module function needs an empty layer to work with, but none could be found. Clear a layer and retry.