MWE created - rootdoc = error setup, rootdoc2 = working setup