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
13.22k stars 455 forks source link

[ENHANCEMENT] PyInstaller 5.10+ and Python 3.12 support #1446

Closed SierraKomodo closed 11 months ago

SierraKomodo commented 1 year ago

Please confirm these before moving forward

Describe your crash

Running the build.bat file provided in the repository generates a winget.exe file that crashes when starting:

wingetui_nW8QcKkXQn

wingetui_Oh5ZEPLbj6

Logs (if possible)

Logs from the `build.bat` execution:

cmd.exe /c G:/Projects/WingetUI/build.bat

G:\Projects\WingetUI>set "py=G:\Projects\WingetUI\env\Scripts\python.exe" 

G:\Projects\WingetUI>IF EXIST G:\Projects\WingetUI\env\Scripts\python.exe (echo "Using VENV Python" )  ELSE (
set "py=python"  
 echo "Using system Python" 
) 
"Using system Python"
Requirement already satisfied: PySide6>=6.5.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 1)) (6.5.2)
Requirement already satisfied: win32mica>=3.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 2)) (3.0)
Requirement already satisfied: PyInstaller==5.9.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 3)) (5.9.0)
Requirement already satisfied: pywin32>=306 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 4)) (306)
Requirement already satisfied: Flask>=2.3.3 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 5)) (3.0.0)
Requirement already satisfied: flask-cors>=4.0.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 6)) (4.0.0)
Requirement already satisfied: windows_toasts>=1.0.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 7)) (1.0.1)
Requirement already satisfied: pythonnet>=3.0.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 8)) (3.0.2)
Requirement already satisfied: setuptools>=42.0.0 in c:\users\sierr\appdata\roaming\python\python311\site-packages (from PyInstaller==5.9.0->-r requirements.txt (line 3)) (68.2.2)
Requirement already satisfied: altgraph in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PyInstaller==5.9.0->-r requirements.txt (line 3)) (0.17.4)
Requirement already satisfied: pyinstaller-hooks-contrib>=2021.4 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PyInstaller==5.9.0->-r requirements.txt (line 3)) (2023.9)
Requirement already satisfied: pefile>=2022.5.30 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PyInstaller==5.9.0->-r requirements.txt (line 3)) (2023.2.7)
Requirement already satisfied: pywin32-ctypes>=0.2.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PyInstaller==5.9.0->-r requirements.txt (line 3)) (0.2.2)
Requirement already satisfied: shiboken6==6.5.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PySide6>=6.5.2->-r requirements.txt (line 1)) (6.5.2)
Requirement already satisfied: PySide6-Essentials==6.5.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PySide6>=6.5.2->-r requirements.txt (line 1)) (6.5.2)
Requirement already satisfied: PySide6-Addons==6.5.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from PySide6>=6.5.2->-r requirements.txt (line 1)) (6.5.2)
Requirement already satisfied: Werkzeug>=3.0.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Flask>=2.3.3->-r requirements.txt (line 5)) (3.0.0)
Requirement already satisfied: Jinja2>=3.1.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Flask>=2.3.3->-r requirements.txt (line 5)) (3.1.2)
Requirement already satisfied: itsdangerous>=2.1.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Flask>=2.3.3->-r requirements.txt (line 5)) (2.1.2)
Requirement already satisfied: click>=8.1.3 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Flask>=2.3.3->-r requirements.txt (line 5)) (8.1.7)
Requirement already satisfied: blinker>=1.6.2 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Flask>=2.3.3->-r requirements.txt (line 5)) (1.6.2)
Requirement already satisfied: toasts-winrt==1.0.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from windows_toasts>=1.0.0->-r requirements.txt (line 7)) (1.0.0)
Requirement already satisfied: clr-loader<0.3.0,>=0.2.6 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from pythonnet>=3.0.2->-r requirements.txt (line 8)) (0.2.6)
Requirement already satisfied: colorama in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from click>=8.1.3->Flask>=2.3.3->-r requirements.txt (line 5)) (0.4.6)
Requirement already satisfied: cffi>=1.13 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from clr-loader<0.3.0,>=0.2.6->pythonnet>=3.0.2->-r requirements.txt (line 8)) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from Jinja2>=3.1.2->Flask>=2.3.3->-r requirements.txt (line 5)) (2.1.3)
Requirement already satisfied: pycparser in c:\users\sierr\appdata\local\programs\python\python311\lib\site-packages (from cffi>=1.13->clr-loader<0.3.0,>=0.2.6->pythonnet>=3.0.2->-r requirements.txt (line 8)) (2.21)
done!
Getting contributors...
done!
wingetui\apiBackend.py
wingetui\globals.py
wingetui\tools.py
wingetui\welcome.py
wingetui\Win.spec
wingetui\__init__.py
wingetui\choco-cli\choco.exe
wingetui\choco-cli\choco.exe.ignore
wingetui\choco-cli\choco.exe.manifest
wingetui\choco-cli\CREDITS.txt
wingetui\choco-cli\LICENSE.txt
wingetui\choco-cli\bin\choco.exe
wingetui\choco-cli\bin\cinst.exe
wingetui\choco-cli\bin\clist.exe
wingetui\choco-cli\bin\cpush.exe
wingetui\choco-cli\bin\cuninst.exe
wingetui\choco-cli\bin\cup.exe
wingetui\choco-cli\bin\RefreshEnv.cmd
wingetui\choco-cli\bin\_processed.txt
wingetui\choco-cli\config\chocolatey.config
wingetui\choco-cli\config\chocolatey.config.backup
wingetui\choco-cli\helpers\chocolateyInstaller.psm1
wingetui\choco-cli\helpers\chocolateyProfile.psm1
wingetui\choco-cli\helpers\chocolateyScriptRunner.ps1
wingetui\choco-cli\helpers\ChocolateyTabExpansion.ps1
wingetui\choco-cli\helpers\functions\Format-FileSize.ps1
wingetui\choco-cli\helpers\functions\Get-CheckSumValid.ps1
wingetui\choco-cli\helpers\functions\Get-ChocolateyConfigValue.ps1
wingetui\choco-cli\helpers\functions\Get-ChocolateyPath.ps1
wingetui\choco-cli\helpers\functions\Get-ChocolateyUnzip.ps1
wingetui\choco-cli\helpers\functions\Get-ChocolateyWebFile.ps1
wingetui\choco-cli\helpers\functions\Get-EnvironmentVariable.ps1
wingetui\choco-cli\helpers\functions\Get-EnvironmentVariableNames.ps1
wingetui\choco-cli\helpers\functions\Get-FtpFile.ps1
wingetui\choco-cli\helpers\functions\Get-OSArchitectureWidth.ps1
wingetui\choco-cli\helpers\functions\Get-PackageParameters.ps1
wingetui\choco-cli\helpers\functions\Get-ToolsLocation.ps1
wingetui\choco-cli\helpers\functions\Get-UACEnabled.ps1
wingetui\choco-cli\helpers\functions\Get-UninstallRegistryKey.ps1
wingetui\choco-cli\helpers\functions\Get-VirusCheckValid.ps1
wingetui\choco-cli\helpers\functions\Get-WebFile.ps1
wingetui\choco-cli\helpers\functions\Get-WebFileName.ps1
wingetui\choco-cli\helpers\functions\Get-WebHeaders.ps1
wingetui\choco-cli\helpers\functions\Install-BinFile.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyEnvironmentVariable.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyExplorerMenuItem.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyFileAssociation.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyInstallPackage.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyPackage.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyPath.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyPowershellCommand.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyShortcut.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyVsixPackage.ps1
wingetui\choco-cli\helpers\functions\Install-ChocolateyZipPackage.ps1
wingetui\choco-cli\helpers\functions\Install-Vsix.ps1
wingetui\choco-cli\helpers\functions\Set-EnvironmentVariable.ps1
wingetui\choco-cli\helpers\functions\Set-PowerShellExitCode.ps1
wingetui\choco-cli\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1
wingetui\choco-cli\helpers\functions\Test-ProcessAdminRights.ps1
wingetui\choco-cli\helpers\functions\Uninstall-BinFile.ps1
wingetui\choco-cli\helpers\functions\Uninstall-ChocolateyEnvironmentVariable.ps1
wingetui\choco-cli\helpers\functions\Uninstall-ChocolateyPackage.ps1
wingetui\choco-cli\helpers\functions\UnInstall-ChocolateyZipPackage.ps1
wingetui\choco-cli\helpers\functions\Update-SessionEnvironment.ps1
wingetui\choco-cli\helpers\functions\Write-FunctionCallLogMessage.ps1
wingetui\choco-cli\redirects\choco.exe
wingetui\choco-cli\redirects\choco.exe.ignore
wingetui\choco-cli\redirects\RefreshEnv.cmd
wingetui\choco-cli\tools\7z.dll
wingetui\choco-cli\tools\7z.dll.manifest
wingetui\choco-cli\tools\7z.exe
wingetui\choco-cli\tools\7z.exe.ignore
wingetui\choco-cli\tools\7z.exe.manifest
wingetui\choco-cli\tools\7zip.license.txt
wingetui\choco-cli\tools\checksum.exe
wingetui\choco-cli\tools\checksum.exe.config
wingetui\choco-cli\tools\checksum.exe.ignore
wingetui\choco-cli\tools\checksum.license.txt
wingetui\choco-cli\tools\shimgen.exe
wingetui\choco-cli\tools\shimgen.exe.ignore
wingetui\choco-cli\tools\shimgen.license.txt
wingetui\components\gsudo.exe
wingetui\components\ShareLibrary.dll
wingetui\data\contributors.py
wingetui\data\licenses.py
wingetui\data\translations.py
wingetui\data\versions.py
wingetui\data\__pycache__\versions.cpython-311.pyc
wingetui\ExternalLibraries\BlurWindow.py
wingetui\Interface\GenericSections.py
wingetui\Interface\MainWindow.py
wingetui\Interface\SoftwareSections.py
wingetui\Interface\CustomWidgets\GenericWidgets.py
wingetui\Interface\CustomWidgets\InstallerWidgets.py
wingetui\Interface\CustomWidgets\SectionWidgets.py
wingetui\Interface\CustomWidgets\SpecificWidgets.py
wingetui\lang\languages.py
wingetui\lang\lang_ar.json
wingetui\lang\lang_bg.json
wingetui\lang\lang_bn.json
wingetui\lang\lang_ca.json
wingetui\lang\lang_cs.json
wingetui\lang\lang_da.json
wingetui\lang\lang_de.json
wingetui\lang\lang_el.json
wingetui\lang\lang_en.json
wingetui\lang\lang_es.json
wingetui\lang\lang_fa.json
wingetui\lang\lang_fr.json
wingetui\lang\lang_he.json
wingetui\lang\lang_hi.json
wingetui\lang\lang_hr.json
wingetui\lang\lang_hu.json
wingetui\lang\lang_id.json
wingetui\lang\lang_it.json
wingetui\lang\lang_ja.json
wingetui\lang\lang_ko.json
wingetui\lang\lang_nb.json
wingetui\lang\lang_nl.json
wingetui\lang\lang_pl.json
wingetui\lang\lang_pt_BR.json
wingetui\lang\lang_pt_PT.json
wingetui\lang\lang_ru.json
wingetui\lang\lang_si.json
wingetui\lang\lang_sl.json
wingetui\lang\lang_sr.json
wingetui\lang\lang_tg.json
wingetui\lang\lang_th.json
wingetui\lang\lang_tools.py
wingetui\lang\lang_tr.json
wingetui\lang\lang_ua.json
wingetui\lang\lang_vi.json
wingetui\lang\lang_zh_CN.json
wingetui\lang\lang_zh_TW.json
wingetui\PackageManagers\choco.py
wingetui\PackageManagers\dotnet.py
wingetui\PackageManagers\npm.py
wingetui\PackageManagers\PackageClasses.py
wingetui\PackageManagers\pip.py
wingetui\PackageManagers\sampleHelper.py
wingetui\PackageManagers\scoop.py
wingetui\PackageManagers\winget.py
wingetui\PackageManagers\winget-cli_arm64\AppInstallerBackgroundTasks.dll
wingetui\PackageManagers\winget-cli_arm64\concrt140_app.dll
wingetui\PackageManagers\winget-cli_arm64\msvcp140_1_app.dll
wingetui\PackageManagers\winget-cli_arm64\msvcp140_2_app.dll
wingetui\PackageManagers\winget-cli_arm64\msvcp140_app.dll
wingetui\PackageManagers\winget-cli_arm64\resources.pri
wingetui\PackageManagers\winget-cli_arm64\vcamp140_app.dll
wingetui\PackageManagers\winget-cli_arm64\vccorlib140_app.dll
wingetui\PackageManagers\winget-cli_arm64\vcomp140_app.dll
wingetui\PackageManagers\winget-cli_arm64\vcruntime140_app.dll
wingetui\PackageManagers\winget-cli_arm64\WindowsPackageManager.dll
wingetui\PackageManagers\winget-cli_arm64\WindowsPackageManagerServer.exe
wingetui\PackageManagers\winget-cli_arm64\winget.exe
wingetui\PackageManagers\winget-cli_x64\AppInstallerBackgroundTasks.dll
wingetui\PackageManagers\winget-cli_x64\concrt140_app.dll
wingetui\PackageManagers\winget-cli_x64\msvcp140_1_app.dll
wingetui\PackageManagers\winget-cli_x64\msvcp140_2_app.dll
wingetui\PackageManagers\winget-cli_x64\msvcp140_app.dll
wingetui\PackageManagers\winget-cli_x64\resources.pri
wingetui\PackageManagers\winget-cli_x64\vcamp140_app.dll
wingetui\PackageManagers\winget-cli_x64\vccorlib140_app.dll
wingetui\PackageManagers\winget-cli_x64\vcomp140_app.dll
wingetui\PackageManagers\winget-cli_x64\vcruntime140_1_app.dll
wingetui\PackageManagers\winget-cli_x64\vcruntime140_app.dll
wingetui\PackageManagers\winget-cli_x64\WindowsPackageManager.dll
wingetui\PackageManagers\winget-cli_x64\WindowsPackageManagerServer.exe
wingetui\PackageManagers\winget-cli_x64\winget.exe
wingetui\resources\admin_color.png
wingetui\resources\agreement.png
wingetui\resources\alert_laptop.png
wingetui\resources\android_black.png
wingetui\resources\android_white.png
wingetui\resources\blacklist_black.png
wingetui\resources\blacklist_white.png
wingetui\resources\bucket_black.png
wingetui\resources\bucket_white.png
wingetui\resources\buggy_black.png
wingetui\resources\buggy_white.png
wingetui\resources\cancel.png
wingetui\resources\checked_laptop.png
wingetui\resources\checksum_black.png
wingetui\resources\checksum_white.png
wingetui\resources\choco_black.png
wingetui\resources\choco_color.png
wingetui\resources\choco_white.png
wingetui\resources\close_black.png
wingetui\resources\close_white.png
wingetui\resources\coffee.png
wingetui\resources\collapse_black.png
wingetui\resources\collapse_white.png
wingetui\resources\console_black.png
wingetui\resources\console_color.png
wingetui\resources\console_white.png
wingetui\resources\copy_black.png
wingetui\resources\copy_white.png
wingetui\resources\desktop_download.png
wingetui\resources\dotnet_black.png
wingetui\resources\dotnet_color.png
wingetui\resources\dotnet_white.png
wingetui\resources\drop-down_black.png
wingetui\resources\drop-down_white.png
wingetui\resources\edit_filters_black.png
wingetui\resources\edit_filters_masked_black.png
wingetui\resources\edit_filters_masked_white.png
wingetui\resources\edit_filters_white.png
wingetui\resources\empty.png
wingetui\resources\expand_black.png
wingetui\resources\expand_white.png
wingetui\resources\export_black.png
wingetui\resources\export_white.png
wingetui\resources\finish.png
wingetui\resources\github.png
wingetui\resources\gog_black.png
wingetui\resources\gog_white.png
wingetui\resources\gotop_black.png
wingetui\resources\gotop_white.png
wingetui\resources\greenicon.png
wingetui\resources\greyicon.png
wingetui\resources\hacker.png
wingetui\resources\hamburger_black.png
wingetui\resources\hamburger_white.png
wingetui\resources\help_black.png
wingetui\resources\help_white.png
wingetui\resources\icon.bmp
wingetui\resources\icon.ico
wingetui\resources\icon.png
wingetui\resources\ID_black.png
wingetui\resources\ID_white.png
wingetui\resources\import_black.png
wingetui\resources\import_white.png
wingetui\resources\infocolor.png
wingetui\resources\info_black.png
wingetui\resources\info_white.png
wingetui\resources\installall_black.png
wingetui\resources\installall_white.png
wingetui\resources\installed_masked_black.png
wingetui\resources\installed_masked_white.png
wingetui\resources\install_black.png
wingetui\resources\install_scoop.cmd
wingetui\resources\install_scoop.ps1
wingetui\resources\install_white.png
wingetui\resources\interactive_black.png
wingetui\resources\interactive_white.png
wingetui\resources\kofi.png
wingetui\resources\launch_black.png
wingetui\resources\launch_white.png
wingetui\resources\left_black.png
wingetui\resources\left_white.png
wingetui\resources\list_black.png
wingetui\resources\list_white.png
wingetui\resources\localpc_black.png
wingetui\resources\localpc_white.png
wingetui\resources\menu_close_black.png
wingetui\resources\menu_close_white.png
wingetui\resources\menu_installall_black.png
wingetui\resources\menu_installall_white.png
wingetui\resources\menu_show_black.png
wingetui\resources\menu_show_white.png
wingetui\resources\menu_uninstall_black.png
wingetui\resources\menu_uninstall_white.png
wingetui\resources\menu_updates_black.png
wingetui\resources\menu_updates_white.png
wingetui\resources\msstore_black.png
wingetui\resources\msstore_white.png
wingetui\resources\newversion_black.png
wingetui\resources\newversion_white.png
wingetui\resources\next_black.png
wingetui\resources\next_white.png
wingetui\resources\node_black.png
wingetui\resources\node_color.png
wingetui\resources\node_white.png
wingetui\resources\notif_error.png
wingetui\resources\notif_info.png
wingetui\resources\notif_restart.png
wingetui\resources\notif_warn.png
wingetui\resources\options_black.png
wingetui\resources\options_white.png
wingetui\resources\package_masked_black.png
wingetui\resources\package_masked_white.png
wingetui\resources\performinstall_black.png
wingetui\resources\performinstall_white.png
wingetui\resources\pin_black.png
wingetui\resources\pin_color.png
wingetui\resources\pin_masked_black.png
wingetui\resources\pin_masked_white.png
wingetui\resources\pin_white.png
wingetui\resources\pip_color.png
wingetui\resources\placeholder_image_black.png
wingetui\resources\placeholder_image_white.png
wingetui\resources\previous_black.png
wingetui\resources\previous_white.png
wingetui\resources\provider_black.png
wingetui\resources\provider_white.png
wingetui\resources\python_black.png
wingetui\resources\python_white.png
wingetui\resources\question_black.png
wingetui\resources\question_white.png
wingetui\resources\redicon.png
wingetui\resources\red_arrow.png
wingetui\resources\reload_black.png
wingetui\resources\reload_white.png
wingetui\resources\reset_winget_sources.cmd
wingetui\resources\restart_color.png
wingetui\resources\right_black.png
wingetui\resources\right_white.png
wingetui\resources\rocket.png
wingetui\resources\runasadmin_black.png
wingetui\resources\runasadmin_white.png
wingetui\resources\save.png
wingetui\resources\scoop_black.png
wingetui\resources\scoop_cleanup.cmd
wingetui\resources\scoop_color.png
wingetui\resources\scoop_white.png
wingetui\resources\search_black.png
wingetui\resources\search_white.png
wingetui\resources\selectall_black.png
wingetui\resources\selectall_white.png
wingetui\resources\selectnone_black.png
wingetui\resources\selectnone_white.png
wingetui\resources\settings_black.png
wingetui\resources\settings_gear.png
wingetui\resources\settings_white.png
wingetui\resources\share_black.png
wingetui\resources\share_white.png
wingetui\resources\shield_green.png
wingetui\resources\shield_question.png
wingetui\resources\shield_red.png
wingetui\resources\shield_reload.png
wingetui\resources\shield_yellow.png
wingetui\resources\simple_user.png
wingetui\resources\skip_black.png
wingetui\resources\skip_white.png
wingetui\resources\steam_black.png
wingetui\resources\steam_white.png
wingetui\resources\systemtray_black.png
wingetui\resources\systemtray_white.png
wingetui\resources\testing_black.png
wingetui\resources\testing_white.png
wingetui\resources\tick.png
wingetui\resources\tick_black.png
wingetui\resources\tick_white.png
wingetui\resources\tray_blue_black.png
wingetui\resources\tray_blue_white.png
wingetui\resources\tray_empty_black.png
wingetui\resources\tray_empty_white.png
wingetui\resources\tray_green_black.png
wingetui\resources\tray_green_white.png
wingetui\resources\tray_orange_black.png
wingetui\resources\tray_orange_white.png
wingetui\resources\tray_turquoise_black.png
wingetui\resources\tray_turquoise_white.png
wingetui\resources\trolley_black.png
wingetui\resources\trolley_white.png
wingetui\resources\undelete_black.png
wingetui\resources\undelete_white.png
wingetui\resources\uninstall_scoop.cmd
wingetui\resources\update_masked_black.png
wingetui\resources\update_masked_white.png
wingetui\resources\update_pc_color.png
wingetui\resources\uplay_black.png
wingetui\resources\uplay_white.png
wingetui\resources\version_black.png
wingetui\resources\version_white.png
wingetui\resources\warn.png
wingetui\resources\wingetui_line_black.png
wingetui\resources\wingetui_line_white.png
wingetui\resources\winget_black.png
wingetui\resources\winget_color.png
wingetui\resources\winget_white.png
wingetui\resources\workstation.png
wingetui\resources\yellowicon.png
wingetui\resources\youtube.png
375 File(s) copied
Listing '.'...
Listing '.\\ExternalLibraries'...
Compiling '.\\ExternalLibraries\\BlurWindow.py'...
Listing '.\\Interface'...
Listing '.\\Interface\\CustomWidgets'...
Compiling '.\\Interface\\CustomWidgets\\GenericWidgets.py'...
Compiling '.\\Interface\\CustomWidgets\\InstallerWidgets.py'...
Compiling '.\\Interface\\CustomWidgets\\SectionWidgets.py'...
Compiling '.\\Interface\\CustomWidgets\\SpecificWidgets.py'...
Compiling '.\\Interface\\GenericSections.py'...
Compiling '.\\Interface\\MainWindow.py'...
Compiling '.\\Interface\\SoftwareSections.py'...
Listing '.\\PackageManagers'...
Compiling '.\\PackageManagers\\PackageClasses.py'...
Compiling '.\\PackageManagers\\choco.py'...
Compiling '.\\PackageManagers\\dotnet.py'...
Compiling '.\\PackageManagers\\npm.py'...
Compiling '.\\PackageManagers\\pip.py'...
Compiling '.\\PackageManagers\\sampleHelper.py'...
Compiling '.\\PackageManagers\\scoop.py'...
Listing '.\\PackageManagers\\winget-cli_arm64'...
Listing '.\\PackageManagers\\winget-cli_x64'...
Compiling '.\\PackageManagers\\winget.py'...
Compiling '.\\__init__.py'...
Compiling '.\\apiBackend.py'...
Listing '.\\choco-cli'...
Listing '.\\choco-cli\\bin'...
Listing '.\\choco-cli\\config'...
Listing '.\\choco-cli\\helpers'...
Listing '.\\choco-cli\\helpers\\functions'...
Listing '.\\choco-cli\\redirects'...
Listing '.\\choco-cli\\tools'...
Listing '.\\components'...
Listing '.\\data'...
Compiling '.\\data\\contributors.py'...
Compiling '.\\data\\licenses.py'...
Compiling '.\\data\\translations.py'...
Compiling '.\\data\\versions.py'...
Compiling '.\\globals.py'...
Listing '.\\lang'...
Compiling '.\\lang\\lang_tools.py'...
Compiling '.\\lang\\languages.py'...
Listing '.\\resources'...
Compiling '.\\tools.py'...
Compiling '.\\welcome.py'...
Deleted file - G:\Projects\WingetUI\wingetui_bin\apiBackend.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\globals.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\tools.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\welcome.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\__init__.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\data\contributors.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\data\licenses.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\data\translations.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\data\versions.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\ExternalLibraries\BlurWindow.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\GenericSections.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\MainWindow.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\SoftwareSections.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\CustomWidgets\GenericWidgets.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\CustomWidgets\InstallerWidgets.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\CustomWidgets\SectionWidgets.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\Interface\CustomWidgets\SpecificWidgets.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\lang\languages.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\lang\lang_tools.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\choco.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\dotnet.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\npm.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\PackageClasses.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\pip.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\sampleHelper.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\scoop.py
Deleted file - G:\Projects\WingetUI\wingetui_bin\PackageManagers\winget.py
        1 file(s) copied.
The system cannot find the file specified.
The system cannot find the path specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Press any key to continue . . . 

Elapsed 0.006999492645263672 seconds
  Text modified
964 INFO: PyInstaller: 5.9.0
964 INFO: Python: 3.11.6
978 INFO: Platform: Windows-10-10.0.19045-SP0
983 INFO: UPX is not available.
985 INFO: Extending PYTHONPATH with paths
['G:\\Projects\\WingetUI', 'Y:\\WingetUI-Store\\wingetui_bin']
1366 INFO: checking Analysis
1366 INFO: Building Analysis because Analysis-00.toc is non existent
1366 INFO: Initializing module dependency graph...
1369 INFO: Caching module graph hooks...
1388 INFO: Analyzing base_library.zip ...
3009 INFO: Loading module hook 'hook-encodings.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
4531 INFO: Loading module hook 'hook-pickle.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
5424 INFO: Loading module hook 'hook-heapq.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
5934 INFO: Caching module dependency graph...
6029 INFO: running Analysis Analysis-00.toc
6039 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by C:\Users\sierr\AppData\Local\Programs\Python\Python311\python.exe
6196 INFO: Analyzing G:\Projects\WingetUI\wingetui_bin\__init__.py
6266 INFO: Loading module hook 'hook-PySide6.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
7117 INFO: Loading module hook 'hook-platform.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
7237 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
7523 INFO: Loading module hook 'hook-difflib.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
7858 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
7937 INFO: Loading module hook 'hook-xml.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
8568 INFO: Loading module hook 'hook-jinja2.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
9079 INFO: Loading module hook 'hook-clr.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
9110 INFO: Loading module hook 'hook-clr_loader.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
9219 INFO: Loading module hook 'hook-pycparser.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
9530 INFO: Loading module hook 'hook-setuptools.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
10809 INFO: Processing pre-find module path hook distutils from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
11022 INFO: Loading module hook 'hook-distutils.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
11064 INFO: Loading module hook 'hook-distutils.util.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
11729 INFO: Loading module hook 'hook-pkg_resources.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
12623 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
13114 INFO: Analyzing hidden import 'pkg_resources.py2_warn'
13114 ERROR: Hidden import 'pkg_resources.py2_warn' not found
13114 INFO: Analyzing hidden import 'cls'
13114 ERROR: Hidden import 'cls' not found
13115 INFO: Processing module hooks...
13423 INFO: Loading module hook 'hook-PySide6.QtCore.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
13559 INFO: Loading module hook 'hook-PySide6.QtGui.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
13694 INFO: Loading module hook 'hook-PySide6.QtNetwork.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
13964 INFO: Loading module hook 'hook-PySide6.QtWidgets.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
14108 INFO: Loading module hook 'hook-setuptools.msvc.py' from 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks'...
14752 INFO: Looking for ctypes DLLs
14891 INFO: Analyzing run-time hooks ...
14895 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
14896 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
14898 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
14900 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py'
14901 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgres.py'
14904 INFO: Including run-time hook 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pyside6.py'
14912 INFO: Looking for dynamic libraries
701 INFO: Extra DLL search directories (AddDllDirectory): ['C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\shiboken6']
701 INFO: Extra DLL search directories (PATH): ['C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\PySide6', 'C:\\Program Files\\Common Files\\Oracle\\Java\\javapath', 'C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath', 'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\System32\\Wbem', 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\', 'C:\\Windows\\System32\\OpenSSH\\', 'C:\\Program Files (x86)\\gnupg\\bin', 'C:\\Non-UAC Program Files\\php\\php8.2', 'C:\\Non-UAC Program Files\\php\\php8.1', 'C:\\Non-UAC Program Files\\php\\php8.0', 'C:\\Non-UAC Program Files\\php\\php7.4', 'C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR', 'C:\\Users\\sierr\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\\ffmpeg-5.1.2-full_build\\bin', 'C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\', 'C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\', 'C:\\Non-UAC Program Files\\php\\pear', 'C:\\Non-UAC Program Files\\Kind', 'C:\\Program Files\\dotnet\\', 'C:\\ProgramData\\ComposerSetup\\bin', 'C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin', 'C:\\Program Files\\Perforce\\', 'C:\\Program Files\\nodejs\\', 'C:\\ProgramData\\chocolatey\\bin', 'G:\\Program Files\\CMake\\bin', 'G:\\Program Files\\Git\\cmd', 'G:\\Program Files\\yt-dlp', 'C:\\Program Files\\Docker\\Docker\\resources\\bin', 'C:\\Program Files\\PuTTY\\', 'G:\\Program Files\\GitHub CLI\\', 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\', 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python311\\', 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\', 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Python\\Python312\\', 'C:\\Program Files\\MySQL\\MySQL Shell 8.1\\bin\\', 'C:\\Users\\sierr\\AppData\\Local\\Microsoft\\WindowsApps', 'C:\\Users\\sierr\\AppData\\Local\\JetBrains\\Toolbox\\scripts', 'C:\\Users\\sierr\\AppData\\Local\\Programs\\Microsoft VS Code\\bin', 'C:\\Users\\sierr\\AppData\\Roaming\\Composer\\vendor\\bin', 'C:\\Users\\sierr\\.dotnet\\tools', 'C:\\Non-UAC Program Files\\GZDoom', 'C:\\Non-UAC Program Files\\Zandronum', 'C:\\Users\\sierr\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe', 'C:\\Non-UAC Program Files\\HEMTT', 'C:\\Users\\sierr\\AppData\\Roaming\\npm', 'C:\\Users\\sierr\\.dotnet\\tools', 'C:\\Users\\sierr\\AppData\\Local\\Microsoft\\WinGet\\Packages\\nektos.act_Microsoft.Winget.Source_8wekyb3d8bbwe']
863 WARNING: lib not found: api-ms-win-shcore-scaling-l1-1-1.dll dependency of C:\Users\sierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\PySide6\plugins\platforms\qwindows.dll
929 WARNING: lib not found: api-ms-win-shcore-scaling-l1-1-1.dll dependency of C:\Users\sierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\PySide6\plugins\platforms\qdirect2d.dll
16384 INFO: Looking for eggs
16384 INFO: Using Python library C:\Users\sierr\AppData\Local\Programs\Python\Python311\python311.dll
16384 INFO: Found binding redirects: 
[]
16389 INFO: Warnings written to G:\Projects\WingetUI\wingetui_bin\build\Win\warn-Win.txt
16446 INFO: Graph cross-reference written to G:\Projects\WingetUI\wingetui_bin\build\Win\xref-Win.html
16461 INFO: Appending 'binaries' from .spec
16461 INFO: Appending 'datas' from .spec
16484 INFO: checking PYZ
16484 INFO: Building PYZ because PYZ-00.toc is non existent
16484 INFO: Building PYZ (ZlibArchive) G:\Projects\WingetUI\wingetui_bin\build\Win\PYZ-00.pyz
17406 INFO: Building PYZ (ZlibArchive) G:\Projects\WingetUI\wingetui_bin\build\Win\PYZ-00.pyz completed successfully.
17419 INFO: checking PKG
17419 INFO: Building PKG because PKG-00.toc is non existent
17419 INFO: Building PKG (CArchive) wingetui.pkg
17451 INFO: Building PKG (CArchive) wingetui.pkg completed successfully.
17451 INFO: Bootloader C:\Users\sierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\runw.exe
17451 INFO: checking EXE
17451 INFO: Building EXE because EXE-00.toc is non existent
17451 INFO: Building EXE from EXE-00.toc
17452 INFO: Copying bootloader EXE to G:\Projects\WingetUI\wingetui_bin\build\Win\wingetui.exe.notanexecutable
17453 INFO: Copying icon to EXE
17454 INFO: Copying icons from ['G:\\Projects\\WingetUI\\wingetui_bin\\resources/icon.ico']
17454 INFO: Writing RT_GROUP_ICON 0 resource with 20 bytes
17454 INFO: Writing RT_ICON 1 resource with 16922 bytes
17456 INFO: Copying version information to EXE
17458 INFO: Copying 0 resources to EXE
17458 INFO: Embedding manifest in EXE
17459 INFO: Updating manifest in G:\Projects\WingetUI\wingetui_bin\build\Win\wingetui.exe.notanexecutable
17459 INFO: Updating resource type 24 name 1 language 0
17460 INFO: Appending PKG archive to EXE
17463 INFO: Fixing EXE headers
17520 INFO: Building EXE from EXE-00.toc completed successfully.
17522 INFO: checking COLLECT
17522 INFO: Building COLLECT because COLLECT-00.toc is non existent
17522 INFO: Building COLLECT COLLECT-00.toc
18292 INFO: Building COLLECT COLLECT-00.toc completed successfully.
ERROR: Input redirection is not supported, exiting the process immediately.
Could Not Find G:\Projects\WingetUI\wingetui_bin\dist\wingetuiBin\PySide6\Qt6DataVisualization.dll
Could Not Find G:\Projects\WingetUI\wingetui_bin\dist\wingetuiBin\PySide6\QtDataVisualization.pyd
Could Not Find G:\Projects\WingetUI\wingetui_bin\dist\wingetuiBin\PySide6\QtOpenGL.pyd
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
        1 dir(s) moved.
You may now sign the executable file
Press any key to continue . . . 

"Make installer was skipped, because the installer is missing."
"Running WingetUI..."
Press any key to continue . . . 

Process finished with exit code 0

More details

This is an attempt to build off https://github.com/marticliment/WingetUI/commit/b9228b7b03b131ad295e0a494db48e2f1a807b3e

SierraKomodo commented 1 year ago

I'm going to guess, looking over the logs, that it has to do with the PySide6 files not being found.

As a side note this is my first time working specifically with Python (My experience is primarily with PHP and, funnily enough, this came from a project to add Composer as a package manager to WingetUI).

ppvnf commented 1 year ago

see https://github.com/marticliment/WingetUI/issues/1234#issuecomment-1704407002

marticliment commented 1 year ago

Please downgrade python to 3.11.3, I will try to fix this as soon as I can

ppvnf commented 1 year ago

python 3.12 has been release by the way

marticliment commented 1 year ago

For the moment the script crashes (Windows fatal exception: access violation) with Python 3.12, I will need to port WingetUI to Py3.12

SierraKomodo commented 1 year ago

Got it working with 3.11.3 - Thanks. Back to working on Composer support now.

marticliment commented 1 year ago

Hi @SierraKomodo,

If you (without compromise) want to PR your changes so everyone can use your mod, please feel free to do so!

SierraKomodo commented 1 year ago

Hi @SierraKomodo,

If you (without compromise) want to PR your changes so everyone can use your mod, please feel free to do so!

That was the plan once it was done. I might open a draft PR early for some assistance/guidance since this is technically the first python project I've worked on lol.

marticliment commented 1 year ago

Yes, and reach me if you have any doubts!

marticliment commented 11 months ago

WingetUI runs now on Python 3.12 and PyInstaller 6.2.0`!