Small-Ku / turbo-bucket

My own bucket. The word turbo from suggestion by GitHub
The Unlicense
5 stars 0 forks source link

dorion@5.0.1 - Unable to Open #45

Closed PlatFlat closed 2 months ago

PlatFlat commented 2 months ago

Unable to open Dorion, current log shows:

Panic occurred: PanicInfo { payload: Any { .. }, message: Some(Config does not exist!: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }), location: Location { file: "src\\config.rs", line: 52, col: 35 }, can_unwind: true, force_no_backtrace: false }

Scoop Dorion directory:

image

Antivirus/WinDef disabled, UAC off.

Small-Ku commented 2 months ago

Please try to remove the config.json folder in persist and install again after 1626bd6 You can see it under %USERPROFILE%/scoop/persist/dorion with default scoop installation

PlatFlat commented 2 months ago

Uninstalled and removed Dorion folder in persist. Then I install it again:

Running pre-install script... New-Item : Could not find a part of the path '%USERPROFILE%\scoop\persist\dorion\config.json'. At line:1 char:70

  • ... _dir\config.json -PathType Leaf)) {New-Item $persist_dir\config.json}
    • CategoryInfo : WriteError: (%USERPROFILE%\config.json:String) [New-Item], DirectoryNotFoundExce ption
    • FullyQualifiedErrorId : NewItemIOError,Microsoft.PowerShell.Commands.NewItemCommand

Despite the error, config.json folder is created in persist. But still unable to run, similar error to my first post.

Small-Ku commented 2 months ago

Should be fixed with https://github.com/Small-Ku/turbo-bucket/commit/9a60766e4bc0ba4d0d8ebd35c8904d8b25dc200c this time. Please remove the persist and try again.

PlatFlat commented 2 months ago

Thank you for the fixes. https://github.com/Small-Ku/turbo-bucket/commit/9a60766e4bc0ba4d0d8ebd35c8904d8b25dc200c confirmed to work now.