Traceback (most recent call last): File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/common/api/server.py", line 164, in handler result = await implementation(**args) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1154, in v2_guided_POST await self.guided(data) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 701, in guided gap = self.start_guided(choice.target, disk) File "/snap/hostname-desktop-bootstrap/6/usr/lib/python3.10/functools.py", line 926, in _method return method.__get__(obj, cls)(*args, **kwargs) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 620, in start_guided_reformat self.reformat(disk, wipe="superblock-recursive") File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/common/filesystem/manipulator.py", line 230, in reformat self.delete_partition(p, True) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/common/filesystem/manipulator.py", line 117, in delete_partition self.model.remove_partition(part) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/models/filesystem.py", line 2038, in remove_partition for p2 in movable_trailing_partitions_and_gap_size(part)[0]: File "/snap/hostname-desktop-bootstrap/6/usr/lib/python3.10/functools.py", line 889, in wrapper return dispatch(args[0].__class__)(*args, **kw) File "/snap/hostname-desktop-bootstrap/6/bin/subiquity/subiquity/common/filesystem/gaps.py", line 281, in _movable_trailing_partitions_and_gap_size_partition part_idx = pgs.index(partition) ValueError: Partition(device=disk-sdc, size=1406533632, wipe='superblock', flag='boot', number=1, preserve=True, partition_type='0x0', path='/dev/sdc1', id='partition-sdc1', type='partition') is not in list