Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EMU - Crash due to "Preference" window
#1
Hi, after of download and install the new v21.9.3.1, there's a problem wih the "Preferences" window that causes the software to crash if the option "open at start" is enabled, or just when click on the wrench icon for open it.
And btw, it would be nice make the software open on the location of the screen set on the last session.

Cheers.
Reply
#2
(05-09-2021, 10:40 PM)hellishvictor Wrote: Hi, after of download and install the new v21.9.3.1, there's a problem wih the "Preferences" window that causes the software to crash if the option "open at start" is enabled, or just when click on the wrench icon for open it.
And btw, it would be nice make the software open on the location of the screen set on the last session.

Cheers.

I definitely agree with opening the window in the same point. The framework we are using makes it a bit tricky to make this work cross platform but is definitely something on the list to sort!

As for the bug you're seeing for preferences window. Would you be able to attach the files from your preferences folder (C:\Users\<user>\Documents\EMU\Preferences) and latest emu logs.(\EMU\Logs) It would be good to pick these apart and diagnose what's going on here.

After you've done this, copy the files to your desktop so they're safe and delete the ones from \EMU\Preferences\ after a restart of EMU this will likely clear the issue. - on restarting EMU should create new files in this folder.
Reply
#3
Now the software doesn't open at all Sad
When I try to to attack the files, I get the message: "Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type."

However, this is "preferences.xml":
Code:
<?xml version="1.0" encoding="utf-8"?>
<Preferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  ApplicationInstanceId="76147ccf-53a7-493e-96d8-fd614b79086d"
  SendUsageData="true"
  IsFirstLaunch="true"
  ShowListOfDevicesAtStartup="true"
  CheckUpdateOnStart="true"
  EnableOsc="true"
  RecieveOscPort="57110"
  OutputDebugActive="false">
  <License
    Key=""
    Policy="Demo"
    Email=""
    Voucher=""
    ExpiryString="0001-01-01T00:00:00.0000000+00:00" />
  <Fps>44</Fps>
  <OutputConfigs />
  <AudioConfig>
    <SelectedAudioInputName>Disable audio input</SelectedAudioInputName>
    <SubFrom>30</SubFrom>
    <SubTo>100</SubTo>
    <LowFrom>100</LowFrom>
    <LowTo>800</LowTo>
    <MidFrom>800</MidFrom>
    <MidTo>8000</MidTo>
    <HiFrom>8000</HiFrom>
    <HiTo>20000</HiTo>
    <Gain>50</Gain>
    <GainInv>50</GainInv>
    <GainSub>50</GainSub>
    <GainSubInv>50</GainSubInv>
    <GainLow>50</GainLow>
    <GainLowInv>50</GainLowInv>
    <GainMid>50</GainMid>
    <GainMidInv>50</GainMidInv>
    <GainHi>50</GainHi>
    <GainHiInv>50</GainHiInv>
    <IsLogarithmic>true</IsLogarithmic>
  </AudioConfig>
  <MidiConfig>
    <SyncMidiClock>false</SyncMidiClock>
    <SelectedInputName />
    <SelectedTapTempoChannel>0</SelectedTapTempoChannel>
    <SelectedBankChangeChannel>0</SelectedBankChangeChannel>
    <SelectedProgramChangeChannel>0</SelectedProgramChangeChannel>
  </MidiConfig>
  <DoubleClickHoldTimeSetting>500</DoubleClickHoldTimeSetting>
  <ClickAndHoldTimeSetting>500</ClickAndHoldTimeSetting>
  <Footswitch1>
    <SelectedType>NormallyOpen</SelectedType>
    <SingleClickAction>NoAction</SingleClickAction>
    <DoubleClickAction>NoAction</DoubleClickAction>
    <ClickAndHoldAction>NoAction</ClickAndHoldAction>
    <ChannelIndex>0</ChannelIndex>
  </Footswitch1>
  <Footswitch2>
    <SelectedType>NormallyOpen</SelectedType>
    <SingleClickAction>NoAction</SingleClickAction>
    <DoubleClickAction>NoAction</DoubleClickAction>
    <ClickAndHoldAction>NoAction</ClickAndHoldAction>
    <ChannelIndex>1</ChannelIndex>
  </Footswitch2>
</Preferences>

 and here is the latest "emulog20210910.txt":
