aiidalab / aiidalab/aiidalab-qe

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

Abierto
#1,445 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
33
Forks
25
Merge medio
6 h 7 min
PR fusionados (30 d)
8

Descripción

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 ()
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...)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.