Skip to content

[BUG/ISSUE] (Setup was unable to create the directory; Error 5) #1125

Closed
@SuperFurias

Description

@SuperFurias

Before submitting the issue

  • [ yes] I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
  • [ no, 1.7.1] I have checked that I am running the latest version of WingetUI
  • [ no] I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
  • [ yes] I have checked the FAQ section for solutions
  • [ yes] I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug

The autoupdate is failing with error 5 access is denied

To Reproduce

Steps to reproduce the behaviour:

  1. Open 'wingetui 1.7.1'
  2. Click on 'the x, to close wingetui, and wait for the autoupdate thing'
  3. See error

Expected behaviour

The program updating without errors.

Screenshots

image

The Log

🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
It took 0.002001523971557617 to load all language files
🟢 checkQueue Thread started!
🔵 Language file up-to-date
🔵 Starting main application...
Scanning for instances...
Found lock file(s), reactivating...
 * Serving Flask app 'WingetUI backend'
 * Debug mode: off
🔵 Starting update check
🟢 Downloaded latest metadata to local file
🔵 Loaded metadata from local file
b''
None
updating winget
🔵 Version URL: https://versions.marticliment.com/versions/wingetui.ver
🟢 Updates found!
b'2.0.0\r\n'
None
Reactivation signal ignored: RaiseWindow_[1687004528.8360596]
🔵 Hash:  feb1df98893e90c4264b3ed5ca78842e6a71aff13e43d9f0c65f63054d97420f
🟢 Hash ok, starting update
b"Current Scoop version:\nv0.3.1 - Released at 2022-11-15\n\n'main' bucket:\n41eeb77c9 [email protected]: Fix hash (Closes #4896)\n\n"
None
{'wingetFound': False, 'scoopFound': True, 'chocoFound': True, 'sudoFound': True, 'wingetVersion': '', 'scoopVersion': 'v0.3.1 - Released at 2022-11-15', 'chocoVersion': '2.0.0\r', 'sudoVersion': 'gsudo v2.0.10 (Branch.tags-v2.0.10.Sha.b4d8502fa00b81103afa15497adbdaccd2371b89)\r'}
🔵 Reached main ui load milestone
Can't disconnect
🔵 Starting winget search
🔵 Starting scoop search
🔵 Starting choco search
🟢 Discover tab loaded
🟢 Found valid cache for winget!
🟢 Found valid cache for scoop!
🟢 Found valid cache for chocolatey!
Can't disconnect
Can't disconnect
🔵 Starting scoop file update...
🟢 Starting winget search, winget on C:\Program Files\WingetUI\winget-cli\winget.exe...
🟢 Starting scoop search...
🟢 Starting choco search, choco on choco.exe...
🟢 Upgrades tab loaded
Can't disconnect
🟢 Starting winget search, winget on C:\Program Files\WingetUI\winget-cli\winget.exe...
🟢 Starting scoop search...
🟢 Starting choco search, choco on choco.exe...
🟢 Discover tab loaded
🔵 Starting winget file update...
🟢 Starting choco search, choco on choco.exe...
Can't disconnect
🟢 Settings tab loaded!
🟢 About tab loaded!
🟢 Main application loaded...
🟢 Chocolatey uninstallable packages search finished
0
🟢 Total packages: 12884
🟢 Searching for string ""
🟢 Winget search finished
🟢 Searching for string ""
🟡 package Update for  (KB2504637) failed parsing, going for method 2...
Update for  (KB2504637)                  {CFEF48A8-BFB8-3EAC-8BA5-DE4F8AA267CE}.… 1 82
🟢 Winget uninstallable packages search finished
🟢 Searching for string ""
🟢 Scoop search finished
🟢 Searching for string ""
🟢 Scoop search finished
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 271
🟢 Scoop cache rebuilt
🟢 Total packages: 12884
🟢 Winget cache rebuilt
🟢 Total packages: 12884
🔵 Copying log to the clipboard...

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions