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
11.93k stars 396 forks source link

[BUG] (IDM update.exe launching on update check) #1655

Closed parlevjo2 closed 8 months ago

parlevjo2 commented 8 months ago

Please confirm these before moving forward

Describe your issue

After installing version 2.2.0 Each time I press Refresh on The Updates packages tab this program is started 3 times: c:\Program Files\IDM Computer Solutions\UltraFinder\update.exe and asks for administration permission. Also on initial start, then immediately this update.exe is started. I have 3 Ultra* programs installed from IDM Computer Solutions. UltraEdit, UltraFInder, UltraCompare. I have already uninstalled version 2.2.0 and reinstalled it, but still the same behaviour

Steps to reproduce the issue

Press Refresh button

WingetUI Log

๐ŸŸข Using cached lang file
๐ŸŸก Using bundled lang file (forced=True)
๐Ÿ”ต It took 0.0 to load all language files
๐ŸŸข checkQueue Thread started!
๐Ÿ”ต Language file up-to-date
๐Ÿ”ต Found default chocolatey installation on expected location
---------------------------------------------------------------------------------------------------

   WingetUI version 2.2.0 (version number 2.2) log
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function language set to "nl"

---------------------------------------------------------------------------------------------------

 Log legend:
 ๐Ÿ”ต: Verbose
 ๐ŸŸข: Information
 ๐ŸŸก: Warning
 ๐ŸŸ : Handled unexpected exception
 ๐Ÿ”ด: Unhandled unexpected exception

๐Ÿ”ด  Traceback (most recent call last):

๐Ÿ”ด  Traceback (most recent call last):

๐Ÿ”ด    File ".\__main__.py", line 75, in <module>

๐Ÿ”ด    File ".\__main__.py", line 75, in <module>

๐Ÿ”ด    File ".\PackageEngine\Classes.py", line 39, in __init__

๐Ÿ”ด    File ".\PackageEngine\Classes.py", line 39, in __init__

๐Ÿ”ด  AttributeError: 'NoneType' object has no attribute 'NAME'

๐Ÿ”ด  AttributeError: 'NoneType' object has no attribute 'NAME'

๐Ÿ”ด Note this traceback was caught by reporter and has been added to the log ('NoneType' object has no attribute 'NAME')
๐Ÿ”ต Starting main application...
๐Ÿ”ต Looking for alive instances...
๐Ÿ”ต Starting API with random session authentication token 97e18ad9386cb6b22cb076e4bdc5682e4a88ed21ac0bb4387b0b376f0b4f1109
๐ŸŸก Found lock file(s), reactivating...
๐Ÿ”ต Reloading Winget sources...
๐Ÿ”ต Loading WingetUI AUMID...
๐Ÿ”ต Starting update check
๐Ÿ”ต Version URL: https://www.marticliment.com/versions/wingetui.ver
๐ŸŸข Updates not found
๐Ÿ”ต Starting Winget source search...
๐ŸŸข Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
๐Ÿ”ต Loaded metadata from local file
๐ŸŸข Winget source search finished with 2 sources
๐Ÿ”ต Reactivation signal ignored: RaiseWindow_[1703523122.5272906]
๐ŸŸข Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\wingetui.exe
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is uitgeschakeld', 'PipFound': False, 'PipVersion': 'Pip is uitgeschakeld', 'NpmFound': False, 'NpmVersion': 'Npm is uitgeschakeld', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is uitgeschakeld', 'ChocolateyFound': True, 'ChocolateyVersion': '', 'WingetFound': True, 'WingetVersion': 'v1.6.3482  ', 'PowerShellFound': False, 'PowerShellVersion': ''}
๐Ÿ”ต Reached main ui load milestone
๐ŸŸข Discover tab loaded successfully
๐ŸŸข Total packages: 0
๐ŸŸข Update tab loaded successfully
๐Ÿ”ต Reloading sources...
๐Ÿ”ต Reloading Winget sources...
๐Ÿ”ต Reloading sources...
๐Ÿ”ต Reloading Winget sources...
๐ŸŸข Searching for string ""
๐Ÿ”ต Reloading sources...
๐Ÿ”ต Reloading Winget sources...
๐ŸŸข Uninstall tab loaded successfully
๐Ÿ”ต Starting Winget search for installed packages
๐Ÿ”ต Starting Chocolatey search for installed packages
๐Ÿ”ต Starting PowerShell search for installed packages
๐ŸŸข Searching for string ""
๐Ÿ”ต Reloading Scoop sources...
๐Ÿ”ต Reloading Scoop sources...
๐Ÿ”ต Reloading Scoop sources...
๐Ÿ”ต Starting Winget source search...
๐Ÿ”ต Starting Scoop source search...
๐Ÿ”ต Starting Chocolatey source search...
๐Ÿ”ต Starting PowerShell source search...
๐ŸŸข Settings tab loaded!
๐ŸŸข About tab loaded!
๐ŸŸข Chocolatey source search finished with 0 sources
๐ŸŸข Winget source search finished with 0 sources
Win32Mica Error: win32 version 19045 is not supported
๐ŸŸข Chocolatey search for installed packages finished with 0 result(s)
๐ŸŸ  Chocolatey got too few installed packages, retrying
๐Ÿ”ต Starting Chocolatey search for installed packages
Win32Mica Error: win32 version 19045 is not supported
๐ŸŸข Main application loaded...
๐ŸŸข Total packages: 0
๐ŸŸข Total packages: 0
๐ŸŸข Total packages: 0
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
๐ŸŸข Scoop source search finished with 0 sources
๐ŸŸข Winget search for installed packages finished with 174 result(s)
๐ŸŸข Searching for string ""
๐ŸŸข Chocolatey search for installed packages finished with 0 result(s)
๐ŸŸข Searching for string ""
๐Ÿ”ต Starting Winget search for updates
๐Ÿ”ต Starting Chocolatey search for updates
๐Ÿ”ต Starting PowerShell source search...
๐ŸŸข PowerShell search for installed packages finished with 2 result(s)
๐ŸŸข Searching for string ""
๐ŸŸข Searching for string ""
๐ŸŸข Total packages: 176
๐ŸŸข Chocolatey search for updates finished with 0 result(s)
๐ŸŸข Searching for string ""
๐ŸŸข PowerShell source search finished with 1 sources
๐ŸŸข Winget search for updates finished with 9 result(s)
๐ŸŸก Package EaseUS.PartitionMaster has version * ignored
๐ŸŸก Package DominikReichl.KeePass has version * ignored
๐ŸŸก Package IDMComputerSolutions,Inc.UltraEdit has version * ignored
๐ŸŸข Searching for string ""
๐ŸŸข PowerShell source search finished with 1 sources
๐Ÿ”ต Starting PowerShell search for updates
๐Ÿ”ต Loading WingetUI log...
๐Ÿ”ต Copying log to the clipboard...
๐Ÿ”ต Loading WingetUI log...

Package Managers Logs

Outputs from package managers on the current session:
 ---------Chocolatey
Chocolatey v2.2.2
0 packages installed.

---------Winget
- 
   \ 
   | 

  โ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  1024 KB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  2.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  3.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  4.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  5.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  6.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’  7.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’  8.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  8.68 MB / 8.68 MB

   - 
   \ 
   | 
   / 
   - 
   \ 

Name                                    Id                                       Version               Available Source
-----------------------------------------------------------------------------------------------------------------------
UpNote 8.2.5                            25d6aa7b-585b-5b4c-8403-aece86b972ea     8.2.5
Gmail                                   5c673600487ab9f45d25b8ed2457de58         1.0
7-Zip 23.01 (x64)                       7zip.7zip                                23.01                           winget
Stuurprogrammapakket voor Windows - Gaโ€ฆ 98157A226B40B173301B0F53C8E98C47805D5152 04/19/2012 2.3.1.0
HP Smart                                AD2F1837.HPPrinterControl_v10z8vjag6ke6  150.1.1140.0
RoboForm 9-5-6-6 (All Users)            SiberSystems.RoboForm                    > 9.5.6                         winget
AVS DVD Copy version 4.1.2              AVS DVD Copy_is1                         Unknown
AVS Media Player 4.5.4                  AVS Media Player_is1                     4.5.4.123
AVS Screen Capture version 2.0.1        AVS Screen Capture_is1                   Unknown
AVS Update Manager 1.0                  AVS Update Manager_is1                   Unknown
AVS Video Editor 6.5                    AVS Video Editor_is1                     6.5.1.246
AVS Video ReMaker 4.0.8.140             AVS Video ReMaker_is1                    Unknown
AVS Video Recorder 2.6                  AVS Video Recorder_is1                   2.6.1.94
AVS4YOU Software Navigator 1.4          AVS4YOU Software Navigator_is1           Unknown
AVS Video Converter 10.0.4              AVS4YOU Video Converter 7_is1            10.0.4.616
Aangifte inkomstenbelasting 2012        Aangifte inkomstenbelasting 2012         Unknown
Aangifte inkomstenbelasting 2013        Aangifte inkomstenbelasting 2013         Unknown
Aangifte inkomstenbelasting 2014        Aangifte inkomstenbelasting 2014         Unknown
YouTube Song Downloader 2019            AbAppId-55_is1                           19.14
Access Console 22.4.1 [ghost.pinkelephโ€ฆ Access Console [ghost.pinkelephant.nl]   22.4.1
Adobe Acrobat Reader                    AdobeAcrobatReaderCoreApp_pc75e8sa7ep4e  23.0.0.0
Architag XRay XML Editor                Architag XRay XML Editor                 2.0
Audacity 3.4.2                          Audacity.Audacity                        3.4.2                           winget
AutoHotkey                              AutoHotkey.AutoHotkey                    2.0.10                          winget
Backblaze                               Backblaze                                Unknown
Beyond Compare 3.3.13                   BeyondCompare3_is1                       3.3.13.18981
Bulk Rename Utility 3.4.4.0 (64-bit)    TGRMNSoftware.BulkRenameUtility          3.4.4.0                         winget
Canon Inkjet Printer/Scanner/Fax Extenโ€ฆ CANONIJPLM100                            Unknown
Canon LBP6000/LBP6018                   Canon LBP6000/LBP6018                    Unknown
Canon Quick Menu                        CanonQuickMenu                           2.8.5
Stuurprogrammapakket voor Windows - Siโ€ฆ D1506E0025B5A3F9EB8270FE81C1EEDD9388B8A2 02/06/2007 3.1
Dropbox                                 Dropbox.Dropbox                          189.4.8395                      winget
Dropbox                                 DropboxInc.Dropbox_wkt425jdc3sga         187.4.5691.0
Duplicate Photo Cleaner                 Duplicate Photo Cleaner_is1              Unknown
EaseUS Partition Master                 EaseUS.PartitionMaster                   Unknown               17.0      winget
Stuurprogrammapakket voor Windows - Dyโ€ฆ F9D2A789F9CFF8CEC36B544F53877C80F1F73C46 04/11/2012 1.2.40.201
MyHeritage Family Tree Builder          MyHeritage.FamilyTreeBuilder             8.0.0.8640                      winget
GnuWin32: File-5.03                     File-5.03_is1                            5.03
Geef me de 5                            Geef me de 5                             Unknown
Google Chrome                           Google.Chrome                            120.0.6099.130                  winget
Greenshot 1.2.10.6                      Greenshot.Greenshot                      1.2.10.6                        winget
Samsung Kies                            InstallShield_{758C8301-2696-4855-AF45-โ€ฆ 2.6.4.17113.1
IrfanView 4.62 (64-bit)                 IrfanSkiljan.IrfanView                   4.62                            winget
KeePass Password Safe 1.41              DominikReichl.KeePass                    1.41                  2.55.0    winget
KeePass Password Safe 2.55              DominikReichl.KeePass                    2.55                            winget
LockHunter 3.4, 32/64 bit               CrystalRich.LockHunter                   3.4.3.146                       winget
Look@LAN 2.50 Build 35                  Look@LAN_1.0                             Unknown
Canon MP Navigator EX 4.0               MP Navigator EX 4.0                      Unknown
MediaInfo 23.11                         MediaArea.MediaInfo.GUI                  23.11                           winget
Microsoft Edge                          Microsoft.Edge                           120.0.2210.91                   winget
Microsoft Edge Update                   Microsoft Edge Update                    1.3.181.5
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime            120.0.2210.91                   winget
Visual Studio 2005 Tools for Office twโ€ฆ Microsoft Visual Studio 2005 Tools for โ€ฆ Unknown
Microsoft Visual Studio 2010 Tools forโ€ฆ Microsoft Visual Studio 2010 Tools for โ€ฆ 10.0.60910
Taalpakket voor Microsoft Visual Studiโ€ฆ Microsoft Visual Studio 2010 Tools for โ€ฆ 10.0.60910
App-installatieprogramma                Microsoft.AppInstaller                   1.21.3482.0                     winget
Uitbreidingen voor HEVC-video           Microsoft.HEVCVideoExtensions_8wekyb3d8โ€ฆ 2.0.61933.0
Microsoft Edge                          Microsoft.MicrosoftEdge.Stable_8wekyb3dโ€ฆ 120.0.2210.77
Microsoft .Net Native Framework Packagโ€ฆ Microsoft.NET.Native.Framework.2.2_8wekโ€ฆ 2.2.29512.0
Microsoft .Net Native Runtime Package โ€ฆ Microsoft.NET.Native.Runtime.2.2_8wekybโ€ฆ 2.2.28604.0
Microsoft.UI.Xaml.2.7                   Microsoft.UI.Xaml.2.7                    7.2208.15002.0                  winget
Microsoft.UI.Xaml.2.8                   Microsoft.UI.Xaml.2.8                    8.2310.30001.0                  winget
Microsoft Visual C++ 2015 UWP Desktop โ€ฆ Microsoft.VCLibs.Desktop.14              14.0.32530.0                    winget
Microsoft Visual C++ 2015 UWP Runtime โ€ฆ Microsoft.VCLibs.140.00_8wekyb3d8bbwe    14.0.32530.0
Microsoft Foto's                        Microsoft.Windows.Photos_8wekyb3d8bbwe   2023.10070.17002.0
Windows Package Manager Source (winget) Microsoft.Winget.Source_8wekyb3d8bbwe    2023.1225.1204.175
Mozilla Firefox (x64 en-US)             Mozilla.Firefox                          120.0.1                         winget
Mozilla Maintenance Service             MozillaMaintenanceService                119.0
Mp3tag v3.23                            Mp3tag.Mp3tag                            3.23                            winget
No-IP DUC                               NoIP.DUC                                 4.1.1                           winget
Notepad++ (64-bit x64)                  Notepad++.Notepad++                      8.6                             winget
Microsoft 365-apps voor ondernemingen โ€ฆ O365ProPlusRetail - nl-nl                16.0.17029.20068
Microsoft OneDrive                      Microsoft.OneDrive                       23.246.1127.0002                winget
OpenSSL 3.1.4 Light (64-bit)            OpenSSL Light (64-bit)_is1               3.1.4
Opera Stable 105.0.4970.48              Opera.Opera                              105.0.4970.48         106.0.49โ€ฆ winget
Picasa 3                                Picasa 3                                 3.9.141.259
Red Eye Remover 2.0                     Red Eye Remover_is1                      Unknown
VLC media player                        VideoLAN.VLC                             3.0.20                          winget
Video Fingerprinting SDK .Net TRIAL     Video Fingerprinting SDK .Net TRIAL 12.โ€ฆ 12.1.11.0
Vim 9.0                                 Vim 9.0                                  9.0.0
VueScan x64                             VueScan x64                              9.6.47
Dashboard                               Western Digital SSD Dashboard            4.0.2.20
WinMerge 2.16.36.0 x64 (Current user, โ€ฆ WinMerge.WinMerge                        2.16.36.0                       winget
WinRAR 6.24 (64-bit)                    RARLab.WinRAR                            6.24.0                          winget
XnView 2.51.5                           XnSoft.XnView.Classic                    2.51.5                          winget
Google Drive                            a035982023c1756de24f1f91905c6f20         1.0
Mobirise 5.9.4                          Mobirise.Mobirise                        5.9.4                 5.9.11.76 winget
abcAVI                                  abcavi_tag_editor_is1                    Unknown
YouTube                                 c27eef9ad20e890bcfbc1a702b478007         1.0
Evernote 10.68.2                        evernote.evernote                        10.68.2               10.68.3   winget
Documenten                              e73a1bdaa07d3dc5859d5a6b4fb99eac         1.0
Presentaties                            f85a2d9270fbd7808f20034dc78b51d3         1.0
Spreadsheets                            faf9c1807b0207d8141ef2cf7249561e         1.0
Amplenote                               www.amplenote.com-8DF11B1B_c3yy4tv0rxzxc 1.0.0.0
Virtual Machine Manager Self-Service Cโ€ฆ {0288C02B-0A3A-471A-8200-587620572B58}   2.0.4521.0
Microsoft Visual C++ 2013 Redistributaโ€ฆ Microsoft.VCRedist.2013.x64              12.0.40664.0                    winget
MiniTool Partition Wizard Free 12       {05D996FA-ADCB-4D23-BA3C-A7C184A8FAC6}_โ€ฆ Unknown
UltraCompare                            {07A7AE94-5AAA-468A-9A3C-EF75E73D8EE2}   23.0.0.40
CanoScan LiDE 210 Scanner Driver        {1199FAD5-9546-44f3-81CF-FFDB8040B7BF}_โ€ฆ Unknown
Microsoft Visual C++ 2008 Redistributaโ€ฆ {14297226-E0A0-3781-8911-E9D529552663}   9.0.30729
MSXML 4.0 SP3 Parser                    {196467F1-C11F-4F76-858B-5812ADC83B94}   4.30.2100.0
Microsoft Visual C++ 2010  x64 Redistrโ€ฆ Microsoft.VCRedist.2010.x64              10.0.40219                      winget
Microsoft Visual C++ 2008 Redistributaโ€ฆ {1F1C2DFC-2D24-3E06-BCB8-725134ADF989}   9.0.30729.4148
Microsoft Update Health Tools           {1FC1A6C2-576E-489A-9B4A-92D21F542136}   3.74.0.0
Microsoft Visual C++ 2015-2022 Redistrโ€ฆ Microsoft.VCRedist.2015+.x64             14.38.33130.0                   winget
Python 3.11.5 (64-bit)                  Python.Python.3.11                       3.11.5                3.11.7    winget
Samsung Magician                        Samsung.SamsungMagician                  8.0.0.900                       winget
Garmin City Navigator Europe NTU 2020.โ€ฆ {2F148A31-343B-4371-972A-AD3771DC8CC0}   2.0.0.0
Python Launcher                         Python.Launcher                          < 3.12.0              3.12.0    winget
Microsoft Visual C++ 2015-2022 Redistrโ€ฆ Microsoft.VCRedist.2015+.x86             14.38.33130.0                   winget
Malwarebytes version 4.6.6.294          Malwarebytes.Malwarebytes                4.6.6.294                       winget
Microsoft Visual C++ 2008 Redistributaโ€ฆ {350AA351-21FA-3270-8B7A-835434E766AD}   9.0.21022
MultiPing 2.20.1                        {3549B1E7-EC1C-4EE3-A7BA-DBE9A96BA132}   2.20.1.1
Garmin USB Drivers                      {3D5D6CFC-3097-425A-8D8F-7EAF5D57641D}   2.3.1.0
Microsoft ASP.NET MVC 4 Runtime         {3FE312D5-B862-40CE-8E4E-A6D8ABF62736}   4.0.40804.0
UltraEdit-32                            {43B6667D-7520-4186-B05B-F5C0494C495D}   10.20a
Software voor Intelยฎ Chipset-apparaten  {4551f75f-3c54-4f09-8221-8c8a061bad00}   10.1.18019.8144
Garmin WebUpdater                       {4e365b8d-ed6f-4316-a1b8-f8762eaed5a0}   2.5.8
Bonjour                                 {56DDDFB8-7F79-4480-89D5-25E1F52AB28F}   3.1.0.1
Microsoft Visual C++ 2008 Redistributaโ€ฆ Microsoft.VCRedist.2008.x64              9.0.30729.6161                  winget
ManicTime                               ManicTime.ManicTime                      23.3.1.0                        winget
Calendar Sync Pro version 3.0           {676333C8-AB13-4221-89DD-2EF6361917EE}_โ€ฆ 3.0
Google Drive                            Google.GoogleDrive                       85.0.26.0                       winget
UltraFinder                             {6DF6BFEE-A212-4B4B-A99E-08F165B4E20E}   22.0.0.50
Microsoft Visual C++ 2005 Redistributaโ€ฆ Microsoft.VCRedist.2005.x86              8.0.61001                       winget
Java 8 Update 391 (64-bit)              Oracle.JavaRuntimeEnvironment            8.0.3910.13                     winget
Microsoft .NET Core Runtime - 3.1.32 (โ€ฆ Microsoft.DotNet.Runtime.3_1             3.1.32                          winget
Update for Windows 10 for x64-based Syโ€ฆ {7B63012A-4AC6-40C6-B6AF-B24A84359DD5}   8.93.0.0
Microsoft Visual C++ 2008 Redistributaโ€ฆ {8220EEFE-38CD-377E-8595-13398D740ACE}   9.0.30729
Analysis Software                       {84F7BD75-F286-411F-A073-DDD46E15CEC6}   1.63
Realtek Ethernet Controller Driver      {8833FFB6-5B0C-4764-81AA-06DFEED9A476}   8.2.612.2012
WingetUI                                SomePythonThings.WingetUIStore           2.2.0                           winget
Microsoft Silverlight                   {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}   5.1.50918.0
Chess Tutor Step 1                      {8A6FDA71-871C-4F35-9392-A27B7E9B7A54}_โ€ฆ Unknown
Visual Studio Tools for the Office sysโ€ฆ {8FB53850-246A-3507-8ADE-0060093FFEA6}.โ€ฆ 1
iTunes                                  Apple.iTunes                             12.13.1.3                       winget
Time Zone Data Update Tool for Microsoโ€ฆ {95120000-0038-0409-0000-0000000FF1CE}   12.0.4518.1093
Realtek USB 2.0 Card Reader             {96AE7E41-E34E-47D0-AC07-1091A8127911}   6.1.8400.39030
Apple Application Support (32-bit)      {9738288C-21BC-4F54-AB4F-72F059339376}   8.6
Ziggo Safe Online                       {9909EA19-6E44-4ED2-9873-FD467D8EBED4}   19.2
Microsoft Visual C++ 2008 Redistributaโ€ฆ {9A25302D-30C0-39D9-BD6F-21E6EC160475}   9.0.30729
Microsoft Visual C++ 2008 Redistributaโ€ฆ Microsoft.VCRedist.2008.x86              9.0.30729.6161                  winget
Sitecom 150N USB Wireless LAN Driver aโ€ฆ {9C049499-055C-4a0c-A916-1D8CA1FF45EB}   1.00.0142
T-Clock                                 {9C368D73-86BD-4114-B8BF-B5D1437479AA}_โ€ฆ 2.4.4.492
Microsoft Visual C++ 2013 Redistributaโ€ฆ Microsoft.VCRedist.2013.x86              12.0.40664.0                    winget
Adobe Acrobat (64-bit)                  {AC76BA86-1043-1033-7760-BC15014EA700}   23.006.20380
PowerShell 7-x64                        Microsoft.PowerShell                     7.4.0.0                         winget
UltraEdit                               IDMComputerSolutions,Inc.UltraEdit       30.1.0.23             30.2.27   winget
GoodSync                                SiberSystems.GoodSync                    12.5.1.1                        winget
Apple Software Update                   {B292D163-23D2-4523-A699-1ABEC1875609}   2.7.0.3
NVIDIA 3D Vision stuurprogramma 391.35  {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 391.35
NVIDIA Grafisch stuurprogramma 391.35   {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 391.35
NVIDIA GeForce Experience 3.13.1.30     Nvidia.GeForceExperience                 3.13.1.30             3.27.0.1โ€ฆ winget
NVIDIA 3D Vision controllerstuurprograโ€ฆ {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 390.41
NVIDIA PhysX Systeem Software 9.19.0218 {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 9.19.0218
NVIDIA FrameView SDK 1.2.4999.30397803  {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 1.2.4999.30397803
NVIDIA HD Audio-stuurprogramma 1.3.36.6 {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_โ€ฆ 1.3.36.6
PDFCreator                              {CF96ADDA-9A70-4424-AE74-39654F8DCE0A}   5.1.2
Samsung USB Driver for Mobile Phones    {D0795B21-0CDA-4a92-AB9E-6E92D8111E44}   1.5.63.0
Windows Pc-statuscontrole               {D1F16371-7951-41EB-A367-507D779F1E64}   3.2.2110.14001
Windows 10-updateassistent              Microsoft.UpdateAssistant                1.4.19041.2183                  winget
Apple Mobile Device Support             {D76F9829-A6F3-48D3-A0B6-BC1522CB9F49}   17.0.0.21
Microsoft Online Services-aanmeldhulp   {D8AB93B0-6FBF-44A0-971F-C0669B5AE6DD}   7.250.4556.0
Apple Application Support (64-bit)      {DEB339C1-2687-43AB-816A-8714F3E26846}   8.6
Duplicate Photo Cleaner 7               {DF4FE8F9-110F-4F20-8F4B-204AAA1A64A5}_โ€ฆ 7.16.0.40
Microsoft Visual C++ 2010  x86 Redistrโ€ฆ Microsoft.VCRedist.2010.x86              10.0.40219                      winget
Realtek High Definition Audio Driver    {F132AF7F-7BCA-4EDE-8A7C-958108FE7DBC}   6.0.1.6680
Google Earth Pro                        Google.EarthPro                          7.3.6.9345                      winget
Microsoft Visual C++ 2008 Redistributaโ€ฆ {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}   9.0.21022
Microsoft Visual C++ 2005 Redistributaโ€ฆ {ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}   8.0.61000
Microsoft Visual C++ 2012 Redistributaโ€ฆ Microsoft.VCRedist.2012.x64              11.0.61030.0                    winget
Garmin Express                          Garmin.Express                           7.19.0.0                        winget
Intelยฎ Driver & Support Assistant       Intel.IntelDriverAndSupportAssistant     23.4.39.9                       winget
Microsoft Windows Desktop Runtime - 6.โ€ฆ Microsoft.DotNet.DesktopRuntime.6        6.0.25                          winget---------Chocolatey
Chocolatey v2.2.2
0 packages installed.

---------

Version    Name                                Repository           Description
-------    ----                                ----------           -----------
1.4.8.1    PackageManagement                   PSGallery            PackageManagement (a.k.a. OneGet) is a new way t...
1.21.0     PSScriptAnalyzer                    PSGallery            PSScriptAnalyzer provides script analysis and ch...
---------Chocolatey
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?Chocolatey has determined 0 package(s) are outdated.

---------Winget
- 
   \ 
   | 

  โ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  1024 KB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  2.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  3.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  4.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  5.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’  6.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’โ–’โ–’โ–’  7.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’โ–’  8.00 MB / 8.68 MB
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  8.68 MB / 8.68 MB

   - 
   \ 

Name                                Id                                 Version       Available     Source
---------------------------------------------------------------------------------------------------------
EaseUS Partition Master             EaseUS.PartitionMaster             Unknown       17.0          winget
KeePass Password Safe 1.41          DominikReichl.KeePass              1.41          2.55.0        winget
Opera Stable 105.0.4970.48          Opera.Opera                        105.0.4970.48 106.0.4998.16 winget
Mobirise 5.9.4                      Mobirise.Mobirise                  5.9.4         5.9.11.76     winget
Evernote 10.68.2                    evernote.evernote                  10.68.2       10.68.3       winget
Python 3.11.5 (64-bit)              Python.Python.3.11                 3.11.5        3.11.7        winget
Python Launcher                     Python.Launcher                    < 3.12.0      3.12.0        winget
UltraEdit                           IDMComputerSolutions,Inc.UltraEdit 30.1.0.23     30.2.27       winget
NVIDIA GeForce Experience 3.13.1.30 Nvidia.GeForceExperience           3.13.1.30     3.27.0.120    winget
9 upgrades available.

---------
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\Johan Parlevliet> 
PS C:\Users\Johan Parlevliet>         function Test-GalleryModuleUpdate
>>         {
>>             param
>>             (
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [string]
>>                 $Name,
>> 
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [version]
>>                 $Version,
>> 
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [string]
>>                 $Repository,
>> 
>>                 [switch]
>>                 $NeedUpdateOnly
>>             )
>> 
>>             process
>>             {
>> 
>> 
>>                 $URLs = @{"PSGallery" = "https://www.powershellgallery.com/api/v2";}
>> 
>>                 $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -Maximum 0 -ea Ignore
>>                 [version]$latest = Split-Path -Path ($page.Headers.Location -replace "$Name." -replace ".nupkg") -Leaf
>>                 $needsupdate = $Latest -gt $Version
>> 
>>                 if ($needsupdate)
>>                 {
>>                     Write-Output ($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
>>                 }
>>             }
>>         }
>> 
PS C:\Users\Johan Parlevliet>         Get-InstalledModule | Test-GalleryModuleUpdate
PS C:\Users\Johan Parlevliet>         exit

Relevant information

none

Screenshots and videos

2023-12-25 18_17_30-Thuis - johan2 - johanparlevliet no-ip org_19603 - Verbinding met extern bureaub

marticliment commented 8 months ago

Hello,

I will need you to open a command prompt window and run the following:


winget upgrade
choco list --outdated

Do any of this commands trigger the UAC prompt?

parlevjo2 commented 8 months ago
winget upgrade
Name                                Id                                 Version       Available     Source
---------------------------------------------------------------------------------------------------------
KeePass Password Safe 1.41          DominikReichl.KeePass              1.41          2.55.0        winget
Opera Stable 105.0.4970.48          Opera.Opera                        105.0.4970.48 106.0.4998.16 winget
Mobirise 5.9.4                      Mobirise.Mobirise                  5.9.4         5.9.11.76     winget
Evernote 10.68.2                    evernote.evernote                  10.68.2       10.68.3       winget
Python 3.11.5 (64-bit)              Python.Python.3.11                 3.11.5        3.11.7        winget
Python Launcher                     Python.Launcher                    < 3.12.0      3.12.0        winget
UltraEdit                           IDMComputerSolutions,Inc.UltraEdit 30.1.0.23     30.2.27       winget
NVIDIA GeForce Experience 3.13.1.30 Nvidia.GeForceExperience           3.13.1.30     3.27.0.120    winget
8 upgrades available.
1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

choco list --outdated
Chocolatey v1.2.1
Using the list command with remote sources is deprecated and will be made
to only list locally installed packages in v2.0.0. Use the search, or find,
command to find packages on remote sources (such as the Chocolatey Community
Repository).
0 packages found.
parlevjo2 commented 8 months ago

I think the problem is that wingetui wants to run update.exe self and that it search update.exe in the PATH folders.

where update
C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe
parlevjo2 commented 8 months ago

If I remove C:\Program Files\IDM Computer Solutions\UltraFinder from PATH the bug does not appear

parlevjo2 commented 8 months ago

I debugged this in procmon.exe and I found that this update.exe was started by powershell.exe, Command line: powershell.exe update self. I can reproduce the bug from the command line by executing command: powershell.exe update self

Date:   26-12-2023 11:29:48,6198861
Thread: 11864
Class:  Process
Operation:  Process Start
Result: SUCCESS
Path:   
Duration:   0.0000000
Parent PID: 6880
Command line:   "C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe" self
Current directory:  C:\Users\Johan Parlevliet\

Date:   26-12-2023 11:29:46,8912428
Thread: 16216
Class:  Process
Operation:  Process Start
Result: SUCCESS
Path:   
Duration:   0.0000000
Parent PID: 13584
Command line:   powershell.exe  update self
Current directory:  C:\Users\Johan Parlevliet\
parlevjo2 commented 8 months ago

This powershell,exe is started by wingetui,exe. Instead of powershell.exe update self it probably should be powershell.exe winget update self

Date:   26-12-2023 11:29:46,0688367
Thread: 3736
Class:  Process
Operation:  Process Start
Result: SUCCESS
Path:   
Duration:   0.0000000
Parent PID: 4876
Command line:   C:\WINDOWS\system32\cmd.exe /c "powershell.exe update self"
Current directory:  C:\Users\Johan Parlevliet\
marticliment commented 8 months ago

I think the problem is that wingetui wants to run update.exe self and that it search update.exe in the PATH folders.

where update
C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe

WIngetUI should not call any update.exe command, the updater is built-in, it is not an executable...

I will take a look at this

Pandoriaantje commented 8 months ago

If I remove C:\Program Files\IDM Computer Solutions\UltraFinder from PATH the bug does not appear

I can confirm this. I also have some IDM products installed. IDM EasyUpdate gets triggered each time I launch wingetGUI. "update self" is an invalid parameter, so it pops up multiple errors. These products were installed standalone, outside of any 'manager'.

It's actually verry easy to reproduce. have a IDM product installed, and launch wingetGUI or refresh the installed packages/software from within the GUI, and it'll popup multiple instances of "update self".

video: https://github.com/marticliment/WingetUI/assets/4532787/07bd41e1-ec9b-4012-a85d-04a5deb68235

Pandoriaantje commented 8 months ago

My guess is the culprit is in wingetui\PackageEngine\Managers\powershell.py at line 412.

    def updateSources(self, signal: Signal = None) -> None:
        subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE)
        if signal:
            signal.emit()

this appears to spawn a shell with the "update self" command, which executes update.exe with the "self" argument, from the shell PATH, which IDM adds.

marticliment commented 8 months ago

Yes, this could be it.

I thought I had removed that piece of code, maybe it reappeared due to some incorrect git conflict resolution...

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Thanks!

Pandoriaantje commented 8 months ago

maybe this could be fixed with proper quoting? I'm not a python wiz, but chatGPT suggested this change to me: subprocess.run(f'"{self.EXECUTABLE}" update self', shell=True, stdout=subprocess.PIPE)

marticliment commented 8 months ago

No, the issue here is far more basic: this code shouldn't be here, since PowerShell gallery does not support manually updating package indexes. However, it looks as if the previously deleted code reappeared, possibly the cause of a poorly done git conflict resolution. (this then is my fault) And therefore this command call is running "powershell.exe -Command update self", calling "update.exe" (a file that shouldn't be on the path but it is for whatever the reason) with "self" as a parameter, which the executable ignores.

Pandoriaantje commented 8 months ago

Its indeed weird and unethical on IDM's part. I have UltraCompare, UltraEdit and UltraFinder installed. only Ultrafinder comes with update.exe, yet the updater also finds updates for their other product, but is not supplied in any other product's parent folder. But hey, at least you got a bug/code oversight spotted out of their malpractice. for now i'll just rename the update.exe, I don't use it anyway. Not sure if the path variable is also used for other purposes in the IDM products, so i'll keep that as is.

parlevjo2 commented 8 months ago

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe And do a refresh in WingetUI and Fresh start of WingetUI. Also investigate why this update.exe is started 3 respectively 4 times

Pandoriaantje commented 8 months ago

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe And do a refresh in WingetUI and Fresh start of WingetUI. Also investigate why this update.exe is started 3 respectively 4 times

I believe the culprit has already been investigated, and found, just not fixed yet...

The only call to "update(.exe)" (a.f.a.i.c.t.) is in: def updateSources(self, signal: Signal = None) -> None: subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE) if signal: signal.emit()

anything in the (commandline) path that is named update(.exe) would be called. This could actually be a security risk... any virus/trojan that nests itself in the PATH variable as 'update' would get executed. just pointing out the worst case scenario..

EDIT I had some spare time to look into the code (again i'm no python wizzard), and it seems like all 'managers' share a same template (or this is how I interpret it), and powershell.py controls powershell. As @marticliment mentioned the "def updateSources()" code shouldn't be there in the first place. This wil spawn "poweshell.exe update self", so it wil execute "update(.exe) self", if "update" is in the path. not sure why "poweshell.exe update self" would be called, so i guess that is a leftover from reusing the template? to fix it, (like other manager templates implement), i changed the following in wingetui\PackageEngine\Managers\powershell.py":

def updateSources(self, signal: Signal = None) -> None: pass # Handled by the package manager, no need to manually reload if signal: signal.emit()

These are my personal assumptions, and do not claim it to be true/or correct in any way.

marticliment commented 8 months ago

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe And do a refresh in WingetUI and Fresh start of WingetUI. Also investigate why this update.exe is started 3 respectively 4 times

I believe the culprit has already been investigated, and found, just not fixed yet...

The only call to "update(.exe)" (a.f.a.i.c.t.) is in: def updateSources(self, signal: Signal = None) -> None: subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE) if signal: signal.emit()

anything in the (commandline) path that is named update(.exe) would be called. This could actually be a security risk... any virus/trojan that nests itself in the PATH variable as 'update' would get executed. just pointing out the worst case scenario..

EDIT I had some spare time to look into the code (again i'm no python wizzard), and it seems like all 'managers' share a same template (or this is how I interpret it), and powershell.py controls powershell. As @marticliment mentioned the "def updateSources()" code shouldn't be there in the first place. This wil spawn "poweshell.exe update self", so it wil execute "update(.exe) self", if "update" is in the path. not sure why "poweshell.exe update self" would be called, so i guess that is a leftover from reusing the template? to fix it, (like other manager templates implement), i changed the following in wingetui\PackageEngine\Managers\powershell.py":

def updateSources(self, signal: Signal = None) -> None: pass # Handled by the package manager, no need to manually reload if signal: signal.emit()

These are my personal assumptions, and do not claim it to be true/or correct in any way.

Yes, you are right.

When fixing conflicts when merging the PowerShell-testing branch I messed up this, and I did not realize this. This will be fixed on the next release