Code:
[21:19:01 INF] Logger initialized
[21:19:01 INF] InitializeServices
[21:19:02 DBG] Preferences Saved to F:\Mis Documentos\EMU\Preferences\preferences.xml
[21:19:06 DBG] Fixture Data Source=C:\Users\Public\Documents\EMU\emu.db
[21:19:07 DBG] Preferences Loaded from F:\Mis Documentos\EMU\Preferences\preferences.xml
[21:19:07 ERR] The type initializer for 'System.Management.ManagementPath' threw an exception.
System.TypeInitializationException: The type initializer for 'System.Management.ManagementPath' threw an exception.
---> System.PlatformNotSupportedException: The native library 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\wminet_utils.dll' does not have all required functions. Please, update the .NET Framework.
   at System.Management.WmiNetUtilsHelper.<>c__DisplayClass104_0.<LoadPlatformNotSupportedDelegates>b__39(Int32 _, IntPtr __, APTTYPE& ___)
   at System.Management.MTAHelper.IsNoContextMTA()
   at System.Management.MTAHelper.CreateInMTA(Type type)
   at System.Management.ManagementPath.CreateWbemPath(String path)
   at System.Management.ManagementPath..ctor(String path)
   at System.Management.ManagementPath..cctor()
   --- End of inner exception stack trace ---
   at System.Management.ManagementScope._Clone(ManagementScope scope, IdentifierChangedEventHandler handler)
   at System.Management.ManagementObjectSearcher..ctor(ManagementScope scope, ObjectQuery query, EnumerationOptions options)
   at DeviceId.Components.SystemDriveSerialNumberDeviceIdComponent.GetValue()
   at System.Linq.Enumerable.SelectIPartitionIterator`2.MoveNext()
   at System.String.Join(String separator, IEnumerable`1 values)
   at DeviceId.Formatters.HashDeviceIdFormatter.GetDeviceId(IEnumerable`1 components)
   at a.e.ake()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at a.e.b.aka()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at a.d.LogInfo(String message)
   at EMU.App.g()
   at EMU.App.Initialize()
   at Avalonia.Controls.AppBuilderBase`1.Setup() in /_/src/Avalonia.Controls/AppBuilderBase.cs:line 308
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 174
   at a.b.Main(String[] args)
[21:19:07 DBG] Preferences Loaded from F:\Mis Documentos\EMU\Preferences\preferences.xml
[21:19:08 INF] CurrentDomain_UnhandledException. {"e":"System.UnhandledExceptionEventArgs","ExceptionObject":"System.TypeInitializationException: The type initializer for \u0027System.Management.ManagementPath\u0027 threw an exception.\r\n ---\u003E System.PlatformNotSupportedException: The native library \u0027C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\wminet_utils.dll\u0027 does not have all required functions. Please, update the .NET Framework.\r\n   at System.Management.WmiNetUtilsHelper.\u003C\u003Ec__DisplayClass104_0.\u003CLoadPlatformNotSupportedDelegates\u003Eb__39(Int32 _, IntPtr __, APTTYPE\u0026 ___)\r\n   at System.Management.MTAHelper.IsNoContextMTA()\r\n   at System.Management.MTAHelper.CreateInMTA(Type type)\r\n   at System.Management.ManagementPath.CreateWbemPath(String path)\r\n   at System.Management.ManagementPath..ctor(String path)\r\n   at System.Management.ManagementPath..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at System.Management.ManagementScope._Clone(ManagementScope scope, IdentifierChangedEventHandler handler)\r\n   at System.Management.ManagementObjectSearcher..ctor(ManagementScope scope, ObjectQuery query, EnumerationOptions options)\r\n   at DeviceId.Components.SystemDriveSerialNumberDeviceIdComponent.GetValue()\r\n   at System.Linq.Enumerable.SelectIPartitionIterator\u00602.MoveNext()\r\n   at System.String.Join(String separator, IEnumerable\u00601 values)\r\n   at DeviceId.Formatters.HashDeviceIdFormatter.GetDeviceId(IEnumerable\u00601 components)\r\n   at a.e.ake()\r\n   at System.Lazy\u00601.ViaFactory(LazyThreadSafetyMode mode)\r\n--- End of stack trace from previous location ---\r\n   at System.Lazy\u00601.CreateValue()\r\n   at a.e.a.ajy()\r\n   at System.Collections.Generic.List\u00601.ForEach(Action\u00601 action)\r\n   at a.d.LogException(Exception exception)\r\n   at a.b.Main(String[] args)"}

Looking forward for a future update, I really like this software.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)