error mne.io.read_raw_cnt()

Welcome to the MNE Forum @Hadary0712 !

We’ve seen (and fixed) similar errors with our Nihon reader:

And similar CNT errors have been reported before: Error reading *.cnt eeg file

One important note is that there are 2 different file formats that both call themselves .cnt files: Neuroscan CNT data format and ANTNeuro CNT format. MNE-Python’s reader only works for Neuroscan format. We have an open issue discussing support for ANTNeuro files: ENH: import ANT Neuro .CNT files (some code available) · Issue #3609 · mne-tools/mne-python · GitHub On that thread, this comment nicely summarizes the currently available workarounds.

If you’re getting this error with a Neuroscan CNT file then what we need to be able to fix it is a sample file that causes the error, so we can locally reproduce and then debug. Can you provide such a file?