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

Error when installing Web app #48

Closed
leoneii opened this issue Jan 9, 2020 · 6 comments
Closed

Error when installing Web app #48

leoneii opened this issue Jan 9, 2020 · 6 comments

Comments

@leoneii
Copy link
Contributor

leoneii commented Jan 9, 2020

Hey, when you try to install any Web app error in the console:

`Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/bauh/view/util/translation.py", line 19, in __getitem__
    return self.current.__getitem__(item)
KeyError: 'development'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/bauh/view/core/controller.py", line 238, in install
    return man.install(app, root_password, handler)
  File "/usr/lib/python3.8/site-packages/bauh/gems/web/controller.py", line 553, in install
    continue_install, install_options = self._ask_install_options(pkg, watcher)
  File "/usr/lib/python3.8/site-packages/bauh/gems/web/controller.py", line 383, in _ask_install_options
    cat_ops.extend([InputOption(label=self.i18n[c.lower()].capitalize(), value=c) for c in self.context.default_categories])
  File "/usr/lib/python3.8/site-packages/bauh/gems/web/controller.py", line 383, in <listcomp>
    cat_ops.extend([InputOption(label=self.i18n[c.lower()].capitalize(), value=c) for c in self.context.default_categories])
  File "/usr/lib/python3.8/site-packages/bauh/view/util/translation.py", line 22, in __getitem__
    return self.default.__getitem__(item)
KeyError: 'development'
`

I tried both vesiyu of AUR, and set via pik install.
System - Archlinux

Thanks! For the rest, a splendid and necessary tool, do not throw its development!

@vinifmor
Copy link
Owner

vinifmor commented Jan 9, 2020

Hi @leoneii. I will have a look here. What's your system's default language ? ( paste the result of the following command here, please -> python -c "import locale; print(locale.getdefaultlocale());" )

@leoneii
Copy link
Contributor Author

leoneii commented Jan 9, 2020

Thanks again,
( 'Ru_RU', 'UTF-8')

@vinifmor
Copy link
Owner

vinifmor commented Jan 9, 2020

Already fixed in the staging branch. In the end of the day I will publish a RC to bauh-staging in AUR.

@leoneii
Copy link
Contributor Author

leoneii commented Jan 9, 2020

OK, thanks!

@leoneii leoneii closed this as completed Jan 9, 2020
@vinifmor
Copy link
Owner

vinifmor commented Jan 9, 2020

No worries. After testing the RC, let me know if you have any problem ( just comment here or reopen the issue )

@vinifmor
Copy link
Owner

vinifmor commented Jan 9, 2020

Already available in AUR as bauh-staging (0.8.1.RC-3)

@vinifmor vinifmor mentioned this issue Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants