SDL Studio 2017 error when typing into a segment that already contains text.

Hi,

when I type into a target segment that already contains text, I frequently get an error "index and length must refer to a location within...". It's pretty annoying, is there anything I can do to stop it? The only time it occurs is when I'm typing something before (at the start of a phrase) or inserting text into existing text (if I first delete the text already in the segment, the error doesn't occur).

 

Many thanks

Parents
  • Hi ,

    It would be helpful if you posted the whole error stack instead of just part of the heading. But as I've only seen this where there are long hyperlinks in a word file ( gateway.sdl.com/.../communityknowledge ) it may be worth resetting Studio as this often cures a multitude of ills with no real explanation.

    Rename this folder (just add _old to the end or something, it's not important what you rename it to) and restart Studio:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\14.0.0.0

    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

  • Hi Paul

    ok, here is the XML file rundown for the error.

    <?xml version="1.0"?>

    -<SDLErrorDetails time="11/4/2017 1:58:47 PM">

    <ErrorMessage>Index and length must refer to a location within the string. Parameter name: length</ErrorMessage>


    -<Exception>

    <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

    <ParamName>length</ParamName>

    <HelpLink/>

    <Source>mscorlib</Source>

    <HResult>-2146233086</HResult>


    -<StackTrace>

    <![CDATA[ at System.String.Substring(Int32 startIndex, Int32 length) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ProcessNormalKeyPress(Char ch) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ProcessKeyPressEvent(KeyPressEventArgs e) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Editor_KeyPress(Object sender, KeyPressEventArgs e) at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e) at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m) at System.Windows.Forms.Control.ProcessKeyMessage(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.5889.5</EntryAssemblyFileVersion>

    <OperatingSystem>Microsoft Windows 7 Home Premium </OperatingSystem>

    <ServicePack>Service Pack 1</ServicePack>

    <OperatingSystemLanguage>1033</OperatingSystemLanguage>

    <CodePage>1252</CodePage>


  • Thanks . I think the first thing you need to do is upgrade Studio (It's free). The latest versions are:

    SDL Trados Studio 2017 SR1 - 14.1.6329.7
    SDL MultiTerm 2017 SR1 - 14.1.2471.5

    You'll find the installers in your account and they will update themselves to the latest CU when you run them after installation. This process may well resolve your issue so I think you should do this first.

    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

  • Ok, I'll do that and get back to you should the problem continue. Many thanks!
Reply Children
No Data