Bug 1226173 - virt-manager: Browse local does not work anymore
Summary: virt-manager: Browse local does not work anymore
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Charles Arnold
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 07:35 UTC by Martin Jedamzik
Modified: 2024-06-18 09:27 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :-)