Issue reading GDF file - IndexError

Hello everyone,

I hope this message finds you well. I’m facing an issue while trying to read a GDF file using MNE. Whenever I attempt to read the file, I encounter the following error:

IndexError: index 0 is out of bounds for axis 0 with size 0

It seems that the error is related to the GDF file format or the file itself. I have checked the file path and made sure it is correct. However, I’m unable to determine the cause of this error or find a suitable solution.

Has anyone encountered a similar issue before or can provide any insights on how to resolve it? I would greatly appreciate any guidance or suggestions to help me overcome this problem.

Thank you in advance for your assistance.

Best regards,



Hello,

Screenshots are difficult to work with, please provide a copy/paste of the traceback formatted with the code-block tool. That said, please move the file(s) from OneDrive to a local path, depending on the installation, python might have issues with network drives on Windows where it will say “File not found” while the path is correct.

Mathieu

3 Likes