Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Known limitation]: Cannot upload NWB files with linked video file #608

Open
alinaxiao2 opened this issue Feb 9, 2024 · 2 comments
Open
Labels
question Further information is requested

Comments

@alinaxiao2
Copy link

Describe the issue
Hi, I converted a video file in ".avi" format to nwb using NWB GUIDE. However, I cannot upload it. The error message is " --update-external-file-paths option not specified but found external video files linked to the nwbfiles"

To Reproduce

Expected behavior

Screenshots

**Operating system used: **
Windows 10

Additional context
In the inspector Report, there's a warning message that says "the external file 'C;/Users/.../.avi' is not a relative path. Please adjust the absolute path to be relative to the location of the NWBFile". Is this the problem blocking the upload? How can it be resolved?

@CodyCBakerPhD
Copy link
Collaborator

Thanks for the report; we don't yet support the automatic DANDI upload together with the video interface yet, sorry about that.

The Inspector checks are also something we're aware of from #550, but still working on the approach to fix them; not to worry in any case, they don't actually affect the DANDI upload process.

Good news is, if you're comfortable with using a terminal with Python installed, you can still complete the DANDI upload process yourself on the files you created using the classic command-line approach. If you didn't override the default conversion output folder at the first step of the pipeline, then your NWB files can be found in the home directory of the GUIDE under the 'conversions' subfolder.

Just follow these instructions and add some flags to the dandi organize step (--update-external-file-paths and --media-files-mode symlink (if that errors, try changing the mode to 'copy' instead)

If you're comfortable installing GUIDE using the developer instructions just let us know and we can ask you to help test this when we try to fix it

@garrettmflynn garrettmflynn changed the title Request to upload project failed Cannot upload NWB files with linked video file Feb 12, 2024
@bendichter
Copy link
Collaborator

Here is a post outlining how to upload .avi files to DANDI: https://www.dandiarchive.org/2022/03/03/external-links-organize.html

@CodyCBakerPhD CodyCBakerPhD added bug Something isn't working question Further information is requested and removed bug Something isn't working labels Jun 10, 2024
@CodyCBakerPhD CodyCBakerPhD changed the title Cannot upload NWB files with linked video file [Known limitation] Cannot upload NWB files with linked video file Jun 12, 2024
@CodyCBakerPhD CodyCBakerPhD changed the title [Known limitation] Cannot upload NWB files with linked video file [Known limitation]: Cannot upload NWB files with linked video file Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants