Skip to content

Instantly share code, notes, and snippets.

@currmie
Created October 19, 2018 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save currmie/3925684c73d572c9b1116c352094dd59 to your computer and use it in GitHub Desktop.
Save currmie/3925684c73d572c9b1116c352094dd59 to your computer and use it in GitHub Desktop.
archivematica-storage-service_1 | INFO 2018-10-19 11:39:31 locations.models.dspace:dspace:move_from_storage_service:323: Statement: <feed xmlns="http://www.w3.org/2005/Atom"><id>http://dspace5x.archivematica.org:8080/swordv2/statement/133.atom</id><link href="http://dspace5x.archivematica.org:8080/swordv2/statement/133.atom" rel="self" /><title type="text">SOMECHILD1</title><author><name>Unknown</name></author><updated>2018-10-19T18:46:11.000Z</updated><category term="http://dspace.org/state/archived" scheme="http://purl.org/net/sword/terms/state" label="State">The item has been archived</category><entry><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/370/objects.7z" /><id>http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/370/objects.7z</id><title type="text">Resource http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/370/objects.7z</title><summary type="text">Resource Part</summary><updated>2018-10-19T18:46:12.259Z</updated></entry><entry><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/372/metadata.7z" /><id>http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/372/metadata.7z</id><title type="text">Resource http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/372/metadata.7z</title><summary type="text">Resource Part</summary><updated>2018-10-19T18:46:12.260Z</updated></entry><entry><id>http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/1/sword-2018-10-19T14:45:57.original.xml</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/1/sword-2018-10-19T14:45:57.original.xml</title><summary type="text">Original Deposit</summary><updated>2018-10-19T18:46:12.260Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/1/sword-2018-10-19T14:45:57.original.xml" /><category term="http://purl.org/net/sword/terms/originalDeposit" scheme="http://purl.org/net/sword/terms/" label="Original Deposit" /></entry><entry><id>http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/3/objects.7z</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/3/objects.7z</title><summary type="text">Original Deposit</summary><updated>2018-10-19T18:46:12.260Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/3/objects.7z" /><category term="http://purl.org/net/sword/terms/originalDeposit" scheme="http://purl.org/net/sword/terms/" label="Original Deposit" /></entry><entry><id>http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/5/metadata.7z</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/5/metadata.7z</title><summary type="text">Original Deposit</summary><updated>2018-10-19T18:46:12.261Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/81/5/metadata.7z" /><category term="http://purl.org/net/sword/terms/originalDeposit" scheme="http://purl.org/net/sword/terms/" label="Original Deposit" /></entry></feed>
archivematica-storage-service_1 | INFO 2018-10-19 11:39:31 locations.models.dspace:dspace:move_from_storage_service:329: Handle: 123456789/81
archivematica-storage-service_1 | INFO 2018-10-19 11:39:31 locations.models.dspace:dspace:_set_permissions:350: Restricted metadata policy is empty ([]), not setting
archivematica-storage-service_1 | ERROR 2018-10-19 11:39:31 locations.models.async_manager:async_manager:wrapper:122: Task threw an error: '.atom'
archivematica-storage-service_1 | Traceback (most recent call last):
archivematica-storage-service_1 | File "/src/storage_service/locations/models/async_manager.py", line 119, in wrapper
archivematica-storage-service_1 | value = task_fn(*args, **kwargs)
archivematica-storage-service_1 | File "/src/storage_service/locations/api/resources.py", line 698, in task
archivematica-storage-service_1 | self._store_bundle(bundle)
archivematica-storage-service_1 | File "/src/storage_service/locations/api/resources.py", line 672, in _store_bundle
archivematica-storage-service_1 | premis_agents=agents, aip_subtype=aip_subtype)
archivematica-storage-service_1 | File "/src/storage_service/locations/models/package.py", line 608, in store_aip
archivematica-storage-service_1 | premis_agents=premis_agents, aip_subtype=aip_subtype)
archivematica-storage-service_1 | File "/src/storage_service/locations/models/package.py", line 794, in _store_aip_ensure_pointer_file
archivematica-storage-service_1 | premis_agents=premis_agents, aip_subtype=aip_subtype)
archivematica-storage-service_1 | File "/src/storage_service/locations/models/package.py", line 821, in _create_pointer_file_write_to_disk
archivematica-storage-service_1 | compression_program_version)
archivematica-storage-service_1 | File "/src/storage_service/locations/models/package.py", line 1283, in _create_aip_premis_object
archivematica-storage-service_1 | format_name=pronom_conversion[extension]['name'],
archivematica-storage-service_1 | KeyError: '.atom'
archivematica-storage-service_1 | DEBUG 2018-10-19 11:39:36 locations.api.resources:resources:hydrate_current_location:637: `current_location` was not matched by `default_location_regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment