Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.53k stars 2.37k forks source link

windows 7 detection support. #2935

Closed wxdjs closed 4 years ago

wxdjs commented 4 years ago

Exception begin -------------------- System.TypeLoadException: Could not find Windows Runtime type 'Windows.UI.ViewManagement.UISettings'. HResult: -2146233054 Data: -> <> Data: -> Source: Wox.Core TargetAssembly: Wox.Core, Version=1.3.1039.0, Culture=neutral, PublicKeyToken=null TargetModule: Wox.Core.dll TargetSite: Void AutoReload() StackTrace: -------------------- at Wox.Core.Resource.Theme.AutoReload() at Wox.Core.Resource.ThemeManager.get_Instance() in C:\projects\wox\Wox.Core\Resource\ThemeManager.cs:line 18 at Wox.App.b__16_0() in C:\projects\wox\Wox\App.xaml.cs:line 115 at Wox.Infrastructure.Stopwatch.StopWatchNormal(Logger logger, String message, Action action, String methodName) in C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:line 34 at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) InnerException 1: ------------------------------------------------------------ System.PlatformNotSupportedException: Operation is not supported on this platform. HResult: -2146233031 StackTrace: --------------------

Exception end ------------------------------------------------------------

Runtime Info

SDK Info

Assemblies - Wox.exe

bao-qian commented 4 years ago

please try new build, which has fix for this bug

https://ci.appveyor.com/project/bao-qian/wox/builds/32932441/artifacts

let me know if it fix or not.

@wxdjs @ZIEXED

ZIEXED commented 4 years ago

Tested still not working

1-

Please open new issue in: https://github.com/Wox-launcher/Wox/issues/new

  1. upload log file: C:\Users\usernamevar\AppData\Roaming\Wox\Logs\1.3.1064\2020-05-17.txt
  2. copy below exception message Exception begin -------------------- System.TypeLoadException: Could not find Windows Runtime type 'Windows.UI.ViewManagement.UISettings'. HResult: -2146233054 Data: -> <> Data: -> Source: Wox.Core TargetAssembly: Wox.Core, Version=1.3.1064.0, Culture=neutral, PublicKeyToken=null TargetModule: Wox.Core.dll TargetSite: Void AutoReload() StackTrace: -------------------- at Wox.Core.Resource.Theme.AutoReload() at Wox.Core.Resource.ThemeManager.get_Instance() in C:\projects\wox\Wox.Core\Resource\ThemeManager.cs:line 18 at Wox.App.b__15_0() in C:\projects\wox\Wox\App.xaml.cs:line 114 at Wox.Infrastructure.Stopwatch.StopWatchNormal(Logger logger, String message, Action action, String methodName) in C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:line 34 at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) InnerException 1: ------------------------------------------------------------ System.PlatformNotSupportedException: Operation is not supported on this platform. HResult: -2146233031 StackTrace: --------------------

Exception end ------------------------------------------------------------

Runtime Info

SDK Info

Assemblies - Wox.exe

2-

Please open new issue in: https://github.com/Wox-launcher/Wox/issues/new

  1. upload log file: C:\Users\usernamevar\AppData\Roaming\Wox\Logs\1.3.1064\2020-05-17.txt
  2. copy below exception message Exception begin -------------------- System.TypeLoadException: Could not find Windows Runtime type 'Windows.UI.ViewManagement.UISettings'. HResult: -2146233054 Data: -> <> Data: -> Source: Wox.Core TargetAssembly: Wox.Core, Version=1.3.1064.0, Culture=neutral, PublicKeyToken=null TargetModule: Wox.Core.dll TargetSite: Void AutoReload() StackTrace: -------------------- at Wox.Core.Resource.Theme.AutoReload() at Wox.Core.Resource.ThemeManager.getInstance() in C:\projects\wox\Wox.Core\Resource\ThemeManager.cs:line 18 at Wox.MainWindow.OnLoaded(Object sender, RoutedEventArgs ) in C:\projects\wox\Wox\MainWindow.xaml.cs:line 63 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) InnerException 1: ------------------------------------------------------------ System.PlatformNotSupportedException: Operation is not supported on this platform. HResult: -2146233031 StackTrace: --------------------

Exception end ------------------------------------------------------------

Runtime Info

SDK Info

Assemblies - Wox.exe

====== 2020-05-17.txt

bao-qian commented 4 years ago

@ZIEXED could you try this new build? https://github.com/Wox-launcher/Wox/releases/tag/v1.3.1073

elkan1788 commented 4 years ago

I also meet this exception in Win10 system. After start the new version v1.3.1071, there tip message: failed load control panel will be disable. But the version 1.3.578 can run well , so what change?

bao-qian commented 4 years ago

@elkan1788 there are tons of changes, for windows 10 and control panel exception, please open separate issue and upload log.

ZIEXED commented 4 years ago

@ZIEXED could you try this new build? https://github.com/Wox-launcher/Wox/releases/tag/v1.3.1073

I can confirm latest build Fixed on my end

bao-qian commented 4 years ago

@ZIEXED thanks for confirm. close now.