UNIQUE constraint failed

Hi All,

can you please help me with the following issue? I was adding several files to an ongoing project and while most files were uploaded smoothly, with two I got the following error: "The translation memory data file engine returned an error: constraint failed. UNIQUE constraint failed: translation_units.id"

I tried copy-pasting the content of the files into new Word documents, but these won't upload either. I tried uploading another random file and it mysteriously worked...

Can you please advise?

Many thanks!

Pavla

  • Hello ,

    As always, Its always worth adding the whole error stack, as this may shed some light on the problem

    Error message popup in Trados Studio with instructions: 1) Click on the icon, 2) Save the XML file to your desktop, 3) Add file to the thread.

    I would perhaps try removing the TM from the project and adding a new TM and see if the issue persists as this should show if the files or the TM is the problem.

    The following article may also help

    gateway.sdl.com/.../communityknowledge

    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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:40 AM (GMT 0) on 29 Feb 2024]
  • Hello Steven,

    Thank you very much for your assistance! Please find the error report attached.

    Can you tell where the problem is?

    Thank you very much!

    Pavla

     

  • Hello ,

    The error is being returned from the TM.

    Have you tried removing the TM and following the steps in the Gateway article?

    https://gateway.sdl.com/apex/communityknowledge?articleName=000009276

    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

  • Hi Steven,

    Thank you very much for your answers. There were two TMs in the project and one of them was corrupted.

    Thanks and have a great day!

    Pavla