Bug 1226173

Summary: virt-manager: Browse local does not work anymore
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Jedamzik <martin.jedamzik>
Component: Virtualization:ToolsAssignee: Charles Arnold <carnold>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: carnold, ulf.volmer
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Jedamzik 2024-06-11 07:35:23 UTC
When trying to add a storage device with virt-manager via:

--> Add Hardware -->  Storage --> Select or create custom-storage --> Manage --> Browse Local 

nothing will happen.

After starting :

virt-manager --no-fork --debug

one see's this error message:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 162, in _browse_clicked
    return self._browse_local()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 187, in _browse_local
    filename = self.err.browse_local(
               ^^^^^^^^^^^^^^^^^^^^^^
TypeError: vmmErrorDialog.browse_local() got an unexpected keyword argument 'choose_label'

Commenting out "choose_label=data.choose_label" in /usr/share/virt-manager/virtManager/storagebrowse.py does solve the issue. However, I am unsure about possible drawbacks.
Comment 1 Charles Arnold 2024-06-11 19:55:35 UTC
Thanks for catching this. Fix submitted to Factory with SR#1180071
It should show up in a Tumbleweed build in a few days.
If you need the fix now, see the repo Virtualization/virt-manager
Comment 2 OBSbugzilla Bot 2024-06-11 20:25:01 UTC
This is an autogenerated message for OBS integration:
This bug (1226173) was mentioned in
https://build.opensuse.org/request/show/1180071 Factory / virt-manager
Comment 3 Martin Jedamzik 2024-06-14 06:52:50 UTC
Issue fixed for me. 
@Charles: Many thanks for the quick fix :-)