Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SuperFurias opened this issue Jun 17, 2023 · 5 comments · Fixed by #1246
Closed

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

SuperFurias opened this issue Jun 17, 2023 · 5 comments · Fixed by #1246
Assignees
Labels
bug Something isn't working

Comments

@SuperFurias
Copy link

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.

@SuperFurias SuperFurias added the bug Something isn't working label Jun 17, 2023
@SuperFurias
Copy link
Author

I also tried the manual update, same error as the autoupdate.
i also tried to run the manual update with admin permissions, the error changing into this:
image

@SuperFurias
Copy link
Author

I also tried the manual update, same error as the autoupdate. i also tried to run the manual update with admin permissions, the error changing into this: image

After trying to manually uninstall WingetUI, and deleting the folder..
image
I have clue why Opera GX is using a file of another program

@marticliment
Copy link
Owner

try killing opera gx from task manager and then reinstalling

@SuperFurias
Copy link
Author

try killing opera gx from task manager and then reinstalling

I killed the crash reporter and manually installed the new version (2.0.1)
but its a bit annoying manually killing process to update something.. but well, as long as it works.

@marticliment
Copy link
Owner

To be honest, I don't understand why opera gx had to mess with WingetUI, but as far as I am concerned this is not related with WingetUI, but rather with opera gx, so I am going to close this issue

@marticliment marticliment closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants