aiidalab / aiidalab/aiidalab-qe

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

未关闭
#1,445 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
33
派生
25
平均合并
6 小时 7 分钟
30 天内合并 PR
8

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。