[07:12:19]
<tituspijean[m]> If we drop it, users would not be able to chose any domain, right?
Or everything should be a resource, and packagers could specify if they should be displayed in the install form?
[07:14:20]
<tituspijean[m]> oh sorry you basically suggested that earlier
[17:18:10]
<Yunohost Git/Infra notifications> [landingpage] alexAubin pushed 1 commit to main: aria-hidden=true for nyancats ([bb34ee89](https://github.com/YunoHost/landingpage/commit/bb34ee8916bca1414e34cd0960ebf3435d4147be))
[17:33:31]
<Yunohost Git/Infra notifications> [landingpage] mrflos pushed 1 commit to main: fix(a11y): add main-content id ([25c98ea5](https://github.com/YunoHost/landingpage/commit/25c98ea54197451cd3f49eb2e0aa1d6a2915a944))
[17:46:25]
<Yunohost Git/Infra notifications> [landingpage] alexAubin pushed 1 commit to main: Fix main-content semantic ([ecd1d025](https://github.com/YunoHost/landingpage/commit/ecd1d0252267d82c84e5af936cbe3744008b802a))
[17:47:43]
<eric_G> is `Disques durs` menu new in the tool menu ?
[17:50:33]
<eric_G> I have this error trying to access the `Disks` menu:
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 579, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/storage.py", line 20, in storage_disk_list
from yunohost.disk import disk_list
File "/usr/lib/python3/dist-packages/yunohost/disk.py", line 23, in <module>
from yunohost.utils.udisks2_interfaces import Udisks2Manager
File "/usr/lib/python3/dist-packages/yunohost/utils/udisks2_interfaces.py", line 23, in <module>
from mock.mock import patch
ModuleNotFoundError: No module named 'mock'
[17:53:11]
<orhtej2> > <@ericg:matrix.org> I have this error trying to access the `Disks` menu:
> ```
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process
> ret = self.actionsmap.process(arguments, timeout=30, route=_route)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 579, in process
> return func(**arguments)
> ^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/yunohost/storage.py", line 20, in storage_disk_list
> from yunohost.disk import disk_list
> File "/usr/lib/python3/dist-packages/yunohost/disk.py", line 23, in <module>
> from yunohost.utils.udisks2_interfaces import Udisks2Manager
> File "/usr/lib/python3/dist-packages/yunohost/utils/udisks2_interfaces.py", line 23, in <module>
> from mock.mock import patch
> ModuleNotFoundError: No module named 'mock'
>
Curious design
[17:56:37]
<tituspijean[m]> @ericg:matrix.org yes it's new: https://github.com/YunoHost/yunohost/pull/2046
the issue has been reported previously, but I dunno if it has been fixed (the bad import is still in the dev branch)
[17:57:13]
<tituspijean[m]> to fix, replace line 23 of `/usr/lib/python3/dist-packages/yunohost/utils/udisks2_interfaces.py` by `from unittest.mock import patch`
[17:57:54]
<tituspijean[m]> (well, I think it fixes it. my server is in LXC and does not see any disk)
[18:08:37]
<eric_G> thanks, it's working now