-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 New ARM version can't Load #112
Comments
Do you have multiple versions of EPT installed? Why does it say Does anything in #45 solve your issue? |
No, I found that Everything64.dll and EverythingARM64.dll are both in the Plugins folder, so I tried to delete Everything64.dll and rename EverythingARM64.dll to Everything64.dll, but it didn't work either. |
few things to try
see if any of these solves the issue |
|
@dXrayb Please try these 3 and see if any of them work. Completely remove any previous installs of EPT, no need to change or swap out dll, test the zip packages as is. |
Okay, It didn't work too, and the logs are here. The newest function version is 0.80. EverythingPT-0.81.0.1-ARM64_NoCheck.txt |
this makes no sense, because NoLib is basically 0.80.0 with very few minor changes. |
I speculate that the issue might be due to the program being compatible with both x64 and ARM64 architectures. There seems to be a problem when determining the two DLL files. Since I am using ARM64 versions of PowerToys and Everything, the old version works fine by replacing the DLL files, but the new version does not. |
can you test this version? |
It works well. |
- Updated `Community.PowerToys.Run.Plugin.Everything.csproj` for better `x64` and `ARM64` support, including platform-specific constants and simplified resource management. - Improved `ARM64` build process in `PostBuild` event, including automatic replacement of `Everything64.dll` with `EverythingARM64.dll`. - Streamlined result processing in `Everything.cs` for efficiency and readability, using direct paths and filenames from the Everything SDK. - Reverted to `[DllImport]` in `NativeMethods.cs` for P/Invoke, updating method signatures accordingly. - Cleaned up `Main.cs` by removing unused `using` directives, handling a new `Prefix` setting, and removing obsolete ARM DLL logic. - Extended plugin configuration options in `Settings.cs` with a new property for the query prefix and differentiated update logic in `Update.cs` for `x64` and `ARM64` executables. - Closes #115 #112
Flight Check
Describe the bug
The new ARM version can't load correctly.
To Reproduce
Download new version package and extract to %LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins folder, restart PowerToys.
Screenshots
PowerToys Run - Plugin Loading Error
Fail to load plugin: Everything
Please report the bug to https://aka.ms/powerToysReportBug. (For third-party plugins, please contact the plugin author.)
确定
Logs (please upload or provide link to you log):
[2024-05-28 11:44:01.6645] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::55]
Starting PowerToys Run with PID=3548
[2024-05-28 11:44:01.7958] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::66]
Runner pid=19972
[2024-05-28 11:44:03.7878] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::108]
On Startup.
[2024-05-28 11:44:04.2221] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44]
ImageLoader.Initialize - Preload images cost <9ms>
[2024-05-28 11:44:04.2221] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::99]
Number of preload images is <116>, Images Number: 2, Unique Items 2
[2024-05-28 11:44:04.7209] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44]
|Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <441ms>
[2024-05-28 11:44:04.7209] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Alphabet.cs::46]
Number of preload pinyin combination<0>
[2024-05-28 11:44:04.9289] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <4ms>
[2024-05-28 11:44:05.0703] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::169]
-------------------------- Begin exception --------------------------
Message: Couldn't load assembly for Everything in C:\Program Files\PowerToys\RunPlugins\Everything\Community.PowerToys.Run.Plugin.Everything.dll
Exception full name : System.IO.FileLoadException
Exception message : Could not load file or assembly 'Community.PowerToys.Run.Plugin.Everything, Version=0.81.0.1, Culture=neutral, PublicKeyToken=null'.
Exception stack trace:
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at Wox.Plugin.PluginPair.CreatePluginInstance()
Exception source : System.Private.CoreLib
Exception target site: System.Reflection.Assembly LoadFromAssemblyPath(System.String)
Exception HResult : -2146232799
-------------------------- End exception --------------------------
[2024-05-28 11:44:05.0703] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <137ms>
[2024-05-28 11:44:05.0850] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <3ms>
[2024-05-28 11:44:05.0955] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.0955] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <2ms>
[2024-05-28 11:44:05.1155] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.1265] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <3ms>
[2024-05-28 11:44:05.3004] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <165ms>
[2024-05-28 11:44:05.3172] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.4662] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <140ms>
[2024-05-28 11:44:05.4891] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <13ms>
[2024-05-28 11:44:05.5389] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <40ms>
[2024-05-28 11:44:05.5536] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <2ms>
[2024-05-28 11:44:05.5649] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.5796] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <3ms>
[2024-05-28 11:44:05.5907] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <2ms>
[2024-05-28 11:44:05.6834] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <83ms>
[2024-05-28 11:44:05.6943] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.7041] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:05.7355] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <22ms>
[2024-05-28 11:44:05.7487] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144]
Load cost for is <1ms>
[2024-05-28 11:44:06.4314] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\WindowsThumbnailProvider.cs::119]
Error while creating item. retCode:-2147024891
[2024-05-28 11:44:06.4314] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\WindowsThumbnailProvider.cs::146]
-------------------------- Begin exception --------------------------
Message: Error while extracting thumbnail for C:\ProgramData\Microsoft\NetFramework\BreadcrumbStore\netcore,LibGit2Sharp,0.27.0-preview-0182
Exception full name : System.UnauthorizedAccessException
Exception message : 拒绝访问。 (0x80070005 (E_ACCESSDENIED))
Exception stack trace:
at Wox.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(String fileName, Int32 width, Int32 height, ThumbnailOptions options)
Exception source : Wox.Infrastructure
Exception target site: IntPtr GetHBitmap(System.String, Int32, Int32, Wox.Infrastructure.Image.ThumbnailOptions)
Exception HResult : -2147024891
-------------------------- End exception --------------------------
[2024-05-28 11:44:06.4348] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::172]
-------------------------- Begin exception --------------------------
Message: Failed to get thumbnail for C:\ProgramData\Microsoft\NetFramework\BreadcrumbStore\netcore,LibGit2Sharp,0.27.0-preview-0182
Exception full name : System.UnauthorizedAccessException
Exception message : 拒绝访问。 (0x80070005 (E_ACCESSDENIED))
Exception stack trace:
at Wox.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(String fileName, Int32 width, Int32 height, ThumbnailOptions options)
at Wox.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(String fileName, Int32 width, Int32 height, ThumbnailOptions options)
at Wox.Infrastructure.Image.ImageLoader.GetThumbnailResult(String& path, Boolean generateThumbnailsFromFiles, Boolean loadFullImage)
at Wox.Infrastructure.Image.ImageLoader.<>c__DisplayClass18_0.b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Wox.Infrastructure.Image.ImageLoader.LoadInternalAsync(String path, Boolean generateThumbnailsFromFiles, Boolean loadFullImage)
Exception source : Wox.Infrastructure
Exception target site: IntPtr GetHBitmap(System.String, Int32, Int32, Wox.Infrastructure.Image.ThumbnailOptions)
Exception HResult : -2147024891
-------------------------- End exception --------------------------
[2024-05-28 11:44:07.2667] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\SettingsReader.cs::87]
Successfully read new settings. retryCount=1
[2024-05-28 11:44:07.2811] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage`1.cs::139]
Saving cached data at <C:\Users\xray\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <2ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <15ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <4ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <6ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <4ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <41ms>
[2024-05-28 11:44:07.4182] [WARN] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::225]
Can not initialize Everything plugin as it was not loaded
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <1ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <1ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <2ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <144ms>
[2024-05-28 11:44:07.4182] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <10ms>
[2024-05-28 11:44:07.4493] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56]
Total initialize cost for is <30ms>
Version:
Installation method (How did you install the following softwares):
The text was updated successfully, but these errors were encountered: