That implies a problem with the epub. Have you tried 'exploding' the epub (which is just a ZIP file under the covers) to see if it really contains the file 'PEBPS/Text/page-template.xpgt' that Calibre thinks is missing?