Bug #8366

returning to aspace matching gui after dip is uploaded causes 500 error

Added by Justin Simpson about 7 years ago. Updated about 5 years ago.

Status:Won't fixStart date:04/29/2015
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Access
Target version:Release 1.7.0
Google Code Legacy ID: Pull Request:
Sponsored:No Requires documentation:Yes

Description

to reproduce this issue:

Create a SIP and normalize for access.
Choose to upload dip to ArchivesSpace.
use the matching gui to make pairs.
Upload the dip.
Back on the transfer tab, the button to go back to the matching gui still works, click it.
Attempt to review the matches that were made.

Perhaps the ability to view matches should be disabled after the dip has been uploaded?
Ideally it would be possible to review the choices, but greying out the report icon would be better.

an example:
on the rac-dev server, going to this url:

http://localhost:8080/ingest/fc7b87cb-e615-426d-adea-e4726c9cb804/upload/as/match/resource/repositories/2/resources/324/

causes this error:

[Errno 2] No such file or directory: u'/var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/patrick_test1-fc7b87cb-e615-426d-adea-e4726c9cb804/METS.fc7b87cb-e615-426d-adea-e4726c9cb804.xml'

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/archivematica/dashboard/components/ingest/views_as.py" in wrapper
45. return func(client, *args, **kwargs)
File "/usr/share/archivematica/dashboard/components/ingest/views_as.py" in ingest_upload_as_match_dip_objects_to_resource_levels
147. return pair_matcher.match_dip_objects_to_resource_levels(client, request, resource_id, 'ingest/as/match.html', parent_id, parent_url, _get_reset_view(uuid), uuid, matches=matches)
File "/usr/share/archivematica/dashboard/components/ingest/pair_matcher.py" in match_dip_objects_to_resource_levels
113. ingest_upload_atk_get_dip_object_paths(uuid)
File "/usr/share/archivematica/dashboard/components/ingest/pair_matcher.py" in ingest_upload_atk_get_dip_object_paths
158. tree = ElementTree.parse(metsFilePath)
File "/usr/lib/python2.7/xml/etree/ElementTree.py" in parse
1182. tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py" in parse
647. source = open(source, "rb")

Exception Type: IOError at /ingest/fc7b87cb-e615-426d-adea-e4726c9cb804/upload/as/match/resource/repositories/2/resources/324/
Exception Value: [Errno 2] No such file or directory: u'/var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/patrick_test1-fc7b87cb-e615-426d-adea-e4726c9cb804/METS.fc7b87cb-e615-426d-adea-e4726c9cb804.xml'


Related issues

Copied to Archivematica - Bug #9439: returning to aspace matching gui after dip is uploaded ca... Duplicate 04/29/2015

History

#1 Updated by Justin Simpson about 7 years ago

  • Priority changed from Medium to Low

#2 Updated by Nick Wilkinson over 6 years ago

  • Assignee deleted (Misty De Meo)

#3 Updated by Nick Wilkinson over 6 years ago

  • Copied to Bug #9439: returning to aspace matching gui after dip is uploaded causes 500 error added

#4 Updated by Sarah Romkey over 6 years ago

  • Project changed from AM development 2014/15 to Archivematica
  • Category set to Access
  • Assignee set to Sarah Romkey
  • Priority changed from Low to Medium
  • Requires documentation set to Yes

Assigning to myself for further reflection.

#5 Updated by Nick Wilkinson over 5 years ago

  • Target version set to Release 1.6

#6 Updated by Nick Wilkinson over 5 years ago

  • Target version changed from Release 1.6 to Release 1.7.0

#7 Updated by Sarah Romkey about 5 years ago

  • Status changed from New to Won't fix
  • Assignee deleted (Sarah Romkey)

Unless this becomes an issue for further use cases we won't be addressing this.

Also available in: Atom PDF