WSL-DistroManager
WSL-DistroManager copied to clipboard
wslmanager 실행시 다음 오류가 발생합니다. 처음엔 되었었는데 지금은 오류가 발생하네요.
이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는 방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.
************** 예외 텍스트 ************** System.Runtime.Serialization.SerializationException: WslManager.Shared.WslQueryModel 형식 개체를 역직렬화하는 동안 오류가 발생했습니다. '��ȯ'에 잘못된 UTF8 바이트가 있습니다. ---> System.Xml.XmlException: '��ȯ'에 잘못된 UTF8 바이트가 있습니다. ---> System.Text.DecoderFallbackException: 지정한 코드 페이지의 0 인덱스에서 바이트 [C1]을(를) 유니코드로 변환할 수 없습니다. 위치: System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index) 위치: System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index) 위치: System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte* pBytes, Char*& chars) 위치: System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder) 위치: System.Text.UTF8Encoding.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex) 위치: System.Xml.XmlConverter.ToChars(Byte[] buffer, Int32 offset, Int32 count, Char[] chars, Int32 charOffset) --- 내부 예외 스택 추적의 끝 --- 위치: System.Xml.XmlConverter.ToChars(Byte[] buffer, Int32 offset, Int32 count, Char[] chars, Int32 charOffset) 위치: System.Xml.XmlBufferReader.GetChars(Int32 offset, Int32 length, Char[] chars) 위치: System.Xml.XmlBufferReader.GetString(Int32 offset, Int32 length) 위치: System.Xml.ValueHandle.GetString() 위치: System.Runtime.Serialization.Json.XmlJsonReader.get_Value() 위치: System.Xml.XmlDictionaryReader.ReadContentAsString(Int32 maxStringContentLength) 위치: System.Xml.XmlBaseReader.ReadElementContentAsString() 위치: ReadWslQueryDistroModelFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] ) 위치: System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns) 위치: ReadArrayOfWslQueryDistroModelFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString , CollectionDataContract ) 위치: System.Runtime.Serialization.Json.JsonCollectionDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns) 위치: ReadWslQueryModelFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] ) 위치: System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) 위치: System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) 위치: System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) 위치: System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName) 위치: System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) --- 내부 예외 스택 추적의 끝 --- 위치: System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) 위치: System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader) 위치: WslManager.Shared.Extensions.LoadWslDistroInfo(String wslQueryExecPath) 파일 C:\Users\rkttu\Projects\WSL-DistroManager\WslManager.Shared\Extensions.cs:줄 58 위치: WslManager.SharedRoutines.LoadDistroList() 파일 C:\Users\rkttu\Projects\WSL-DistroManager\WslManager\SharedRoutines.cs:줄 48 위치: WslManager.MainForm.PerformRefreshDistroList(Boolean triggeredByUser) 파일 C:\Users\rkttu\Projects\WSL-DistroManager\WslManager\MainForm.cs:줄 45 위치: System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) 위치: System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) 위치: System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) 위치: System.Windows.Forms.ToolStripItem.PerformClick() 위치: WslManager.MainForm.MainForm_Load(Object sender, EventArgs e) 파일 C:\Users\rkttu\Projects\WSL-DistroManager\WslManager\MainForm.cs:줄 538 위치: System.Windows.Forms.Form.OnLoad(EventArgs e) 위치: System.Windows.Forms.Form.OnCreateControl() 위치: System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 위치: System.Windows.Forms.Control.CreateControl() 위치: System.Windows.Forms.Control.WmShowWindow(Message& m) 위치: System.Windows.Forms.Control.WndProc(Message& m) 위치: System.Windows.Forms.Form.WmShowWindow(Message& m) 위치: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 로드된 어셈블리 ************** mscorlib 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
WslManager 어셈블리 버전: 1.0.0.0 Win32 버전: 1.0.0.0 코드베이스: file:///C:/Program%20Files/WSLManager/WslManager.exe
System.Windows.Forms 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4084.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4190.0 built by: NET48REL1LAST_B 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4084.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Windows.Forms.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4084.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Windows.Forms.resources.dll
WslManager.Shared 어셈블리 버전: 1.0.0.0 Win32 버전: 1.0.0.0 코드베이스: file:///C:/Program%20Files/WSLManager/WslManager.Shared.DLL
System.Runtime.Serialization 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
SMDiagnostics 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
System.ServiceModel.Internals 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4200.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
System.RunTime.Serialization.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4084.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Runtime.Serialization.resources.dll
mscorlib.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4084.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/mscorlib.resources.dll
************** JIT 디버깅 ************** JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의 config 파일(machine.config)의 jitDebugging 값을 system.windows.forms 섹션에 설정해야 합니다. 또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야 합니다.
예:
JIT 디버깅을 사용하면 처리되지 않은 모든 예외는 이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 디버거에 보내집니다.
이전에는 되었는데 안되어서 생각해보니 도커를 설치한 것이 이유인것 같습니다.
powershell > wsl --list --verbose 하면 도커에 사용되는 docker-desktop-data, docker-desktop 때문인것 같기도 합니다.