OverflowError: Python integer 512 out of bounds for uint8

MNE version: 1.9.0
Operating system: macOS 15.3
numpy version: 1.23.5

Code is as follows:

import os

import numpy as np

import mne

raw = mne.io.read_raw_gdf("A01T.gdf")

Error is as follows:

OverflowError: Python integer 512 out of bounds for uint

This seems to be a bug, please create a new issue on our GitHub repository and if possible also share the problematic file.

2 Likes