Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

file_relative_path missing from linked file import #587

Closed
nhammond opened this issue May 30, 2019 · 1 comment
Closed

file_relative_path missing from linked file import #587

nhammond opened this issue May 30, 2019 · 1 comment
Labels

Comments

@nhammond
Copy link
Collaborator

loom file import --link gs://cgs-dev-sequencer-dropin/190417_A00731_0009_AHK7JVDMXX.tar.gz

Client returns this error

ERROR! Failed to import files: 'Failed to POST DataObject: '{'type': 'file', 'value': {'file_relative_path': None, 'upload_status': 'complete', 'imported_from_url': u'gs://cgs-dev-sequencer-dropin/190417_A00731_0009_AHK7JVDMXX.tar.gz', 'file_url': u'gs://cgs-dev-sequencer-dropin/190417_A00731_0009_AHK7JVDMXX.tar.gz', 'filename': u'190417_A00731_0009_AHK7JVDMXX.tar.gz', 'source_type': 'imported', 'link': True, 'md5': 'd7bbfc890ba1f1301d9fbd311ba8b52b'}}'. (500) 500 Server Error: Internal Server Error for url: http://127.0.0.1:80/api/data-objects/'

Server logs contain this error:

IntegrityError: (1048, "Column 'file_relative_path' cannot be null")
@nhammond
Copy link
Collaborator Author

Fixed in 283059a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant