mirror of
https://github.com/devnullvoid/pvetui.git
synced 2026-04-25 05:15:51 +03:00
[GH-ISSUE #70] Config wizard fails to create config file when started with --config-wizard on Windows #13
Labels
No labels
bug
bug
documentation
enhancement
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pvetui#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unclesp1d3r on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/devnullvoid/pvetui/issues/70
Originally assigned to: @devnullvoid on GitHub.
There appears to be a second, related issue on Windows when launching the configuration wizard directly via the command-line flag, rather than letting
pvetuicreate the default config first.When running pvetui 1.0.15 on Windows with the
--config-wizardflag, the interactive configuration wizard allows all fields to be filled out but fails when saving. The tool creates thepvetuiconfiguration directory, but no configuration file is written.Steps to reproduce
Install
pvetui1.0.15 on Windows using Scoop.Open PowerShell and run:
Fill in the configuration form, including valid authentication details (password or token).
Select Save.
Observe the error dialog:
Expected behavior
The configuration wizard should create a new configuration file and save the provided settings successfully.
Actual behavior
pvetuiconfiguration directory is created.Environment
Additional notes (hypothesis)
My guess is that, in this code path, the wizard attempts to open an existing config file for writing rather than creating a new one if it does not already exist. This would explain why the directory is created but the save fails when no config file is present.
Happy to test a fix or provide additional debugging output if needed.
@devnullvoid commented on GitHub (Dec 24, 2025):
As always, I appreciate the detailed report. I will work on getting this fixed!
@devnullvoid commented on GitHub (Jan 1, 2026):
Fix is on develop and verified (Windows). Config wizard now creates/loads a default config when launched with --config-wizard so Save succeeds. Release pending.
@devnullvoid commented on GitHub (Jan 2, 2026):
Should be fixed in latest release v1.0.16 -- let me know if you run into any further issues.
And as always, I appreciate your feedback.