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

Unable to run SETUP flag on clean install #124

Open
Zaph-x opened this issue Oct 18, 2022 · 0 comments
Open

Unable to run SETUP flag on clean install #124

Zaph-x opened this issue Oct 18, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Zaph-x
Copy link
Member

Zaph-x commented Oct 18, 2022

When creating a new installation of STS, running the -s flag produces the following stacktrace:

Traceback (most recent call last):
  File "/opt/homebrew/bin/sts", line 1032, in <module>
    sts.load()
  File "/opt/homebrew/bin/sts", line 643, in load
    self._argument_handler.handle_stopping(self, self._user_manager, self._request_handler)
  File "/opt/homebrew/bin/sts", line 296, in handle_stopping
    self.setup_sts(user_manager, request_handler, Configuration())
  File "/opt/homebrew/bin/sts", line 395, in setup_sts
    configuration.write()
  File "/opt/homebrew/bin/sts", line 162, in write
    with open(paths[0], 'w') as configfile:
IndexError: list index out of range

This has been tested on MacOS

@Zaph-x Zaph-x added the good first issue Good for newcomers label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant