TM Export fail - Cannot export TM into TMX format (Studio 2017)

Hi all!

I am dealing with a very strange issue after having changed my laptop a couple of weeks ago: it seems impossible to export Studio TMs into the TMX exchange format.

In the Studio TM editor I can open, browse, search, filter, etc. TMs, but I keep getting exception errors like the following one any time I try to export any TM:

One or more errors occurred.

<![CDATA[   at Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.GetTranslationUnitsWithContextContent(RegularIterator& iterator)

   at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryLanguageDirectionImportExport.GetTranslationUnits(RegularIterator& iter)

   at Sdl.Core.TM.ImportExport.Exporter.Export(IExportOrigin exportOrigin, TMXWriter writer)

   at Sdl.Core.TM.ImportExport.Exporter.Export(IExportOrigin exportOrigin, String fileName, Boolean overwriteExisting)

   at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryExporter.Export(String fileName, Boolean overwriteExisting)

   at Sdl.TranslationStudio.Common.Jobs.ExportSdltmToTmxJobRequest.ExportFileBasedTranslationMemory()

   at Sdl.TranslationStudio.Common.Jobs.ExportSdltmToTmxJobRequest.Execute(IJobExecutionContext context)

   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0()

   at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)

   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]>

 

I tried to export exactly the same TMs form my old laptop, and there it works like heaven (!). I tried to use other methods or macro's (SDLTMExport and alike) but without any success. Search in the SDL KB did not give any useful answer.

Any help from the community would be highly appreciated!

TIA

Filippo

Parents Reply
  • Hello  

    Thanks for the error stacks.

    It was the TXT file that really helped...

    nit(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath

    You have your TM sitting on an external harddrive and the error stack suggests your system is preventing proper access to the TM.

    Normally this is caused by your AntiVirus provider (explains why you dont have issues on your other machine).

    First disable your AntiVirus software (you might need to Google how to do this, as some providers make a simple task rather complicated). 

    Now try and do the export.

    If this is sucessful- please 'whitelist' Studio in your AntiVirus program.

    You can also try saving the TM to the default C:/ drive and doing the export from there.

    Let me know if the problem is now fixed.

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children