Bug 2352541 - [abrt] blivet-gui-runtime: remote_call(): client.py:174:remote_call:KeyError: 'None\nTraceback (most recent call last):\n File "/usr/lib/python3.13/site-packages/blivetgui/communication/server.py", line 317, in _call_utils_method\n ret = utils_method(
Summary: [abrt] blivet-gui-runtime: remote_call(): client.py:174:remote_call:KeyError:...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ec427f920972fd97ca858de0adf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-14 12:40 UTC by Jan Vlug
Modified: 2025-03-30 00:16 UTC (History)
3 users (show)

Fixed In Version: blivet-gui-2.6.0-4.fc43
Clone Of:
Environment:
Last Closed: 2025-03-26 07:39:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: program.log (12.40 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: mountinfo (6.22 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: backtrace (3.07 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: open_fds (3.08 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: os_info (754 bytes, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: blivet.log (54.07 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: cgroup (106 bytes, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: environ (2.68 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: namespaces (171 bytes, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details
File: blivet-gui-utils.log (5.84 KB, text/plain)
2025-03-14 12:40 UTC, Jan Vlug
no flags Details

Description Jan Vlug 2025-03-14 12:40:15 UTC
Description of problem:
I tried to create a small 200 MB partition at the beginning (first partition I wanted to create) on an 4TB NVMe drive.
For file system I chose: unformatted
For name I chose: future_boot_efi
I left Encrypt unchecked.

Version-Release number of selected component:
blivet-gui-runtime-2.6.0-1.fc41

Additional info:
reporter:       libreport-2.17.15
kernel:         6.13.6-200.fc41.x86_64
package:        blivet-gui-runtime-2.6.0-1.fc41
cmdline:        /usr/bin/python3 /usr/bin/blivet-gui
executable:     /usr/bin/blivet-gui
reason:         client.py:174:remote_call:KeyError: 'None\nTraceback (most recent call last):\n  File "/usr/lib/python3.13/site-packages/blivetgui/communication/server.py", line 317, in _call_utils_method\n    ret = utils_method(*args)\n  File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1345, in add_device\n    add_function = self.add_dict[user_input.device_type]\n                   ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\nKeyError: None\n'
exception_type: KeyError
type:           Python3
crash_function: remote_call
uid:            1000
interpreter:    python3-3.13.2-1.fc41.x86_64
runlevel:       N 5

Truncated backtrace:
client.py:174:remote_call:KeyError: 'None\nTraceback (most recent call last):\n  File "/usr/lib/python3.13/site-packages/blivetgui/communication/server.py", line 317, in _call_utils_method\n    ret = utils_method(*args)\n  File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1345, in add_device\n    add_function = self.add_dict[user_input.device_type]\n                   ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\nKeyError: None\n'

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/blivetgui/blivetgui.py", line 509, in add_device
    result = self.client.remote_call("add_device", user_input)
  File "/usr/lib/python3.13/site-packages/blivetgui/communication/client.py", line 174, in remote_call
    raise type(ret.exception)(str(ret.exception) + "\n" + ret.traceback)  # pylint: disable=maybe-no-member
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'None\nTraceback (most recent call last):\n  File "/usr/lib/python3.13/site-packages/blivetgui/communication/server.py", line 317, in _call_utils_method\n    ret = utils_method(*args)\n  File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1345, in add_device\n    add_function = self.add_dict[user_input.device_type]\n                   ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\nKeyError: None\n'

Local variables in innermost frame:
self: <blivetgui.communication.client.BlivetGUIClient object at 0x7f11c22eaf90>
method: 'add_device'
args: (ProxyDataContainer:
{'device_type': None, 'size_selection': ProxyDataContainer:
{'total_size': Size (200 MiB), 'parents': [ProxyDataContainer:
{'parent_device': <blivetgui.communication.client.ClientProxyObject object at 0x7f11c096ab10>, 'free_space': <blivetgui.communication.client.ClientProxyObject object at 0x7f11c0969eb0>, 'selected_size': Size (200 MiB)}]}, 'filesystem': None, 'name': 'future_boot_efi', 'label': '', 'mountpoint': None, 'encrypt': False, 'passphrase': '', 'encryption_type': 'luks2', 'encryption_sector_size': 0, 'raid_level': None, 'advanced': None},)
pickled_data: b'\x80\x04\x95\xef\x01\x00\x00\x00\x00\x00\x00\x8c\x04call\x94\x8c\nadd_device\x94]\x94\x8c#blivetgui.communication.proxy_utils\x94\x8c\x12ProxyDataContainer\x94\x93\x94)\x81\x94}\x94\x8c\x06kwargs\x94}\x94(\x8c\x0bdevice_type\x94N\x8c\x0esize_selection\x94h\x05)\x81\x94}\x94h\x08}\x94(\x8c\ntotal_size\x94\x8c\x0bblivet.size\x94\x8c\x04Size\x94\x93\x94J\x00\x00\x80\x0c\x85\x94R\x94\x8c\x07parents\x94]\x94h\x05)\x81\x94}\x94h\x08}\x94(\x8c\rparent_device\x94h\x03\x8c\x07ProxyID\x94\x93\x94)\x81\x94}\x94\x8c\x02id\x94M$\x0csb\x8c\nfree_space\x94h\x1c)\x81\x94}\x94h\x1fM\x05\x0csb\x8c\rselected_size\x94h\x12J\x00\x00\x80\x0c\x85\x94R\x94usbausb\x8c\nfilesystem\x94N\x8c\x04name\x94\x8c\x0ffuture_boot_efi\x94\x8c\x05label\x94\x8c\x00\x94\x8c\nmountpoint\x94N\x8c\x07encrypt\x94\x89\x8c\npassphrase\x94h*\x8c\x0fencryption_type\x94\x8c\x05luks2\x94\x8c\x16encryption_sector_size\x94K\x00\x8c\nraid_level\x94N\x8c\x08advanced\x94Nusba\x87\x94.'
answer: 'Proxy ID, 3113'
ret: <blivetgui.communication.client.ClientProxyObject object at 0x7f11c096af90>

Comment 1 Jan Vlug 2025-03-14 12:40:19 UTC
Created attachment 2080175 [details]
File: program.log

Comment 2 Jan Vlug 2025-03-14 12:40:20 UTC
Created attachment 2080176 [details]
File: mountinfo

Comment 3 Jan Vlug 2025-03-14 12:40:22 UTC
Created attachment 2080177 [details]
File: cpuinfo

Comment 4 Jan Vlug 2025-03-14 12:40:23 UTC
Created attachment 2080178 [details]
File: backtrace

Comment 5 Jan Vlug 2025-03-14 12:40:24 UTC
Created attachment 2080179 [details]
File: open_fds

Comment 6 Jan Vlug 2025-03-14 12:40:25 UTC
Created attachment 2080180 [details]
File: os_info

Comment 7 Jan Vlug 2025-03-14 12:40:27 UTC
Created attachment 2080181 [details]
File: blivet.log

Comment 8 Jan Vlug 2025-03-14 12:40:28 UTC
Created attachment 2080182 [details]
File: cgroup

Comment 9 Jan Vlug 2025-03-14 12:40:29 UTC
Created attachment 2080183 [details]
File: environ

Comment 10 Jan Vlug 2025-03-14 12:40:30 UTC
Created attachment 2080184 [details]
File: namespaces

Comment 11 Jan Vlug 2025-03-14 12:40:31 UTC
Created attachment 2080185 [details]
File: blivet-gui-utils.log

Comment 12 Jan Vlug 2025-03-14 13:54:51 UTC
I think that the problem the lack of a partition table was. I added a gpt type partition table to the NVMe with GParted, and after that blivet-gui could create partitions.

Comment 13 Jan Vlug 2025-03-14 13:57:55 UTC
I reported this also upstream: https://github.com/storaged-project/blivet-gui/issues/476

Comment 14 Vojtech Trefny 2025-03-17 12:52:00 UTC
upstream PR: https://github.com/storaged-project/blivet-gui/pull/477

Comment 15 Fedora Update System 2025-03-26 07:50:23 UTC
FEDORA-2025-58f26d03a9 (blivet-gui-2.6.0-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-58f26d03a9

Comment 16 Fedora Update System 2025-03-26 07:51:04 UTC
FEDORA-2025-ae1e8a974c (blivet-gui-2.6.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ae1e8a974c

Comment 17 Fedora Update System 2025-03-28 15:25:06 UTC
FEDORA-2025-58f26d03a9 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-58f26d03a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-58f26d03a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2025-03-28 16:17:26 UTC
FEDORA-2025-ae1e8a974c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ae1e8a974c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ae1e8a974c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2025-03-29 01:39:34 UTC
FEDORA-2025-ae1e8a974c (blivet-gui-2.6.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2025-03-30 00:16:26 UTC
FEDORA-2025-58f26d03a9 (blivet-gui-2.6.0-4.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.