Problem importing ALL entries from WFP tmx into MemoQ
Thread poster: Bree Salmon

Bree Salmon  Identity Verified
Japan
Local time: 21:08
Japanese to English
Jul 12, 2016

I am having trouble getting all of the entries in a .tmx file to show up in my .mtm after an import from Wordfast Pro into MemoQ. When I export a TM in Wordfast Pro that has 105,000 entries into a .tmx file and then import it into MemoQ, the resulting TM only has 26,000 entries. I have confirmed that these entries are missing through concordance searches.

I am getting an error when importing. The error message is as follows:

================================================
General error.
TYPE:
System.InvalidOperationException

MESSAGE:
Invalid TMX file
Line 252070, column 37

SOURCE:
MemoQ.TranslationMemory

CALL STACK:
at MemoQ.TranslationMemory.Import.TMTmxParser.BadXml(Int32 lineNumber, Int32 linePosition)
at MemoQ.TranslationMemory.Import.TMTmxParser.ReadSeg()
at MemoQ.TranslationMemory.Import.TMTmxParser.ReadTUV(String& lang, Segment& ctxtPre, Segment& ctxtPost, String& ctxtId, Nullable`1& changedate, Nullable`1& createdate, String& changeauthor, String& createauthor)
at MemoQ.TranslationMemory.Import.TMTmxParser.readTU()
at MemoQ.Common.ResFx.TmxParserBase.readBody()
at MemoQ.Common.ResFx.TmxParserBase.readTMX(Boolean onlyHeader)
at MemoQ.TranslationMemory.Import.TMTmxParser.Import()
at MemoQ.TranslationMemory.Import.TMImporterBase`2.DoJob()
at MemoQ.Common.Job.JobBase.Execute(Object o)
=================================================


Does anybody know why this might be happening?


Direct link Reply with quote
 

gfichter  Identity Verified
United States
Local time: 05:08
English
+ ...
Find the bad entry Jul 12, 2016

When errors like this appear, I find that the error message contains valuable hints about the problem. You need to open the TMX file is a good plain text editor, and find the offending line. You can use Notepad, but it is easier if you have a full-function editor like UltraEdit.

My guess is that there is a bad character in position 37 of line 252070. Delete that character and try again. You will very likely see more errors further down in the file, but just do the same thing with each of them. Eventually you will have a clean file and be back in business.

The error message might not be all that enlightenment, but the extra info is very helpful.


Good luck.


George


Direct link Reply with quote
 

Bree Salmon  Identity Verified
Japan
Local time: 21:08
Japanese to English
TOPIC STARTER
Thanks Jul 12, 2016

Thanks for the advice.

I actually just fixed the problem by running the TMX through Wordfast Anywhere (uploading it and then downloading it). All the TUs are showing up now.

For an increasing number of reasons, including the problem I had here how it doesn't properly export tmx files, I guess Wordfast 3.x is really no longer worth using.


Direct link Reply with quote
 


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


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

Problem importing ALL entries from WFP tmx into MemoQ

Advanced search






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search