Duke-GCB / DukeDSClient

Command line program to allow uploading, downloading, and managing projects in the duke-data-service.
MIT License
5 stars 6 forks source link

Delivery with --copy flag fails with KeyError #269

Closed johnbradley closed 5 years ago

johnbradley commented 5 years ago

This fails trying to create a relationship between the original file and the copy that will be delivered:

  File ".../ddsc/core/d4s2.py", line 467, in run
    used_entity_id = self._lookup_used_entity_id(file_details)
  File ".../ddsc/core/d4s2.py", line 484, in _lookup_used_entity_id
    return self.activity.remote_path_to_file_version_id[remote_path]
KeyError: u'docs/GettingAgentAndUserKeys.md'
johnbradley commented 5 years ago

Looks like this was due to leading slash changes from https://github.com/Duke-GCB/DukeDSClient/pull/250.