Skip to content

bug: Configuration wizard fails to save on Windows after default config creation #69

@unclesp1d3r

Description

@unclesp1d3r

Configuration wizard fails to save on Windows after default config creation

I’ve run into a reproducible issue on Windows that prevents the configuration wizard from ever saving successfully when starting from a freshly created default config.

When running pvetui 1.0.15 on Windows, if you accept the initial prompts to (1) create a default configuration file and then (2) launch the interactive configuration wizard, the wizard fails validation on save. The error indicates that no authentication method was provided, even though valid credentials were entered.

It appears the wizard is validating against the initially generated default config content rather than the values entered in the interactive editor.

Steps to reproduce

  1. Install pvetui 1.0.15 on Windows using Scoop.
  2. Open PowerShell and run pvetui with no parameters.
  3. At the prompt “Would you like to create a default configuration file?”, select Y.
  4. At the prompt “Would you like to edit the new config in the interactive editor?”, select Y.
  5. In the configuration form, provide either:
    • a password, or
    • a token_id and token_secret.
  6. Select Save.
  7. Observe the error dialog:

    “You must provide either a password or a token for authentication.”

Expected behavior

The configuration wizard should accept valid authentication input and successfully save the configuration.

Actual behavior

The wizard always fails validation with the authentication error, making it impossible to save the config through the interactive editor.

Environment

  • OS: Windows 11 25H2
  • Installation method: Scoop
  • Version: pvetui 1.0.15

Let me know if you’d like me to test a patch or provide additional logs.

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