Definition of the great schism are the period from 1378 to 1417 during which there were two papacies in the Roman Catholic Church, one in Rome and one in Avignon .