I had same kind of problems when using long names (in order of 12+ characters or so) for the theme name or if using spaces in the theme name.