Bases: exceptions.Exception
Archive exceptions
Creates an archive of type archive_type, named file_name, containing all the deliveries in each of the assignmentgroups in the list assignmentgroups.
Creates an archive of type archive_type, named assignment.get_path(), containing all files in the delivery.
Adds files one by one from the list of deliveries into the archive. After writing each file to the archive, the new bytes in the archive is yielded. If a file is bigger than DEVILRY_MAX_ARCHIVE_CHUNK_SIZE, only DEVILRY_MAX_ARCHIVE_CHUNK_SIZE bytes are written before it’s yielded. The returned object is an iterator.
Creates an archive, adds files delivered by the assignmentgroups and yields the data.
For each assignmentgroups in groups, calls verify_deliveries_not_exceeding_max_file_size(). If the size of a file in a delivery exceeds the settings.DEVILRY_MAX_ARCHIVE_CHUNK_SIZE, an ArchiveException is raised.