Error opening pinhole