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

fix(jans-cli-tui): unable to start if jans-cli.ini is not exist #3873

Closed
devrimyatar opened this issue Feb 17, 2023 · 0 comments · Fixed by #3871
Closed

fix(jans-cli-tui): unable to start if jans-cli.ini is not exist #3873

devrimyatar opened this issue Feb 17, 2023 · 0 comments · Fixed by #3871
Assignees
Labels
comp-jans-cli-tui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@devrimyatar
Copy link
Contributor

Describe the bug
With new build, TUI is not starting due to non-existance of jans-cli.ini. Raising the following error:

  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/jans_cli_tui.py", line 908, in <module>
    application = JansCliApp()
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/jans_cli_tui.py", line 115, in __init__
    self._load_plugins()
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/jans_cli_tui.py", line 217, in _load_plugins
    plugin_object = plugin.Plugin(self)
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/plugins/010_auth_server/main.py", line 65, in __init__
    self.ssa = SSA(app)
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/plugins/010_auth_server/ssa.py", line 59, in __init__
    self.cli_object = config_cli.JCA_CLI(
  File "/root/.shiv/jans-cli-tui.pyz_8271c39acc1e9289cfe5db3357259d16676c846d2d344c793e50f65661be5754/site-packages/cli_tui/cli/config_cli.py", line 283, in __init__
    self.host += '/jans-auth/restv1'
@devrimyatar devrimyatar added kind-bug Issue or PR is a bug in existing functionality comp-jans-cli-tui Component affected by issue or PR labels Feb 17, 2023
@devrimyatar devrimyatar self-assigned this Feb 17, 2023
yuriyz pushed a commit that referenced this issue Feb 20, 2023
* fix: jans-cli-tui check if ssa successfully saved

* fix(jans-cli-tui): new scope missing from client configuration menu (ref: #3860)

* fix:jans-cli-tui fix typo

* Revert "fix(jans-cli-tui): new scope missing from client configuration menu (ref: #3860)"

This reverts commit 642d28f.

* fix(jans-cli-tui): new scope missing from client configuration menu (ref: #3860)

* fix(jans-cli-tui): rerfresh scopes all the time (ref: #3860)

* fix(jans-cli-tui): add custom claims to SSA (unfinished)

* fix(jans-cli-tui): ask project name if not exists in project.json for agama deployment

* fix(jans-cli-tui): rerfresh scopes after deleting (ref: #3860)

* fix(jans-cli-tui): remove debug line

* fix(jans-cli-tui): delete SSA custom claim

* fix(jans-cli-tui): code smell

* fix(jans-cli-tui): typo

* fix: jans-cli-tui start if jans-cli.ini is not exist (ref: #3873)

* fix(jans-cli-tui): unable to use SSA endpint in first start(ref:#3874)

* fix:jans-cli-tui update help (ref: #3879)

* feat(jans-cli-tui) import script from file (ref: #3884)

* feat(jans-cli-tui) code smells

* fix(jans-cli-tui) code smell

* fix(jans-li-tui): hide SSA custom claims until server is ready

---------

Co-authored-by: AbdelwahabAdam <abdelwahabosama.1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-cli-tui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant