fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
9.73k stars 390 forks source link

[Windows] Scoop package count is wrong #417

Closed TayouVR closed 1 year ago

TayouVR commented 1 year ago

General description of bug:

The package count only shows 1 package, while i have 142

Often helpful questions:

Output of fastfetch --version:

fastfetch 1.9.1 (x86_64)

Output of fastfetch --load-config devinfo:

Error: couldn't find config: devinfo

Output of fastfetch --load-config devinfo-verbose:

Error: couldn't find config: devinfo-verbose

for the "couldn't find config" thing, I downloaded the presets from here, but I have no idea where to put them on windows

Output of fastfetch --list-features:

vulkan
zlib
opencl
libcjson

More Info

I believe the package count is wrong because it doesn't know where to scan for packages. My SCOOP env var is set to a folder in W:\. I am not sure if the code here https://github.com/LinusDierheimer/fastfetch/blob/068cbafe3dfe847fa0c533d5b126f2ea30861418/src/detection/packages/packages_windows.c#L28...L36 follows that env var image

image Neofetch in comparison (also gets it wrong) image Winfetch (gets it right): image

CarterLi commented 1 year ago

Can you verify if the latest build works for you?

TayouVR commented 1 year ago

works, thank you very much! image

CarterLi commented 1 year ago

Do you really have two NV cards installed?

CarterLi commented 1 year ago

Also can you check if the package count number is correct

TayouVR commented 1 year ago

no, that seems to be another bug. As seen on the screenshots from neofetch and winfetch they both report different situations themselves. I feel like the 2nd GPU should be my iGPU, but I must have disabled that in bios as the other two are finding that parsec virtual GPU only

The package count is correct, in winfetch it had 142 (before I installed fastfetch) EDIT: just confirmed with scoop list, its 143 right now ^^

CarterLi commented 1 year ago

Can you check if $SCOOP/apps/scoop exists?

CarterLi commented 1 year ago

Should be fixed in git head

TayouVR commented 1 year ago

Can you check if $SCOOP/apps/scoop exists?

yes, it does exist. Thats where scoop installs itself to after all.

As for the GPU thing, just tried latest git head (from actions), running without any arguments its the same as before, running it like this: fastfetch --allow-slow-operations true results in the following output: No idea whats happening with 3 2080s being listed.... image

TayouVR commented 1 year ago

Can I supply some log or something, that would help diagnose this?

CarterLi commented 1 year ago

Can I supply some log or something, that would help diagnose this?

A bug of my code. It should be fixed now.

CarterLi commented 1 year ago

yes, it does exist. Thats where scoop installs itself to after all.

Please provides these information:

  1. ls $SCOOP/apps
  2. scoop list
TayouVR commented 1 year ago

output of ls $env:SCOOP/apps in powershell:


    Directory: W:\scoop\apps

Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----        28/08/2022     16:49                7zip                                                                 
d-----        28/08/2022     16:49                adb                                                                  
d-----        04/02/2023     16:50                aqtinstall                                                           
d-----        04/02/2023     16:50                atom                                                                 
d-----        04/02/2023     16:50                audacity                                                             
d-----        12/08/2022     18:01                barrier                                                              
d-----        31/12/2022     16:16                bat                                                                  
d-----        04/02/2023     16:50                blender                                                              
d-----        05/02/2023     10:23                blockbench                                                           
d-----        18/09/2022     20:44                cheat-engine                                                         
d-----        04/02/2023     16:50                chromium                                                             
d-----        04/02/2023     16:50                cinny                                                                
d-----        04/02/2023     16:50                cmake                                                                
d-----        04/02/2023     16:50                cpu-z                                                                
d-----        04/02/2023     16:51                cura                                                                 
d-----        08/02/2023     11:49                curl                                                                 
d-----        12/08/2022     18:01                dark                                                                 
d-----        31/12/2022     16:34                delta                                                                
d-----        04/02/2023     16:51                deltachat                                                            
d-----        12/08/2022     18:01                dia                                                                  
d-----        04/02/2023     16:51                discord                                                              
d-----        04/02/2023     16:51                discord-canary                                                       
d-----        04/02/2023     16:51                dnspyex                                                              
d-----        06/09/2022     12:40                dolphin                                                              
d-----        05/02/2023     10:23                draw.io                                                              
d-----        04/02/2023     16:51                eartrumpet                                                           
d-----        04/02/2023     19:41                eclipse-cpp                                                          
d-----        04/02/2023     16:51                element                                                              
d-----        06/09/2022     12:47                elisa                                                                
d-----        19/01/2023     05:01                everything                                                           
d-----        08/02/2023     14:46                fastfetch                                                            
d-----        04/02/2023     16:51                ffmpeg                                                               
d-----        04/02/2023     16:51                filelight                                                            
d-----        08/02/2023     11:56                firefox                                                              
d-----        04/02/2023     16:51                foobar2000                                                           
d-----        04/02/2023     16:52                freecad                                                              
d-----        04/02/2023     16:52                fzf                                                                  
d-----        30/12/2022     17:29                galaxy-battlenet                                                     
d-----        30/12/2022     17:29                galaxy-epic                                                          
d-----        30/12/2022     17:31                galaxy-ps2                                                           
d-----        30/12/2022     17:29                galaxy-steam                                                         
d-----        30/12/2022     17:30                galaxy-uplay                                                         
d-----        06/02/2023     16:36                geogebra                                                             
d-----        08/02/2023     11:49                gh                                                                   
d-----        12/08/2022     18:01                gimp                                                                 
d-----        04/02/2023     16:52                git                                                                  
d-----        18/12/2022     00:45                git-lfs                                                              
d-----        08/02/2023     11:50                github                                                               
d-----        08/02/2023     11:50                gitkraken                                                            
d-----        04/02/2023     16:52                go                                                                   
d-----        04/02/2023     16:52                gpg                                                                  
d-----        04/02/2023     16:52                gpu-z                                                                
d-----        04/01/2023     17:37                grep                                                                 
d-----        04/02/2023     16:52                gsudo                                                                
d-----        04/02/2023     16:52                handbrake                                                            
d-----        12/08/2022     18:01                hxd                                                                  
d-----        04/02/2023     16:52                ImHex                                                                
d-----        04/02/2023     16:53                inkscape                                                             
d-----        12/08/2022     18:02                innounp                                                              
d-----        05/10/2022     17:36                jdownloader                                                          
d-----        04/02/2023     16:53                jetbrains-toolbox                                                    
d-----        04/02/2023     16:53                kdeConnect                                                           
d-----        04/02/2023     16:53                kdenlive                                                             
d-----        04/02/2023     16:53                krita                                                                
d-----        04/02/2023     16:53                legendary                                                            
d-----        31/12/2022     16:16                less                                                                 
d-----        04/02/2023     16:54                libreoffice                                                          
d-----        04/02/2023     16:54                logseq                                                               
d-----        05/02/2023     13:32                mambaforge                                                           
d-----        06/09/2022     14:11                meld                                                                 
d-----        04/02/2023     16:55                mercurial                                                            
d-----        08/02/2023     11:50                microsoft-teams                                                      
d-----        04/02/2023     16:55                msedgeredirect                                                       
d-----        03/11/2022     02:35                msiafterburner                                                       
d-----        04/02/2023     16:56                msys2                                                                
d-----        04/02/2023     16:56                nano                                                                 
d-----        26/08/2022     13:27                neofetch                                                             
d-----        04/02/2023     16:56                neovim                                                               
d-----        08/02/2023     11:51                nextcloud                                                            
d-----        18/11/2022     15:19                nheko                                                                
d-----        04/02/2023     16:56                nodejs                                                               
d-----        04/02/2023     16:56                notepadplusplus                                                      
d-----        05/02/2023     10:23                obs-studio                                                           
d-----        28/12/2022     16:37                obsidian                                                             
d-----        08/02/2023     11:51                oh-my-posh                                                           
d-----        04/02/2023     16:56                okular                                                               
d-----        12/08/2022     18:02                openarena                                                            
d-----        22/11/2022     23:44                openhardwaremonitor                                                  
d-----        04/02/2023     16:56                openrgb                                                              
d-----        12/08/2022     18:02                openscad                                                             
d-----        04/02/2023     16:56                openshot                                                             
d-----        08/02/2023     11:51                osulazer                                                             
d-----        04/02/2023     16:56                parsec-np                                                            
d-----        04/02/2023     16:56                picard                                                               
d-----        04/02/2023     16:56                pidgin                                                               
d-----        06/12/2022     14:32                pkg-config                                                           
d-----        03/01/2023     17:03                playnite                                                             
d-----        04/02/2023     16:57                powertoys                                                            
d-----        04/02/2023     19:32                prime95                                                              
d-----        04/02/2023     16:57                prismlauncher                                                        
d-----        27/01/2023     10:21                prismlauncher-git                                                    
d-----        14/10/2022     15:25                privatezilla                                                         
d-----        05/02/2023     21:05                prusaslicer                                                          
d-----        12/08/2022     18:02                pureref                                                              
d-----        05/02/2023     21:53                python                                                               
d-----        04/02/2023     16:57                qbittorrent                                                          
d-----        04/02/2023     16:57                qt-creator                                                           
d-----        04/02/2023     16:57                qtscrcpy                                                             
d-----        04/02/2023     16:58                rust                                                                 
d-----        04/02/2023     16:58                rustup                                                               
d-----        16/07/2022     11:20                scoop                                                                
d-----        04/02/2023     16:58                scrcpy                                                               
d-----        04/02/2023     16:58                scummvm                                                              
d-----        23/11/2022     09:06                secureuxtheme                                                        
d-----        04/01/2023     18:55                sed                                                                  
d-----        04/02/2023     16:59                shotcut                                                              
d-----        12/08/2022     18:02                steam                                                                
d-----        30/12/2022     17:26                sudo                                                                 
d-----        25/09/2022     14:01                sweethome3d                                                          
d-----        04/02/2023     17:54                sysinternals                                                         
d-----        04/02/2023     16:59                temurin17-jdk                                                        
d-----        04/02/2023     16:59                temurin8-jdk                                                         
d-----        08/02/2023     14:21                thunderbird                                                          
d-----        06/02/2023     15:27                tightvnc                                                             
d-----        04/02/2023     16:59                tor-browser                                                          
d-----        04/02/2023     16:59                tortoisehg                                                           
d-----        04/02/2023     16:59                vcredist2022                                                         
d-----        24/08/2022     15:45                vim                                                                  
d-----        04/02/2023     17:35                virtualbox-np                                                        
d-----        04/02/2023     17:35                vlc                                                                  
d-----        04/02/2023     17:35                vortex                                                               
d-----        04/02/2023     17:35                vscodium                                                             
d-----        31/01/2023     17:51                vseeface                                                             
d-----        18/01/2023     12:30                windirstat                                                           
d-----        04/02/2023     17:35                windows-terminal                                                     
d-----        04/02/2023     17:35                windowsdesktop-runtime-lts                                           
d-----        08/02/2023     12:30                winfetch                                                             
d-----        04/02/2023     17:35                wingetui                                                             
d-----        04/02/2023     17:35                winscp                                                               
d-----        04/02/2023     17:35                wireshark                                                            
d-----        06/02/2023     23:12                wiztree                                                              
d-----        23/12/2022     15:42                yarn                                                                 
d-----        04/02/2023     17:35                yt-dlp                                                               
d-----        05/02/2023     10:23                yuzu                                                                 

output of scoop list:

 PS  tayou@Tayou-PC-Win10    scoop list
Installed apps:

Name                       Version                     Source                     Updated             Info
----                       -------                     ------                     -------             ----
7zip                       22.01                       main                       2022-07-17 09:13:05
adb                        33.0.3                      main                       2022-08-26 13:27:10
aqtinstall                 3.1.0                       main                       2022-12-05 15:45:15
atom                       1.63.1                      extras                     2022-11-23 17:56:36
audacity                   3.2.4                       extras                     2023-02-01 06:08:32
barrier                    2.4.0                       extras                     2022-08-12 17:35:07
bat                        0.22.1                      main                       2022-12-31 16:16:33
blender                    3.4.1                       extras                     2022-12-20 17:37:59
blockbench                 4.6.4                       games                      2023-02-05 10:10:02
cheat-engine               7.4                         extras                     2022-09-18 20:44:05
chromium                   109.0.5414.120-r1070088     extras                     2023-01-27 09:51:31
cinny                      2.2.4                       extras                     2023-01-31 08:56:36
cmake                      3.25.2                      main                       2023-01-20 09:37:39
cpu-z                      2.04                        extras                     2023-01-30 08:51:48
cura                       5.2.2                       extras                     2023-01-25 11:41:49
curl                       7.87.0_5                    main                       2023-02-08 11:49:40
dark                       3.11.2                      main                       2022-07-15 08:39:25
delta                      0.15.1                      main                       2022-12-31 16:34:16
deltachat                  1.34.2                      extras                     2023-01-19 03:04:15
dia                        0.97.2                      extras                     2022-07-28 16:11:00
discord                    1.0.9007-14                 extras                     2022-11-21 16:11:39
discord-canary             0.0.316                     versions                   2022-10-31 19:28:49
dnspyex                    6.3.0                       extras                     2023-01-21 00:45:43
dolphin                    5.0                         games                      2022-09-06 12:40:05
draw.io                    20.8.16                     extras                     2023-02-04 19:38:36
eartrumpet                 2.2.2.0                     extras                     2023-01-27 10:25:45
eclipse-cpp                2022-12                     extras                     2023-02-04 19:41:33
element                    1.11.22                     extras                     2023-02-01 06:08:47
elisa                      22.04.1                     extras                     2022-09-06 12:47:29
everything                 1.4.1.1022                  extras                     2023-01-19 05:01:30
fastfetch                  1.9.1                       main                       2023-02-08 14:46:29
ffmpeg                     5.1.2                       main                       2022-09-27 13:42:55
filelight                  22.08.1-1114                extras                     2022-09-23 08:04:51
firefox                    103.0                                                  2023-02-08 11:56:30
foobar2000                 1.6.16                      extras                     2023-01-14 13:33:17
freecad                    0.20.2-2                    extras                     2023-01-08 12:34:15
fzf                        0.37.0                      main                       2023-01-25 11:41:50
galaxy-battlenet           0.44                        galaxy-integrations        2022-12-30 17:29:29
galaxy-epic                0.49.1                      galaxy-integrations        2022-12-30 17:29:52
galaxy-ps2                 0.2021.09.14                galaxy-integrations        2022-12-30 17:31:58
galaxy-steam               1.0.2                       galaxy-integrations        2022-12-30 17:27:08
galaxy-uplay               5eb6810                     galaxy-integrations        2022-12-30 17:30:30
geogebra                   6.0.759.0                   extras                     2023-02-06 16:36:34
gh                         2.23.0                      main                       2023-02-08 11:49:42
gimp                       2.10.32-1                   extras                     2022-07-15 08:32:11
git                        2.39.1.windows.1            main                       2023-01-19 03:04:41
git-lfs                    3.3.0                       main                       2022-12-18 00:45:28
github                     3.1.6                       extras                     2023-02-08 11:50:03
gitkraken                  9.1.0                       extras                     2023-02-08 11:50:32
go                         1.20                        main                       2023-02-02 08:35:51
gpg                        2.4.0                       main                       2022-12-20 09:45:17
gpu-z                      2.52.0                      extras                     2022-12-23 12:04:18
grep                       3.7                         main                       2023-01-04 17:37:20
gsudo                      2.0.4                       main                       2022-11-22 08:11:45
handbrake                  1.6.1                       extras                     2023-01-25 11:41:55
hxd                        2.5.0.0                     extras                     2022-07-15 08:36:31
ImHex                      1.26.2                      extras                     2023-01-06 10:36:08
inkscape                   1.2.2_2022-12-09_732a01da63 extras                     2023-01-25 11:42:58
innounp                    0.50                        main                       2022-07-15 08:28:56
jdownloader                nightly-20221005            versions                   2022-10-05 17:36:23
jetbrains-toolbox          1.27.2.13801                extras                     2022-12-21 10:54:31
kdeConnect                 22.08.0                     extras                     2022-09-24 19:12:27
kdenlive                   22.12.1                     extras                     2023-01-10 14:32:27
krita                      5.1.5                       extras                     2023-01-06 10:36:28
legendary                  0.20.32                     games                      2023-01-06 10:36:30
less                       608                         main                       2022-12-31 16:16:41
libreoffice                7.4.5.1                     extras                     2023-01-27 09:57:40
logseq                     0.8.16                      extras                     2023-01-14 13:33:49
mambaforge                                                                        2023-02-05 13:32:08 Install failed
meld                       3.22.0                      extras                     2022-09-05 11:40:48
mercurial                  6.3.1                       main                       2022-11-20 16:12:02
microsoft-teams            1.6.00.1381                 extras                     2023-02-08 11:50:49
msedgeredirect             0.7.3.0                     extras                     2023-01-16 13:50:00
msiafterburner             4.6.4                       extras                     2022-11-03 02:35:17
msys2                      2023-01-27                  main                       2023-01-28 06:54:12
nano                       7.2-10-10165                main                       2023-02-04 09:57:06
neofetch                   7.1.0                       main                       2022-08-26 13:27:01
neovim                     0.8.3                       main                       2023-02-04 09:57:24
nextcloud                  3.7.1                       extras                     2023-02-08 11:51:03
nheko                      0.10.1                      extras                     2022-11-18 15:19:19
nodejs                     19.6.0                      main                       2023-02-04 09:57:39
notepadplusplus            8.4.9                       extras                     2023-02-01 06:08:50
obs-studio                 29.0.2                      extras                     2023-02-04 19:38:54
obsidian                   1.1.9                       extras                     2022-12-28 16:37:47
oh-my-posh                 14.2.2                      main                       2023-02-08 11:51:07
okular                     22.12.1-1265                extras                     2023-02-04 09:58:22
openarena                  0.8.8                       games                      2022-07-15 08:38:15
openhardwaremonitor        0.9.6                       extras                     2022-11-22 23:44:52
openrgb                    0.8                         extras                     2022-12-04 07:47:27
openscad                   2021.01                     extras                     2022-07-15 08:38:19
openshot                   3.0.0                       extras                     2022-12-11 08:07:44
osulazer                   2023.207.0                  games                      2023-02-08 11:51:24
parsec-np                  150-86h                     nonportable                2022-12-19 12:04:14
picard                     2.8.5                       extras                     2022-12-07 10:08:18
pidgin                     2.14.12                     extras                     2023-01-01 16:50:06
pkg-config                 0.26-1                      main                       2022-12-06 14:32:07
playnite                   10.9                        extras                     2023-01-03 17:03:10
powertoys                  0.67.0                      extras                     2023-02-04 16:38:14
prime95                    30.8b17                     extras                     2023-02-04 19:32:51
prismlauncher              6.3                         games                      2023-02-04 09:58:27
prismlauncher-git          7.0-f705cf0                 versions                   2023-01-27 10:21:46
privatezilla               0.60.0                      extras                     2022-10-14 15:25:43
prusaslicer                2.6.0-alpha2                extras                     2023-02-01 06:09:03 Install failed
pureref                    1.11.1                      extras                     2022-07-15 08:39:23
python                     3.11.1                      main                       2023-02-05 21:54:01
qbittorrent                4.5.0                       extras                     2022-12-04 07:47:42
qt-creator                 9.0.1                       extras                     2022-12-19 12:04:34
qtscrcpy                   2.1.2                       extras                     2022-11-01 14:26:46
rust                       1.67.0                      main                       2023-01-27 10:00:26
rustup                     1.25.2                      main                       2023-02-04 16:48:31
scrcpy                     1.25                        main                       2022-12-24 11:58:30
scummvm                    2.6.1                       games                      2022-11-01 14:27:03
secureuxtheme              2.1.2                       extras                     2022-11-23 09:06:17
sed                        4.8                         main                       2023-01-04 18:55:22
shotcut                    22.12.21                    extras                     2022-12-22 12:51:24
steam                      nightly-20220715            versions                   2022-07-15 09:09:08
sudo                       0.2020.01.26                main                       2022-12-30 17:26:33
sweethome3d                7.0.2                       extras                     2022-09-25 14:01:05
sysinternals               2023.01.25                  extras                     2023-02-04 17:54:18
temurin17-jdk              17.0.6-10                   java                       2023-01-21 00:47:20
temurin8-jdk               8.0.362-9                   java                       2023-01-25 11:43:54
thunderbird                102.0.3                                                2023-02-08 14:21:06
tightvnc                   2.8.63                      extras                     2023-02-06 15:27:54
tor-browser                12.0.2                      extras                     2023-01-20 09:38:06
tortoisehg                 6.3.2                       extras                     2023-01-06 10:37:22
vcredist2022               14.34.31931.0               extras                     2022-11-09 15:47:25
vim                        9.0                         main                       2022-08-24 15:45:17
virtualbox-np              7.0.6                       nonportable                2023-01-27 10:27:00
vlc                        3.0.18                      extras                     2022-12-04 07:47:49
vortex                     1.7.4                       games                      2023-01-11 18:08:38
vscodium                   1.75.0.23033                extras                     2023-02-04 16:47:25
vseeface                   1.13.38b3                   AnotherFoxGuy_scoop-bucket 2023-01-31 17:51:51
windirstat                 1.1.2                       extras                     2023-01-18 12:30:12
windows-terminal           1.16.10261.0                extras                     2023-01-28 14:10:19
windowsdesktop-runtime-lts 6.0.13                      extras                     2023-01-27 10:27:24
winfetch                   2.5.0                       main                       2023-02-08 12:30:51
wingetui                   1.6.0                       extras                     2023-01-28 06:54:37
winscp                     5.21.7                      extras                     2023-01-27 10:27:46
wireshark                  4.0.3                       extras                     2023-01-27 10:28:01
wiztree                    4.12                        extras                     2023-02-06 23:12:52
yarn                       1.22.19                     main                       2022-12-23 15:42:08
yt-dlp                     2023.01.06                  main                       2023-01-07 17:00:25
yuzu                       0-1329                      games                      2023-02-05 10:23:40
CarterLi commented 1 year ago

It's 143 packages (without scoop itself). I see no problems here