(Trixie) tools > hard drives?

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 13.0.3
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Debian 13 Trixie

Describe your issue

Hello,

When I go to “Tools-> Hard Drives,” I get an error message:
Error: “500”
Action: “GET” /yunohost/api/storage/disk/list?with_info&human_readable_size

I am using version 13.0.3 (testing).
Do you have any idea how to fix this?

Thanks

Share relevant logs or error messages

Erreur: “500”

Action: “GET” /yunohost/api/storage/disk/list?with_info&human_readable_size

Message d’erreur :
Erreur serveur inattendue

Retraçage

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 580, in process
return func(**arguments)
File “/usr/lib/python3/dist-packages/yunohost/storage.py”, line 22, in storage_disk_list
return disk_list(**kargs)
File “/usr/lib/python3/dist-packages/yunohost/disk.py”, line 90, in disk_list
disks = Udisks2Manager(bus).get_disks()
File “/usr/lib/python3/dist-packages/yunohost/utils/udisks2_interfaces.py”, line 78, in get_disks
for object_path, (iface, props) in parse_get_managed_objects(
~~~~~~~~~~~~~~~~~~~~~~~~~^
(Disk, AtaDisk, NvmeDisk),
^^^^^^^^^^^^^^^^^^^^^^^^^^
…<2 lines>…
on_unknown_member=“ignore”,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
).items():
^
File “/usr/lib/python3/dist-packages/yunohost/utils/udisks2_interfaces.py”, line 63, in parse_get_managed_objects
return sdbus_parse_get_managed_objects(
interfaces, managed_objects_data, on_unknown_interface, on_unknown_member
)
File “/usr/lib/python3/dist-packages/sdbus/utils/parse.py”, line 383, in parse_get_managed_objects
_get_class_from_interfaces(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
interfaces_to_class_map,
^^^^^^^^^^^^^^^^^^^^^^^^
…<2 lines>…
use_interface_subsets,
^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/lib/python3.13/unittest/mock.py”, line 1169, in call
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/unittest/mock.py”, line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/unittest/mock.py”, line 1234, in _execute_mock_call
result = effect(*args, **kwargs)
TypeError: _get_class_from_interfaces() takes 3 positional arguments but 4 were given

1 Like

Confirmed and reported here Trixie: yunohost storage disk error msg · Issue #2751 · YunoHost/issues · GitHub
Could you try the solution proposed to see if that solve your issue too?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.