"-0,999999999999999" ist kein gültiger Wert für die Eigenschaft "Height".

Hello, everything looks fine when the vtt is loading, but then there appears an error message:

<ErrorMessage>"-0,999999999999999" ist kein gültiger Wert für die Eigenschaft "Height".

And then, I cannot confirm the TUs with Ctrl + Return. Here is the full error message:

<SDLErrorDetails time="26.01.2022 02:38:27">
<ErrorMessage>"-0,999999999999999" ist kein gültiger Wert für die Eigenschaft "Height".</ErrorMessage>
<Exception>
<Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<ParamName/>
<HelpLink/>
<Source>WindowsBase</Source>
<HResult>-2147024809</HResult>
<StackTrace>
<![CDATA[ bei System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) bei System.Windows.FrameworkElement.set_Height(Double value) bei StudioSubtitling.View.PreviewView.SetLineRow(Double height, CuePosition cuePosition) bei StudioSubtitling.View.PreviewView.AssignBlockFormatting() bei StudioSubtitling.View.PreviewView.RichTextBox_OnTextChanged(Object sender, TextChangedEventArgs e) bei System.Windows.Controls.TextChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) bei System.Windows.Controls.Primitives.TextBoxBase.OnTextChanged(TextChangedEventArgs e) bei System.Windows.Controls.Primitives.TextBoxBase.OnTextContainerChanged(Object sender, TextContainerChangedEventArgs e) bei System.Windows.Documents.TextContainerChangedEventHandler.Invoke(Object sender, TextContainerChangedEventArgs e) bei System.Windows.Documents.TextContainer.EndChange(Boolean skipEvents) bei System.Windows.Documents.TextElementCollection`1.Add(TextElementType item) bei StudioSubtitling.Controls.BindableParagraphBlock.OnBoundSpanChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) bei System.Windows.FrameworkContentElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) bei System.Windows.Documents.TextElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) bei System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) bei System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) bei System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) bei System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange) bei MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange) bei MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) bei MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName) bei MS.Internal.Data.PropertyPathWorker.OnPropertyChanged(Object sender, PropertyChangedEventArgs e) bei System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) bei System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args) bei StudioSubtitling.Model.ViewModelBase.OnPropertyChanged(String propertyName) bei StudioSubtitling.ViewModel.SubtitlingViewModel.set_SubtitleSpan(Span value) bei StudioSubtitling.ViewModel.SubtitlingViewModel.UpdateSubtitleSpan() bei StudioSubtitling.ViewModel.SubtitlingViewModel.SetActiveFile(ProjectFile projectFile) bei StudioSubtitling.ViewModel.SubtitlingViewModel.SetActiveDocument(IStudioDocument document) bei StudioSubtitling.ViewModel.SubtitlingViewModel.EditorController_ActiveDocumentChanged(Object sender, DocumentEventArgs e) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei Sdl.Desktop.Platform.Extensions.EventsExtensions.Raise[T](EventHandler`1 e, Object sender, T eventArgs) bei Sdl.TranslationStudioAutomation.IntegrationApi.EditorController.OnActiveDocumentChanged(IDocument document) bei Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document) bei Sdl.TranslationStudio.Editor.EditorService.set_ActiveDocument(IDocument value) bei Sdl.TranslationStudio.Editor.EditorView.OnActiveViewPartChanged(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.AbstractViewWithParts.Control_ActiveViewPartChanged(IViewWithParts view, IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnActiveViewPartChanged(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InternalActivateViewPart(IViewPartReference viewPartToActivate) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl._tabControl_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e) bei Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e) bei Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e) bei Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e) bei Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value) bei Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab) bei Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartTab(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.WinForms.DockingViewContentControl.NotifyViewPartAdded(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.AbstractViewWithParts.AddViewPart(IViewPartReference viewPartReference) bei Sdl.Desktop.Platform.AbstractDockingView.AddViewPart(IViewPartReference viewPartReference) bei Sdl.TranslationStudio.Editor.EditorView.AddDocumentViewPart(IViewPartReference documentViewPartReference) bei Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart) bei Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job) ]]>
</StackTrace>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio16</ProductVersion>
<EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1031</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>DESKTOP-C7MFQ3M\mkent</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>DESKTOP-C7MFQ3M</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>16592296 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
emoji
Parents Reply Children
  • Hello Oana,

    Thanks!

    1. I use the plug-in from the AppStore.

    2. I am not sure if I understand the question. Anyways, it works when I deactivate the plug-in.

    3. Yes, I have done so now, and they open correct.

    4. I cannot share the file, but I think the problem is the extra info in the file:

    WEBVTT

    X-TIMESTAMP-MAP=MPEGTS:182970, LOCAL:00:00:00.000

     

    00:00:00.000 --> 00:00:00.780 align:middle line:90%

     

     

    00:00:00.780 --> 00:00:02.100 align:middle line:90%

    This is a test file.

     

    00:00:02.100 --> 00:00:03.210 align:middle line:90%

    This is a test file.

     

    00:00:03.210 --> 00:00:05.910 align:middle line:84%

    This is a test file.

    This is a test file 2.

    [End of file]

    When I remove the "align:middle"-info, it works. But I must not remove the extra information! I have to deliver a translated file that has all that info.

    It worked for a while even with the extra info, but then it stopped working and the error message appeared. Before that, I could translate the file (using the plug-in), then export the translated text, with the extra info included.

    What happened? And how can it be repaired?

    Best wishes

    Matthias

    emoji
  • Hi ,

    Thank you for providing sample text, very useful.

    I will run some tests to see if I can repro the issue, so we can advise further.

    Regards,

    Oana Nagy | 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