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

Crash when opening recordings in OpenEphys format #632

Open
matteo-filippini opened this issue Oct 11, 2024 · 8 comments
Open

Crash when opening recordings in OpenEphys format #632

matteo-filippini opened this issue Oct 11, 2024 · 8 comments

Comments

@matteo-filippini
Copy link

Hi, I'm trying to open recordings I made in .openephys format from the GUI through the source file reader. As soon as I load the files, the GUI crashes with the attached log. A small portion of the recordings open without any issues, but unfortunately, most of them don't. Do you have any idea how I can figure out the problem? I later switched to the DAT format because, with more than 128 channels, the OpenEphys format crashes when starting the recording, but it’s important for me to reopen these data. Thanks!
configs-api8.zip

@medengineer
Copy link
Member

Hi,

Can you send a link to one of the recordings causing the crash? From the attache log it looks like some files may have been manually renamed?

@matteo-filippini
Copy link
Author

I thought the same, but I double-checked, and the file names match those in structure.openephys. The remaining options are either corrupted data (but I can open them as binary files using Python without any issues) or a filesystem limitation (which seems unlikely) when trying to open all those files at once. To test this, I tried editing structure.openephys, leaving only one file, but it still crashes. I’m out of ideas! Thanks for any tips. I’ve attached the WeTransfer links (about 5GB).
cheers
https://we.tl/t-mgU92JPESo
https://we.tl/t-NxWBEqzG5h
https://we.tl/t-qUghHdWS01

@oepavel
Copy link
Contributor

oepavel commented Oct 14, 2024 via email

@matteo-filippini
Copy link
Author

@matteo-filippini
Copy link
Author

Any updates? Have you had a chance to look into it? I don't mean to rush, but the link expires again today, so if you can at least download it, I'd really appreciate it. Thanks for anything you're able to do
cheers

@medengineer
Copy link
Member

Yes, I was able to download and reproduce the crash during loading. Will follow up with a fix here shortly.

@medengineer
Copy link
Member

I was able to get the data to load in FileReader by modifying the tag value in the structure.openephys file. In the example you sent above, I changed the value from 13 to 1.

Assuming this is the same issue for the rest of the recordings, ensuring the recording number is set to 1 in each recording's structure.openephys file should allow you to load the files in the GUI's FileReader.

@matteo-filippini
Copy link
Author

I tried several recordings that didn't work and editing that recording number solved the problem, thank you very much! cheers

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

No branches or pull requests

3 participants