microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.33k stars 6.55k forks source link

"Something went wrong" #8074

Closed richj closed 3 years ago

richj commented 3 years ago

ℹ Computer information

📝 Provide detailed reproduction steps (if any)

✔️ Expected result

What is the expected result of the above steps?

❌ Actual result

What is the actual result of the above steps?

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

richj commented 3 years ago

Power Toys 0.23.2 On startup (No specific tool) Running as Admin Windows Build 18363.1139 2020-11-16.txt

Aaron-Junker commented 3 years ago

PowerToy: PowerToys run

ghost commented 3 years ago

2020-11-16 11:35:08.4376|INFO|PowerLauncher.App.OnStartup| Message: Begin PowerToys Run startup ---------------------------------------------------- Area: PowerLauncher.App.OnStartup Source Path: S:\src\modules\launcher\PowerLauncher\App.xaml.cs::85

2020-11-16 11:35:08.4696|INFO|PowerLauncher.App.OnStartup| Message: Runtime info: Version: 0.23.2.0 OS Version: Microsoft Windows NT 10.0.18363.0 IntPtr Length: 8 x64: True Area: PowerLauncher.App.OnStartup Source Path: S:\src\modules\launcher\PowerLauncher\App.xaml.cs::86

2020-11-16 11:35:08.8577|FATAL|UnHandledException|

Exception

System.BadImageFormatException: Could not load file or assembly 'Microsoft.PowerToys.Settings.UI.Lib, Version=0.23.2.0, Culture=neutral, PublicKeyToken=null'. Format of the executable (.exe) or library (.dll) is invalid.
   Source: Wox.Infrastructure
   TargetAssembly: Wox.Infrastructure, Version=0.23.2.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Wox.Infrastructure.dll
   TargetSite: Void .ctor(System.String, Int32)
   at Wox.Infrastructure.Storage.StoragePowerToysVersionInfo..ctor(String associatedFilePath, Int32 type)
   at Wox.Infrastructure.Storage.BinaryStorage`1.TryLoad(T defaultData)
   at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
   at PowerLauncher.App.<>c__DisplayClass15_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   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)

Environment

Assemblies - PowerLauncher

ghost commented 3 years ago

Can you take a screenshot of %programfiles%\PowerToys\modules\launcher?

screenshot

/cc @richj

athelas64 commented 3 years ago

PowerLauncher is giving me constant crashes. On a good occassion, the crash is just one popup Something went wrong. But regularly, the window is opened in an endless loop and it is quite hard to try to kill the process in the Task Manager, because CPU gets 100% and memory is draining fast...

2020-12-11_04h38_07 [

2020-12-11.txt](https://github.com/microsoft/PowerToys/files/5676949/2020-12-11.txt)

crutkas commented 3 years ago

@athelas64 that is issue #5658

enricogior commented 3 years ago

System.BadImageFormatException: Could not load file or assembly 'Microsoft.PowerToys.Settings.UI.Lib

This is not a coding error, it might be a corrupted disk drive.

enricogior commented 3 years ago

@richj have you updated to 0.29? Are you still seeing this problem?

ghost commented 3 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

crutkas commented 3 years ago

@richj, can you try to update to .NET Core 3.1.10 and see if that corrects the issue? https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.10-windows-x64-installer

richj commented 3 years ago

There has been an update since I originally contacted you and everything seems to be working now. I honestly have forgotten what the issue was before.

On Mon, Jan 4, 2021 at 1:48 PM Clint Rutkas notifications@github.com wrote:

@richj https://github.com/richj, can you try to update to .NET Core 3.1.10 and see if that corrects the issue?

https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.10-windows-x64-installer

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/8074#issuecomment-754210049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDP73OWHCQHUYN4XQQM6TSYISSTANCNFSM4TXRBHYQ .