Skip to content

Instantly share code, notes, and snippets.

@sromkey
Created August 10, 2018 17:40
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 sromkey/c53ebf8557791a48bcab0c7f6c1d6df9 to your computer and use it in GitHub Desktop.
Save sromkey/c53ebf8557791a48bcab0c7f6c1d6df9 to your computer and use it in GitHub Desktop.
ss error log
Link rel:'http://purl.org/net/sword/terms/add' -- [{'href': 'http://dspace5x.archivematica.org:8080/swordv2/edit/120'}]
INFO 2018-08-10 10:14:06 locations.models.dspace:dspace:move_from_storage_service:316: Request Atom serialisation of the deposit statement from http://dspace5x.archivematica.org:8080/swordv2/statement/120.atom
INFO 2018-08-10 10:14:06 sword2.connection:connection:get_resource:1749: Getting the resource at Content-IRI http://dspace5x.archivematica.org:8080/swordv2/statement/120.atom
INFO 2018-08-10 10:14:06 sword2.connection:connection:get_resource:1771: IRI GET resource 'http://dspace5x.archivematica.org:8080/swordv2/statement/120.atom'
INFO 2018-08-10 10:14:06 sword2.connection:connection:get_resource:1784: Server response: 200
INFO 2018-08-10 10:14:06 sword2.statement:statement:_parse_xml_document:26: Attempting to parse the Statement XML document
INFO 2018-08-10 10:14:06 sword2.deposit_receipt:deposit_receipt:__init__:153: Initial SWORD2 validation checks on deposit receipt - Valid document? True
INFO 2018-08-10 10:14:06 sword2.deposit_receipt:deposit_receipt:__init__:153: Initial SWORD2 validation checks on deposit receipt - Valid document? True
INFO 2018-08-10 10:14:06 sword2.deposit_receipt:deposit_receipt:__init__:153: Initial SWORD2 validation checks on deposit receipt - Valid document? True
INFO 2018-08-10 10:14:06 sword2.deposit_receipt:deposit_receipt:__init__:153: Initial SWORD2 validation checks on deposit receipt - Valid document? True
INFO 2018-08-10 10:14:06 sword2.deposit_receipt:deposit_receipt:__init__:153: Initial SWORD2 validation checks on deposit receipt - Valid document? True
INFO 2018-08-10 10:14:06 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/120.atom</id><link href="http://dspace5x.archivematica.org:8080/swordv2/statement/120.atom" rel="self" /><title type="text">Dspace test</title><author><name>Unknown</name></author><updated>2018-08-10T17:18:42.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/333/objects.zip" /><id>http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/333/objects.zip</id><title type="text">Resource http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/333/objects.zip</title><summary type="text">Resource Part</summary><updated>2018-08-10T17:18:44.864Z</updated></entry><entry><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/335/metadata.zip" /><id>http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/335/metadata.zip</id><title type="text">Resource http://dspace5x.archivematica.org:8080/swordv2/edit-media/bitstream/335/metadata.zip</title><summary type="text">Resource Part</summary><updated>2018-08-10T17:18:44.872Z</updated></entry><entry><id>http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/1/sword-2018-08-10T13:18:39.original.xml</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/1/sword-2018-08-10T13:18:39.original.xml</title><summary type="text">Original Deposit</summary><updated>2018-08-10T17:18:44.881Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/1/sword-2018-08-10T13:18:39.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/71/3/objects.zip</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/3/objects.zip</title><summary type="text">Original Deposit</summary><updated>2018-08-10T17:18:44.896Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/3/objects.zip" /><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/71/5/metadata.zip</id><title type="text">Original Deposit http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/5/metadata.zip</title><summary type="text">Original Deposit</summary><updated>2018-08-10T17:18:44.906Z</updated><content type="application/octet-stream" src="http://dspace5x.archivematica.org:8080/xmlui/bitstream/123456789/71/5/metadata.zip" /><category term="http://purl.org/net/sword/terms/originalDeposit" scheme="http://purl.org/net/sword/terms/" label="Original Deposit" /></entry></feed>
INFO 2018-08-10 10:14:06 locations.models.dspace:dspace:move_from_storage_service:329: Handle: 123456789/71
ERROR 2018-08-10 10:14:09 django.request.tastypie:resources:_handle_500:301: Internal Server Error: /api/v2/file/
Traceback (most recent call last):
File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 220, in wrapper
response = callback(request, *args, **kwargs)
File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 451, in dispatch_list
return self.dispatch('list', request, **kwargs)
File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 483, in dispatch
response = method(request, **kwargs)
File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 1380, in post_list
updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
File "/usr/lib/archivematica/storage-service/locations/api/resources.py", line 719, in obj_create
self._store_bundle(bundle)
File "/usr/lib/archivematica/storage-service/locations/api/resources.py", line 666, in _store_bundle
premis_agents=agents, aip_subtype=aip_subtype)
File "/usr/lib/archivematica/storage-service/locations/models/package.py", line 608, in store_aip
premis_agents=premis_agents, aip_subtype=aip_subtype)
File "/usr/lib/archivematica/storage-service/locations/models/package.py", line 795, in _store_aip_ensure_pointer_file
premis_agents=premis_agents, aip_subtype=aip_subtype)
File "/usr/lib/archivematica/storage-service/locations/models/package.py", line 822, in _create_pointer_file_write_to_disk
compression_program_version)
File "/usr/lib/archivematica/storage-service/locations/models/package.py", line 1284, in _create_aip_premis_object
format_name=pronom_conversion[extension]['name'],
KeyError: '.atom'
(END)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment