Skip to content
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

Open
2 tasks done
dXrayb opened this issue May 28, 2024 · 8 comments
Open
2 tasks done

🐛 New ARM version can't Load #112

dXrayb opened this issue May 28, 2024 · 8 comments
Labels
bug Something isn't working help wanted Should implement/fix, but unable due to complexity or time constraints. Welcoming community input. unknown Further testing is needed

Comments

@dXrayb
Copy link

dXrayb commented May 28, 2024

Flight Check

  • I'm sure existing (open and closed) don't have duplicates
  • I've tried reinstalling PT, Everything, EverythingPT

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:

  • PowerToy: v0.81.0
  • Everything: V1.4.1.1023 (ARM)
  • EverythingPT: v0.81.0.1
  • Windows:22631.3593

Installation method (How did you install the following softwares):

  • PowerToys: Github
  • Everything:Official Build
  • EverythingPT:Github
@dXrayb dXrayb added the bug Something isn't working label May 28, 2024
@lin-ycv
Copy link
Owner

lin-ycv commented May 28, 2024

Do you have multiple versions of EPT installed? Why does it say
Couldn't load assembly for Everything in C:\Program Files\PowerToys\RunPlugins\Everything\Community.PowerToys.Run.Plugin.Everything.dll, it says the plugin is installed in program files instead of the appdata folder?

Does anything in #45 solve your issue?

@dXrayb
Copy link
Author

dXrayb commented May 29, 2024

Do you have multiple versions of EPT installed? Why does it say Couldn't load assembly for Everything in C:\Program Files\PowerToys\RunPlugins\Everything\Community.PowerToys.Run.Plugin.Everything.dll, it says the plugin is installed in program files instead of the appdata folder?

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.

@lin-ycv
Copy link
Owner

lin-ycv commented May 29, 2024

few things to try

  1. try a previous version and replace with ARM dll
  2. try the ARM Update 1 dll from voidtools forum
  3. try installing EPT to C:\Program Files\PowerToys\RunPlugins\Everything\ instead

see if any of these solves the issue

@dXrayb
Copy link
Author

dXrayb commented May 29, 2024

few things to try

  1. try a previous version and replace with ARM dll
  2. try the ARM Update 1 dll from voidtools forum
  3. try installing EPT to C:\Program Files\PowerToys\RunPlugins\Everything\ instead

see if any of these solves the issue

  1. previous version work well
  2. The effect of two DLL files is the same. I am the author of this post.
  3. At the beginning, I extracted and overwrote them in this directory, but later there was an error. I reinstalled using the installation package and deleted the original files, but it still didn't work.

@lin-ycv
Copy link
Owner

lin-ycv commented May 31, 2024

@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.
EverythingPT-0.81.0.1-ARM64_NoCheck.zip
EverythingPT-0.81.0.1-ARM64_NoCheckNoLib.zip
EverythingPT-0.81.0.1-x64+ARM64_NoLib.zip

@dXrayb
Copy link
Author

dXrayb commented May 31, 2024

@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. EverythingPT-0.81.0.1-ARM64_NoCheck.zip EverythingPT-0.81.0.1-ARM64_NoCheckNoLib.zip EverythingPT-0.81.0.1-x64+ARM64_NoLib.zip

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
EverythingPT-0.81.0.1-ARM64_NoCheckNoLib.txt
EverythingPT-0.81.0.1-x64+ARM64_NoLib.txt

@lin-ycv lin-ycv added help wanted Should implement/fix, but unable due to complexity or time constraints. Welcoming community input. unknown Further testing is needed labels Jun 1, 2024
@lin-ycv
Copy link
Owner

lin-ycv commented Jun 1, 2024

this makes no sense, because NoLib is basically 0.80.0 with very few minor changes.
The 3 logs you provided doesn't offer any insights either, it just says the plugin is not loaded, but there's no errors or exceptions.
Maybe we can wait for other ARM users to chime in.

@dXrayb
Copy link
Author

dXrayb commented Jun 3, 2024

this makes no sense, because NoLib is basically 0.80.0 with very few minor changes. The 3 logs you provided doesn't offer any insights either, it just says the plugin is not loaded, but there's no errors or exceptions. Maybe we can wait for other ARM users to chime in.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Should implement/fix, but unable due to complexity or time constraints. Welcoming community input. unknown Further testing is needed
Projects
None yet
Development

No branches or pull requests

2 participants