Problem running phyghtmap with a polygon shapefile


I am trying to run phyghtmap ( with a shp polygon as input but the following error is returned:

Running it with a bounding box works fine. The shp file works also fine with other tools.

Does phyghtmap require a special kind of shp file?