8000 app metadata logo key error · Issue #76 · aiidalab/aiidalab-home · GitHub
[go: up one dir, main page]

Skip to content

app metadata logo key error #76

Closed

Description

@unkcpz

I got the following error but can not anchor which app cause it. It would be better if the error message is more detailed to tell the user where the app metadata structure incompatibility happened.

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/opt/aiidalab-home/home/start_page.py in render(self)
    106                 # Create app widget if it has not been created yet.
    107                 if name not in self._app_widgets:
--> 108                     self._app_widgets[name] = self._create_app_widget(name)
    109 
    110                 display(self._app_widgets[name])

/opt/aiidalab-home/home/start_page.py in _create_app_widget(self, name)
     66         """Create the widget representing the app on the home screen."""
     67         config = self.read_config()
---> 68         app = AiidaLabApp(name, None, AIIDALAB_APPS)
     69 
     70         if name == "home":

/opt/conda/lib/python3.7/site-packages/aiidalab/app.py in __init__(self, name, app_data, aiidalab_apps_path, watch)
    563 
    564         self.name = self._app.name
--> 565         self.logo = self._app.metadata["logo"]
    566         self.categories = self._app.metadata["categories"]
    567         self.is_installed = self._app.is_installed

KeyError: 'logo'

Activity

  1. yakutovicha commented on May 19, 2022

    @yakutovicha
    Member

    This issue occurs if the version of aiidalab is < 21.10.2. I make a PR to this package to fix the lower dependency.

  2. self-assigned this
    on May 19, 2022
  3. yakutovicha commented on May 19, 2022

    @yakutovicha
    Member

    This issue occurs if the version of aiidalab is <= 21.10.2. I make a PR to this package to fix the lower dependency.

    for more details: aiidalab/aiidalab@0d87f72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0