Home Forums Software ELAN Not able to open .eaf files with media attached?

Not able to open .eaf files with media attached?

This topic contains 3 replies, has 2 voices, and was last updated by  Han 1 week, 4 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
July 5, 2019 at 17:06 #13039

eec35

We’re using ELAN to open daylong audio recordings (16 hour .wav files). We use a script to create tiers with random segments for annotation. After generating the tiers (but before adding the .wav file), the .eaf opens fine. Once we add the media file, we’re unable to open the .eaf file (on 3 Macs, 1 Windows). I recognize that these are large files to load, but my understanding is that other folks are using ELAN for similarly large files. Has anyone else experienced this?

July 5, 2019 at 22:14 #13042

Han

Is it still possible to access the log after adding the wav file (View->View Log…)? Is there e.g an OutOfMemory or other type of error recorded in the log?

July 8, 2019 at 16:03 #13047

eec35

Yes! We can still view the log. It looks like there are three error types:
Error: cvc-datatype-valid.1.2.1: ” is not a valid value for ‘NCName’
Error: cvc-attribute.3: The value ” of attribute ‘TIME_SLOT_REF1’ on element ‘ALIGNABLE_ANNOTATION’ is not valid with respect to its type, ‘IDREF’.
Error: cvc-identity-constraint.4.3: Key ‘timeSlotRef1’ with value ‘a2’ not found for identity constraint of element ‘ANNOTATION_DOCUMENT’.

July 9, 2019 at 09:39 #13048

Han

It seems then, that the problem has nothing to do with the (size of) the wave file but rather with inconsistencies in the generated EAF file. (I would guess now that opening the generated file in ELAN, then saving it and opening it again, will fail too.)
Up to this moment ELAN is “forgiving” when opening a file; (some) errors will be logged, but the file will be opened if possible. This is on our to-do list: either refuse to open such files or show a clear warning message to the user.

It seems that in your file there is at least one annotation with a TIME_SLOT_REF1 which is either empty or has a value, “a2”, while there is no TIME_SLOT with TIME_SLOT_ID="a2".
A validating XML editor can usually highlight the errors in the file.

(I’m happy to have a look if you can’t figure out what is wrong, han.sloetjes AT mpi.nl)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.