"-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
  • I only found a workaround. Someone had a little piece of software for automatically generating the extra info like "align:middle line 84%". So first I removed the extra info from the files I got (using Notepad++ wirh regex). Then I translated the files. And in the end, the little app I mentioned put the extra info back into the translated file. It was always "align:middle line:84%" for two lines of text and "align:middle line:90%" for a single line. I don’t have that little app, but I think nowadays you could use ChatGPT for easily creating such an app. But of course it would be better if the bug could be removed from Trados Studio. Then there would be no need for workarounds.

    emoji
Children
No Data