You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The preservation run fails if there is a media item with a node ID and that node ID does not exist in the Drupal nodes. There might have been a bug that when a Drupal node was deleted the associated media items were not deleted. This causes the preservation run to fail with an exception.
bagger-1 | Traceback (most recent call last):
bagger-1 | File "/var/www/leaf-isle-bagger/leaf-bagger.py", line 130, in <module>
bagger-1 | main()
bagger-1 | File "/var/www/leaf-isle-bagger/leaf-bagger.py", line 126, in main
bagger-1 | process(args, session)
bagger-1 | File "/var/www/leaf-isle-bagger/leaf-bagger.py", line 105, in process
bagger-1 | swiftUtilities.upload_aip(
bagger-1 | File "/var/www/leaf-isle-bagger/swift/utilities.py", line 41, in upload_aip
bagger-1 | checksums = file_checksum(aip_path)
bagger-1 | ^^^^^^^^^^^^^^^^^^^^^^^
bagger-1 | File "/var/www/leaf-isle-bagger/swift/utilities.py", line 136, in file_checksum
bagger-1 | with open(path, "rb") as f:
bagger-1 | ^^^^^^^^^^^^^^^^
bagger-1 | FileNotFoundError: [Errno 2] No such file or directory: '/data/aip/aip_59.zip'
Why do the following fail? Are the all the same reason as listed above?
bagger-1 | INFO:root: Generating AIP: 59
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=59']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 21
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=21']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 32
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=32']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 13
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=13']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 12
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=12']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 15
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=15']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 29
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=29']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 6
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=6']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 17
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=17']' returned non-zero exit status 255.
bagger-1 | INFO:root: Generating AIP: 3
bagger-1 | ERROR:root:Command '['./bin/console', 'app:islandora_bagger:create_bag', '-vvv', '--settings=var/sample_per_bag_config.yaml', '--node=3']' returned non-zero exit status 255.
Todo:
add exception handling to log failure and gracefully continue
The text was updated successfully, but these errors were encountered:
The following is a list of Drupal IDs that are failing preservation. Best guess, the Drupal node was deleted however the associated Drupal media was not deleted thus are failing preservation because of the missing Drupal node component during the archival package creation
The preservation run fails if there is a media item with a node ID and that node ID does not exist in the Drupal nodes. There might have been a bug that when a Drupal node was deleted the associated media items were not deleted. This causes the preservation run to fail with an exception.
Why do the following fail? Are the all the same reason as listed above?
Todo:
The text was updated successfully, but these errors were encountered: