** Description changed: + [SRU] + + [Impact] + Easily reproducable crash prevents users from modifying the disk devices when performing a custom install. + + [Test Case] + 1- Start virt-manager + 2- Click new, go through the wizard to perform an install, but click "customize" on the last screen + 3- In new window, click on the disk section + + Step 3 should crash without the fix, and should success with it. + + [Regression potential] + The patch is pretty simple. If it is wrong, the disk section in the hardware screen on existing and new VMs could fail to operate properly. + + This happens if you do the customise VM before install and click on the Disk section. It sounds very similar to https://bugzilla.redhat.com/show_bug.cgi?id=978264 ii virt-manager 0.9.5-1ubuntu1 all desktop application for managing virtual machines (on Saucy/64bit) Create a new guest; - create - Name: tmp - Local install media: (gave it a Saucy iso) - Selected the ISO, and OS as Linux/Ubuntu 13.10 - Default of 1024MB RAM/1CPU - Allocate disk now - ** click customice conf before install* - (The options window comes up) - Click 'Disk 1' + create + Name: tmp + Local install media: (gave it a Saucy iso) + Selected the ISO, and OS as Linux/Ubuntu 13.10 + Default of 1024MB RAM/1CPU + Allocate disk now + ** click customice conf before install* + (The options window comes up) + Click 'Disk 1' - ** Error refreshing hardware page: unsupported operand type(s) for /: 'NoneType' and 'int' - Details: - Error refreshing hardware page: unsupported operand type(s) for /: 'NoneType' and 'int' + ** Error refreshing hardware page: unsupported operand type(s) for /: 'NoneType' and 'int' + Details: + Error refreshing hardware page: unsupported operand type(s) for /: 'NoneType' and 'int' Traceback (most recent call last): - File "/usr/share/virt-manager/virtManager/details.py", line 1307, in hw_selected - self.refresh_disk_page() - File "/usr/share/virt-manager/virtManager/details.py", line 2909, in refresh_disk_page - iotune_read_bytes_sec = disk.iotune_read_bytes_sec / 1024 + File "/usr/share/virt-manager/virtManager/details.py", line 1307, in hw_selected + self.refresh_disk_page() + File "/usr/share/virt-manager/virtManager/details.py", line 2909, in refresh_disk_page + iotune_read_bytes_sec = disk.iotune_read_bytes_sec / 1024 TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: virt-manager 0.9.5-1ubuntu1 ProcVersionSignature: Ubuntu 3.11.0-3.8-generic 3.11.0-rc6 Uname: Linux 3.11.0-3-generic x86_64 ApportVersion: 2.12.1-0ubuntu2 Architecture: amd64 Date: Tue Aug 27 20:02:58 2013 InstallationDate: Installed on 2012-07-17 (406 days ago) InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120717) MarkForUpload: True PackageArchitecture: all SourcePackage: virt-manager UpgradeStatus: Upgraded to saucy on 2013-05-21 (98 days ago)
** Changed in: virt-manager (Ubuntu Trusty) Status: Triaged => In Progress ** Changed in: virt-manager (Ubuntu Saucy) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1217524 Title: Error refreshing hardware page: unsupported operand type(s) for /: 'NoneType' and 'int' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1217524/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs