Bug 1073067 - python traceback when trying to add hardware (a filesystem share)
Summary: python traceback when trying to add hardware (a filesystem share)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 17:17 UTC by Pete MacKinnon
Modified: 2014-03-11 03:58 UTC (History)
3 users (show)

Fixed In Version: virt-manager-1.0.0-5.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-11 03:58:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pete MacKinnon 2014-03-05 17:17:47 UTC
Error adding a filesystem share in virt-manager 1.0.0
     
$ rpm -q virt-manager
virt-manager-1.0.0-3.fc20.noarch
     
    Uncaught error validating hardware input: 'CheckButton' object has no attribute 'get_model'
     
    Traceback (most recent call last):
      File "/usr/share/virt-manager/virtManager/addhardware.py", line 1350, in finish
        if self.validate(notebook.get_current_page()) is False:
      File "/usr/share/virt-manager/virtManager/addhardware.py", line 1410, in validate
        ret = self._validate(page_num)
      File "/usr/share/virt-manager/virtManager/addhardware.py", line 1397, in _validate
        return self.validate_page_filesystem()
      File "/usr/share/virt-manager/virtManager/addhardware.py", line 1663, in validate_page_filesystem
        if self.fsDetails.validate_page_filesystem() is False:
      File "/usr/share/virt-manager/virtManager/fsdetails.py", line 276, in validate_page_filesystem
        readonly = self.get_config_fs_readonly()
      File "/usr/share/virt-manager/virtManager/fsdetails.py", line 162, in get_config_fs_readonly
        rowindex=0, check_visible=True)
      File "/usr/share/virt-manager/virtManager/uiutil.py", line 80, in get_list_selection
        row = widget.get_model()[idx]
    AttributeError: 'CheckButton' object has no attribute

Comment 1 Cole Robinson 2014-03-06 16:46:17 UTC
Thanks for the report, fixed upstream now:

commit 9074fc6c6080cf650cf97457dda799700ee2b635
Author: Cole Robinson <crobinso>
Date:   Thu Mar 6 11:45:26 2014 -0500

    fsdetails: Fix adding a filesystem device (bz 1073067)

Comment 2 Fedora Update System 2014-03-06 18:24:09 UTC
virt-manager-1.0.0-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-4.fc20

Comment 3 Fedora Update System 2014-03-07 15:04:47 UTC
virt-manager-1.0.0-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-5.fc20

Comment 4 Fedora Update System 2014-03-08 03:30:57 UTC
Package virt-manager-1.0.0-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.0.0-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3581/virt-manager-1.0.0-5.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-03-11 03:58:40 UTC
virt-manager-1.0.0-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, 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.