Export error: Collection was modified; enumeration operation may not execute.
Thread poster: Vladimir Leviev
Vladimir Leviev
Vladimir Leviev
Bulgaria
Local time: 13:44
Feb 21, 2020

Hi all.

In short, I've downloaded an .xlf file, successfully imported it in Studio, successfully worked on it. Now I need to supply a 1k sample for evaluation, and when I try to export the target from Studio, I get that error.

Here is the full text from the error log:


Collection was modified; enumeration operation may not execute.

System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5
... See more
Hi all.

In short, I've downloaded an .xlf file, successfully imported it in Studio, successfully worked on it. Now I need to supply a 1k sample for evaluation, and when I try to export the target from Studio, I get that error.

Here is the full text from the error log:


Collection was modified; enumeration operation may not execute.

System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

mscorlib
-2146233079
b__f(ISdlXliffStreamContentHandler handler)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor)
at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.ExportFilesTask.ProcessFile(IExecutingTaskFile executingTaskFile)
at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]>




I suspect the issue is with the actual xlf file, and not with SDL, however the client says the cannot provide any help, since they don't work with or support SDL products (fail enough). My issue is that otherwise the whole project would have to be completed in XTM Cloud, which is probably the worst CAT suite I've ever encountered...

Any help would be welcome.


[Edited at 2020-02-21 09:58 GMT]
Collapse


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Export error: Collection was modified; enumeration operation may not execute.







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »