marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
12.5k stars 434 forks source link

Windows user folder with 'à' accent #2455

Closed albert-ubintia closed 2 months ago

albert-ubintia commented 3 months ago

Please confirm these before moving forward

UniGetUI Version

3.10

Windows version, edition, and architecture

Windows 11 PRO 23H2 - 22631.3810

Describe your issue

Hello,

The program cannot use the winget folder, I have seen that my user's folder has an accented letter 'à' and I think that makes UniGetUi unable to use it.

Winget from the command line works correctly.

Steps to reproduce the issue

No response

UniGetUI Log

[08/07/2024 8:44:41] 
                        __  __      _ ______     __  __  ______
                       / / / /___  (_) ____/__  / /_/ / / /  _/
                      / / / / __ \/ / / __/ _ \/ __/ / / // /  
                     / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                     \____/_/ /_/_/\____/\___/\__/\____/___/   
                         Welcome to UniGetUI Version 3.1.0
[08/07/2024 8:44:41]
[08/07/2024 8:44:41] Version Code:  3,1
[08/07/2024 8:44:41] Using bundled GSudo at C:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
[08/07/2024 8:44:41] Loaded language locale: es
[08/07/2024 8:44:42] Randomly-generated background API auth token for the current session: hw2zt6dcrueitds12n8lwlkkv5cuygxn3xkw090doh3gg6j60psek7crud3rdmcf
[08/07/2024 8:44:42] Api running on http://localhost:7058
[08/07/2024 8:44:43] Lang files were updated successfully from GitHub
[08/07/2024 8:44:43] UniGetUI is up to date
[08/07/2024 8:44:43] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Winget
                     █ Enabled: True
                     █ Found: False
                     █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                     █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:43] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Pip
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:44] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: PowerShell
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:45] Downloaded new icons and screenshots successfully!
[08/07/2024 8:44:45] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: .NET Tool
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:45] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Chocolatey
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:47] Command scoop was not found on the system
[08/07/2024 8:44:47] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Scoop
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Npm
                     █ Enabled: False
                     █ THE MANAGER IS DISABLED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[08/07/2024 8:44:49] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.

Package Managers Logs

Manager Winget with version:

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

image

Mertsch commented 3 months ago

@albert-ubintia Have you tried 3.1.1 beta? It includes a fix that sounds very much like it's for you

Issues with package encoding WinGet will be found on systems where the user does not have a ascii-only username

marticliment commented 3 months ago

Yes, the latest beta has this issue fixed

iggsn commented 3 months ago

Hey. I have the same issue and tested with the latest beta. It looks now different, but it isn't really fixed. Before it was looking like in the screenshot before. Now it looks like this: image

But the path contains an acronym: image

If I copy and past the path from UniGetUI it still contains some broken char:

image

Running on: image

albert-ubintia commented 3 months ago

Hello,

I can confirm that the beta has solved my problem with the à character, you can see it in the following screenshot

image

Thank you all for such a quick response.

iggsn commented 3 months ago

Hey @albert-ubintia,

have you done anything special? I completely uninstalled WinGet 3.0.2 and also deleted the folders in Local App Data. I reinstalled the latest beta (as seen in the screenshot).

However it still shows the acronym "ü" as a squared box, if I copy the path.

So for me it doesn't work yet :-(

albert-ubintia commented 3 months ago

No, I haven't done anything special, just uninstall the regular version and install the beta. Before uninstalling the beta, I did do a reset in the general preferences and the Winget section.

joaroyen commented 3 months ago

This is still an issue for me running 3.1.1-beta1 where UniGetUI displays "Winget not found" error. I have an Ø in my username which is replaced with an O in the path to winget.exe as displayed in the settings dialog.

I've created a junction using uppercase O that points to my real user folder as a workaround.

tdoerschel commented 2 months ago

I can confirm that Uniget 3.1.1-beta3 "fixes" the issue by pointing to C:\Program Files\WingetUI\winget-cli_x64\winget.exe instead of the users \AppData\Local\Microsoft\WindowsApps\winget.exe

joaroyen commented 2 months ago

I can confirm 3.1.1-beta3 fixed locating winget.exe but there is still an issue locating Scoop package manager and .NET Tools Outdated.