Ah, sorry, it was an error due to the existence of spaces in the folder name. Had to set max_entities to a higher value, though, but it works now.