RaceX58 / SimRaceX.Telemetry.Comparer

9 stars 1 forks source link

Error when loading Simhub #1

Open RicME85 opened 4 months ago

RicME85 commented 4 months ago
Plugin error

An error occured whilse loading plugin settings control for SimRaceX Telemetry Comparer(see logs for details)

Simhub log entry:

 ERROR An error occured while loading plugin settings control for SimRaceX Telemetry Comparer: System.Windows.Markup.XamlParseException: Could not load file or assembly 'MahApps.Metro.IconPacks.MaterialDesign, PublicKeyToken=0c0d510f9915137a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MahApps.Metro.IconPacks.MaterialDesign, PublicKeyToken=0c0d510f9915137a' or one of its dependencies. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
   at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
   at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
   at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
   at System.Windows.Baml2006.Baml2006Reader.Process_BamlRecords()
   at System.Windows.Baml2006.Baml2006Reader.Read()
   at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at SimRaceX.Telemetry.Comparer.View.TelemetryComparerView.InitializeComponent()
   at SimRaceX.Telemetry.Comparer.View.TelemetryComparerView..ctor()
   at SimRaceX.Telemetry.Comparer.View.TelemetryComparerView..ctor(TelemetryComparerPlugin plugin)
   at SimRaceX.Telemetry.Comparer.ViewModel.TelemetryComparerPlugin.GetWPFSettingsControl(PluginManager pluginManager)
   at SimHub.Plugins.IWPFSettingsExtensions.GetWidthLimitedWPFSettingsControl(IWPFSettings iWPFSettings, PluginManager pluginManager)
   at SimHubWPF.MainWindow.<>c__DisplayClass47_0.<LoadPluginsControls>b__0()
luisramirezdev commented 3 months ago

Same here, any news for this error ?

RaceX58 commented 3 months ago

Hello guys,

Sorry for the delay.

I will try to fix it this week-end.

RaceX

luisramirezdev commented 3 months ago

Hello guys,

Sorry for the delay.

I will try to fix it this week-end.

RaceX

Hello, thank you for your response. It would be great if you have time.

Regards and thanks !

luisramirezdev commented 2 weeks ago

Hello @RaceX58 Any news for this error ? Sorry for the insistence

RaceX58 commented 2 weeks ago

Hello,

Sorry for the long time... I haven't raced a lot theses last months.

I've juste uploaded an updated version of the tool. I've just tested it with SimHub 9.3.9 and it's working here.

Hope it resolves your bug.

RaceX

RicME85 commented 2 weeks ago

Thanks for taking the time to have a look at the issue. Will give it a go later.