Skip to content

Plugin store not working if using aiidalab/full-stack image #1445

@mikibonacci

Description

@mikibonacci

How to reproduce: use aiidalab/full-stack:latest, then install the QE app (v25.8.1), then go to plugin store.

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/tmp/ipykernel_1088/4252338084.py in <cell line: 4>()
      2 
      3 pm = PluginManager()
----> 4 pm.display_ui()

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/utils/plugin_manager.py in display_ui(self)
    469         Display the Accordion UI in a Jupyter notebook.
    470         """
--> 471         self._build_ui()
    472         display(self.accordion)

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/utils/plugin_manager.py in _build_ui(self)
    462             # Define the title with checkmark if installed
    463             title_with_icon = f"{plugin_data.get('title')} {'✅' if installed else ''}"
--> 464             self.accordion.set_title(i, title_with_icon)
    465             self.accordion.children = [*self.accordion.children, box]
    466 

~/.local/lib/python3.9/site-packages/ipywidgets/widgets/widget_selectioncontainer.py in set_title(self, index, title)
     67         if title is None:
     68             title = ''
---> 69         titles[index]=title
     70         self.titles = tuple(titles)
     71 

IndexError: list assignment index out of range

I have the feeling we should't develop the QE app in aiidalab/qe containers. I actually think that aiidalab/qe image is not a good idea... (too large, i.e. the image takes long time to download: people may think that it is not working, if pulling from aiidalab-launch...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions