Open
Description
I get an exception on 1.5.1, which crashes the program. The web interface only displays a heading "Not Found (Not Found)" but does appear to be a working HTTP server.
An unexpected error occurred. Should you like assistance with this error, please assist those assisting you by copying the indented text into your request for assistance. The error was:
= Tiny UI Fix version 1.5.1, running on PowerShell v7.4.6, on Unix 6.12.3.1 =
Cannot convert the "System.ValueTuple`2[TinyUIFixForTS3ResourceCFGDirective,System.Object][]" value of type "System.ValueTuple`2[[TinyUIFixForTS3ResourceCFGDirective, PowerShell Class Assembly, Version=1.0.0.2, Culture=neutral, PublicKeyToken=null],[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]][]" to type "System.Collections.Generic.IEnumerable`1[System.ValueTuple`2[TinyUIFixForTS3ResourceCFGDirective,System.Object]]".
HRESULT: 80004002
The type of error was: System.Management.Automation.PSInvalidCastException
The line that caused the error was: while ($Lines.MoveNext())
The error occurred:
at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType)
at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
at CallSite.Target(Closure, CallSite, ValueTuple`2[])
at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at ExtractDirectivesFromResourceCFG, /home/nroth/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 1846
at <ScriptBlock>, /home/nroth/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 2351
at Resolve-ResourcePrioritiesForSims3Installation, /home/nroth/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 2374
at Resolve-ResourcePrioritiesForSims3InstallationForUIScaling, /home/nroth/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 5536
at <ScriptBlock>, /home/nroth/tiny-ui-fix-for-ts3/Use-TinyUIFixForTS3.ps1: line 6767
at <ScriptBlock>, <No file>: line 1
Metadata
Metadata
Assignees
Labels
No labels