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

Bug: Weird characters for certain apps that prevents interaction (and telling what's what) #21

Closed
RavenMacDaddy opened this issue May 24, 2022 · 20 comments
Labels
bug Something isn't working hard-one lol needs-author-answer

Comments

@RavenMacDaddy
Copy link
Contributor

image

image

[32;1mname or something, unknown app in the Installed list, as well as links and everything else in the first screenshot.

@RavenMacDaddy RavenMacDaddy changed the title Bug: Weird characters for certain apps that prevents interaction Bug: Weird characters for certain apps that prevents interaction (and telling what's what) May 24, 2022
@marticliment
Copy link
Owner

Well, that's weird.
Faast Questions:

  • Does it happen with Winget packes, with scoop packages or with both?
  • Does your user directory contain any special characters?

@marticliment marticliment added bug Something isn't working needs-author-answer labels May 25, 2022
@RavenMacDaddy
Copy link
Contributor Author

RavenMacDaddy commented May 25, 2022

  1. Only Scoop apps are affected.
  2. Nope, just letters, and the dir for Scoop is F:\Backup\Scoop - custom dir.

@marticliment
Copy link
Owner

so what if you run in a cmd window scoop info caprine, does it show normal or does it fail?

@RavenMacDaddy
Copy link
Contributor Author

image

Completely normal.

@marticliment
Copy link
Owner

Mhmm, it might be the green color. Have you changed any setting to get this greenish color?

@marticliment marticliment added this to the BUGs milestone May 26, 2022
@RavenMacDaddy
Copy link
Contributor Author

Nono, this is the current default color that the Scoop app uses.

@marticliment
Copy link
Owner

huh, weird... Anyway, l'll try to fix it

@RavenMacDaddy
Copy link
Contributor Author

And I appreciate your commitment and am very impressed.

marticliment added a commit that referenced this issue May 27, 2022
@marticliment
Copy link
Owner

marticliment commented May 27, 2022

Hi, can you please try the latest head?

@RavenMacDaddy
Copy link
Contributor Author

RavenMacDaddy commented May 27, 2022

Oh Martí, I'd be glad to, however I've no programming knowledge so I dunno how to compile and test it.

@marticliment
Copy link
Owner

Oh, no worries :)

@marticliment
Copy link
Owner

@marticliment marticliment reopened this May 27, 2022
@marticliment
Copy link
Owner

It should have the character issues fixed

@RavenMacDaddy
Copy link
Contributor Author

RavenMacDaddy commented May 27, 2022

For some reason I can't even see any Scoop packages;

image

image

I tested this EXE both in my Scoop installation and completely separately.

Sidenote is that the buttons for the different sections at the top are even tighter.

@marticliment
Copy link
Owner

Can you try this .exe?

https://drive.google.com/file/d/1--59dlIGpZoRyW3FXNeLOTFnZXaHtfso/view?usp=sharing

Can you try this again please? (I hae updated the file.)

You will find a nwe tab called "Debugging log"

Please open it, click to see the log and send me all the text shown there.

I'm sorry i've been asleep, but i had to finish final exams :')

@RavenMacDaddy
Copy link
Contributor Author

[   OK   ] checkQueue Thread started!
[        ] Starting main application...
[        ] Is Dark
[   OK   ] Starting winget search, winget on F:\Users\amand\AppData\Local\Temp\_MEI289402\winget-cli\winget.exe...
[   OK   ] Starting scoop search...
[   OK   ] Discover tab loaded
[        ] Is Dark
[   OK   ] Starting winget search, winget on F:\Users\amand\AppData\Local\Temp\_MEI289402\winget-cli\winget.exe...
[   OK   ] Starting scoop search...
[   OK   ] Upgrades tab loaded
[        ] Is Dark
[   OK   ] Starting winget search, winget on F:\Users\amand\AppData\Local\Temp\_MEI289402\winget-cli\winget.exe...
[   OK   ] Starting scoop search...
[   OK   ] Discover tab loaded
[   OK   ] About tab loaded!
[   OK   ] Main application loaded...
🔵 Starting update check
b'At line:1 char:1' At line:1 char:1
b'+ scoop search' + scoop search
b'+ ~~~~~' + ~~~~~
b'+ CategoryInfo          : SecurityError: (:) [], PSSecurityException' + CategoryInfo          : SecurityError: (:) [], PSSecurityException
b'+ FullyQualifiedErrorId : UnauthorizedAccess' + FullyQualifiedErrorId : UnauthorizedAccess
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
[   OK   ] Scoop search finished
[   OK   ] Scoop search finished
[   OK   ] Scoop search finished
🔵 Version URL: https://versions.somepythonthings.tk/versions/wingetui.ver
🟢 Updates not found
[   OK   ] Winget uninstallable packages search finished
[   OK   ] Total packages: 104
No installed package found matching input criteria.
[   OK   ] Winget search finished
[   OK   ] Total packages: 0
[   OK   ] Winget search finished
[   OK   ] Total packages: 3461

\\samba-server\SPTPrograms\WingetUI-Store\wingetui\__init__.py:98: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.

@marticliment
Copy link
Owner

Hi, can you please run this command: scoop -v

Also, can you try running this: Set-ExecutionPolicy Unrestricted. Because it seems like PowerShell is blocking scoop

b'At line:1 char:1' At line:1 char:1
b'+ scoop search' + scoop search
b'+ ~~~~~' + ~~~~~
b'+ CategoryInfo : SecurityError: (:) [], PSSecurityException' + CategoryInfo : SecurityError: (:) [], PSSecurityException
b'+ FullyQualifiedErrorId : UnauthorizedAccess' + FullyQualifiedErrorId : UnauthorizedAccess

@RavenMacDaddy
Copy link
Contributor Author

image

Setting Unrestricted for the current user didn't help, and also goes against Scoop's own homepage;

image

I ran the command for CU and then started WingetUI, viewed a Scoop app with the same characters coming up.

@marticliment
Copy link
Owner

And now that scoop apps are showing, can you please try thie file?

https://drive.google.com/file/d/1--59dlIGpZoRyW3FXNeLOTFnZXaHtfso/view?usp=sharing

@RavenMacDaddy
Copy link
Contributor Author

Actually it seems to be fixed in v1.1, great work.

marticliment pushed a commit that referenced this issue Jul 19, 2024
…creenshots

Update icons and screenshots from the excel file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hard-one lol needs-author-answer
Projects
None yet
Development

No branches or pull requests

2 participants