Hi guys,
I have this annoying problem where any changes I make to the segmentation rules of a specific TM get lost once I close and reopen the TM/Trados Studio. What is going on here?
Michael
Hi guys,
I have this annoying problem where any changes I make to the segmentation rules of a specific TM get lost once I close and reopen the TM/Trados Studio. What is going on here?
Michael
Hi Michael Beijer , I hope you are well?
I assume you are working with a local TM and not a cloud TM?
Please remind me of your Studio version
I have seen reports of this in relation to Passolo which is not true in your case.
In the meantime
Looking forward to understanding your scenario in a bit more detail
Lyds
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 Lydia,
Please find my answers below:
I assume you are working with a local TM and not a cloud TM?
Yes, this is with local TMs.
------------------
Please remind me of your Studio version
I am using: Trados Studio 2022 - 17.0.5.14757
------------------
It this TM specific?
No, it is happening with all my TMs at the moment. I made a video, which I can send you privately!
------------------
Have you played around with TM location to rule out security lead restrictions
Yes, I tried moving one of the TMs to my Desktop, e.g., and have exactly the same problem. There are no issues with file permissions that I can see.
------------------
Is the TM in good health otherwise, meaning reorganised etc
Yes. I also did the following (with all the relevant TMs):
- Recompute Fuzzy Index Statistics
- Re-Index Translation Memory
------------------
What sort of segment rules are you making, as I have seen other reports where segment rules are not being saved. But this relates specifically to |
I am trying to remove two segmentation rules: break on every colon (:) and break on every semi-colon (;), which I added myself a while ago, but no longer want.
------------------
It is basically absolutely impossible for me to delete those two specific segmentation rules from my TMs. Very odd.
Weirdly, it only works fine when your TM is in the Translation Memories list (Translation Memories view, upper left corner). You don't even need to open it as if you want to edit the TM. Simply having it in the list will suffice. Make sure your TM is listed and try again. Once you click "Remove From List", the weird behavior will be there again.
Hmm, I'm pretty sure I was doing everything from exactly that menu – Translation Memories list (Translation Memories view, upper left corner) – but will check again when I have a moment.
Will have a look at ApplyTMTemplate. Would be much better if you guys changed the system to central segmentation management, but I suppose endless workarounds and faffing will have to do for now. Not very user-friendly though.
OK, so I installed it, but immediately ran into the following error when trying to export a freshly-created Language Resource Template to .xlsx:
<SDLErrorDetails time="2022-12-21 11:39:53"> <ErrorMessage>Could not load file or assembly 'Microsoft.IO.RecyclableMemoryStream, Version=1.4.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.</ErrorMessage> <Exception> <Type>System.IO.FileNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> <FileName>Microsoft.IO.RecyclableMemoryStream, Version=1.4.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</FileName> <FusionLog>WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. </FusionLog> <HelpLink /> <Source>EPPlus</Source> <HResult>-2147024894</HResult> <StackTrace><![CDATA[ at OfficeOpenXml.Utils.RecyclableMemory.GetStream() at OfficeOpenXml.ExcelPackage.ConstructNewFile(String password) at OfficeOpenXml.ExcelPackage..ctor(FileInfo newFile) at Sdl.Community.ApplyTMTemplate.Services.ExcelResourceManager.GetExcelPackage(String filePath) at Sdl.Community.ApplyTMTemplate.Services.ExcelResourceManager.ExportResourcesToExcel(ILanguageResourcesContainer resourceContainer, String filePathTo, Settings settings) at Sdl.Community.ApplyTMTemplate.Services.ResourceManager.ExportResourcesToExcel(ILanguageResourcesContainer languageResourcesContainer, String filePathTo, Settings settings) at Sdl.Community.ApplyTMTemplate.ViewModels.MainWindowViewModel.<>c__DisplayClass70_0.<ExportToExcel>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Sdl.Community.ApplyTMTemplate.ViewModels.MainWindowViewModel.<ExportToExcel>d__70.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at Sdl.Community.ApplyTMTemplate.Studio.ApplyTMTemplateAction.Execute() at Sdl.Desktop.IntegrationApi.AbstractAction.Sdl.Desktop.IntegrationApi.Extensions.Internal.IAction.Execute() at Sdl.Desktop.IntegrationApi.Internal.Adaptors.InternalActionAdaptor.Execute() at Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData) at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message) at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle) at Sdl.Platform.UI.IgCommandBarAction.Execute() at Sdl.Platform.UI.IgCommandBarAction._lazyButtonTool_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.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> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio17</ProductVersion> <EntryAssemblyFileVersion>17.0.5.14757</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>2057</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>PRECISION7740\user</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>PRECISION7740</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>66853088 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
Michael Beijer Jerzy Czopik Ive not been ignoring this post, I have been doing some internal enquiring on this topic.
May we please have a TM with a short recording - I can send you secure upload link or otherwise collect from your platform of choice.
Thank you
Lyds
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
Thanks Lydia, I just created a little video showing it happening, and can send you the relevant TM if you want. Just email me at michael@beijer.uk.
Can you load the video here? Do so it that's ok... otherwise feel free to email it to me at pfilkin at sdl dot com.
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
Just emailed you a video + example TM!
Thanks Michael Beijer Jerzy Czopik Lydia Simplicio
This is a bug I think so I have logged a case - Case Nr. 00730304. Thank you for taking the time to prepare this information. Once we get the Jira number (dev ticket) after the technical support team validate this we'll post that here too so we have something to follow up on.
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
Thanks Michael Beijer Jerzy Czopik Lydia Simplicio
This is a bug I think so I have logged a case - Case Nr. 00730304. Thank you for taking the time to prepare this information. Once we get the Jira number (dev ticket) after the technical support team validate this we'll post that here too so we have something to follow up on.
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
The support team have looked at this and come back with this response:
"This is not reproducible with either a blank TM or a different TM that has any content. I can reproduce it with the TM you attach but only until I reorganize it. If the TM is reorganized this is no longer reproducible for the attached PATENTS (en-US to nl-BE).sdltm either. I am checking if I can spot any difference between a reorganized version of the TM and the original unaltered one in SQLite but unless I find something this can't be logged as a bug."
Are you able to reliably reproduce this with any TM at all, or just this one prior to reorganising?
Thanks
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
I don’t think so… in this thread Michael made his changes in the Translation Memories View and not Project Settings. In the other thread this is exactly the workaround.
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
Another update...
"As an update to this as there is no noticeable difference potentially causing this in the original TM vs the reorganized one.
The only similar thing I found in Jira is our reference LG-28256 and this refers to such changes not being saved when modified from TM settings via the New Project wizard or Project Settings.
Did the user by any chance initially do this in the TM causing it to somehow corrupt the TM and for such changes not to be saved afterward from the TM View?
Does this occur with a newly created TM for the user?
Also, the user has all TMs stored on Google Drive ( as seen in his video).
If he creates a new TM directly outside of Google Drive does this still reproduce for him?
In any way, this is an issue occurring locally on his side and not reproducible on our side either with a new TM with no TUs, any other TM with TUs already in it or even his TM after reorganizing.
It would help if he could give us the exact steps between the TM creation and the moment the changes are not saved."
So a few questions here and a definite willingness to get to the bottom of this... perhaps you can confirm?
Thanks.
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