After updating from an edited target file (Word), I get two errors when I try to accept the changes. So the changes are initially imported correctly, but I can't accept them in Studio. I was able to generate the target files, which worked (although all images were dropped), and then accept the changes in Word.
The error messages kept popping up, so I had to force quit Studio.
What happened? How can I avoid this to happen in future. I got away because this was a very small project, but I would not like this to happen in a complex project!
Here's the stacktrace:
<SDLErrorDetails time="09-Jan-20 16:09:00">
<ErrorMessage>Error when applying revision markers.</ErrorMessage>
<Exception>
<Type>Sdl.DesktopEditor.EditorApi.EditException, Sdl.DesktopEditor.EditorApi, Version=15.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
<HelpLink />
<Source>Sdl.DesktopEditor.Control</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at FrameworkEditControl.SetRevisionMarkersAtSelection(String undoCommandName, IList`1 revisionContentTypes)
at FrameworkEditControl.ApplyRevisionsAtSelection()
at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.TrackChanges.AbstractTrackChangesCommandAction.AcceptSelectedTrackChange()
at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.TrackChanges.TrackChangesAcceptAndMoveToNextAction.Execute()
at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass30_0.<ExecuteAction>b__0()
at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
at Sdl.Desktop.Platform.WinForms.IgCommandBarDynamicActionMenu.Execute()
at Sdl.Desktop.Platform.WinForms.IgAbstractCommandBarActionMenu._menu_ToolClick(Object sender, ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.PopupToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
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>
<InnerException>
<Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2146233079</HResult>
<StackTrace><![CDATA[ at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at Sdl.TranslationStudio.Editor.TQA.Actions.EditTQARibbonAction.IsEnabledWithSelection(IContentSelection selection)
at Sdl.TranslationStudio.Editor.AbstractActiveRangeAction.IsActionEnabled()
at Sdl.TranslationStudio.Editor.TQA.Actions.EditTQARibbonAction.IsActionEnabled()
at Sdl.TranslationStudio.Api.Editor.AbstractActiveDocumentAction.UpdateAction()
at Sdl.TranslationStudio.Editor.AbstractActiveRangeAction.OnSelectionChanged()
at Sdl.TranslationStudio.Editor.AbstractActiveRangeAction.sideBySideEditor_Target_SelectionChanged(Object sender, SelectionChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at AbstractFrameworkEditControl.raise_SelectionChanged(Object value0, SelectionChangedEventArgs value1)
at FrameworkEditControl.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
at FrameworkEditControlEventSource.SelectionChanged(FrameworkEditControlEventSource* )
at Tree.InputManager.v_MoveSelection(InputManager* , TextRange* )
at FrameworkSelection.MoveTo(ContentRange destination)
at FrameworkEditControl.SetRevisionMarkersAtSelection(String undoCommandName, IList`1 revisionContentTypes)]]></StackTrace>
</InnerException>
</Exception>
<Environment>
<ProductName>SDL Trados Studio</ProductName>
<ProductVersion>15.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>15.2.5.2145</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>danielhug</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>ABCD</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>12581868 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
Daniel
Translate