Error Message corrupted project file

Hi everyone!

I received a translation package - .sdlppx - from a client and opened it in Studio Freelance 2017. So far, so good.

Now, when opening the .sldxliff file in the editor view and trying to edit the segments, Studio displays an error message and doesn't let me edit most of the segments: typing is kind of "frozen", and segment remain "Not translated". I am sure this has to do with the error message which reads:

 'The document contains no segment with ID '1' inside ParagraphUnit with ID '0792c6c0-b07c-4b6e-84f9-2ed8bacc2bd7' (see image below).

<SDLErrorDetails time="4/2/2017 6:23:41 PM">
  <ErrorMessage>The document contains no segment with ID '1' inside ParagraphUnit with ID '0792c6c0-b07c-4b6e-84f9-2ed8bacc2bd7'.</ErrorMessage>
  <Exception>
    <Type>Sdl.FileTypeSupport.Framework.FileTypeSupportException, Sdl.FileTypeSupport.Framework.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source>Sdl.DesktopEditor.Control</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at SegmentFinder.FindSegments(pair<FieldPtr<FrameworkSegmentContainerField>\,FieldPtr<FrameworkSegmentContainerField> >* , BilingualDocument bilingualDocument, ParagraphUnitId paragraphUnitId, SegmentId segmentId)
   at BilingualDocument.UpdateSegmentProperties(ParagraphUnitId paragraphUnitId, ISegmentPairProperties properties)
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.UpdateSegmentProperties(ParagraphUnitId paragraphUnitId, ISegmentPairProperties properties)
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SetTranslationOriginAndConfirmationLevel(ISegmentContainerNode segmentNode, String originType, ConfirmationLevel newConfirmationLevel)
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.Document_TargetContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
   at AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
   at FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
   at FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
   at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
   at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>14.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>14.0.5821.4</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Famille</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1036</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>NICOLAS-PC\Nicolas</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>NICOLAS-PC</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>3141832 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

I could recreate a project from the source document to bypass the problem, but then I wouldn't be able to update the TMs included in the package. Have you ever met this issue, and do you know how to solve/bypasse it?

Thank you a lot in advance!

 

  • Hi Nicolas,

    What version of Studio is your client using?  Can they save the target file in their version?

    Unknown said:
    I could recreate a project from the source document to bypass the problem, but then I wouldn't be able to update the TMs included in the package. Have you ever met this issue, and do you know how to solve/bypasse it?

    The TMs are never updated and sent back in a Project Package.  So you could recreate the project and use the TMs in their package if you wanted, then send the sdlxliff back (just unzip the package).  However, the problem with that is if they are using an older version of Studio they may not be able to use the sdlxliff files you send them.

    Regards

    Paul

    Paul Filkin | 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