From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yingfu Zhou Subject: The arg "os_type" in class DistroInstaller has problem? Date: Fri, 06 Feb 2009 17:05:24 +0800 Message-ID: <498BFD54.30005@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: "'kvm@vger.kernel.org'" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:58642 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753266AbZBFJFc (ORCPT ); Fri, 6 Feb 2009 04:05:32 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1695VCX020082 for ; Fri, 6 Feb 2009 04:05:31 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n1695V4P016003 for ; Fri, 6 Feb 2009 04:05:31 -0500 Received: from localhost.localdomain (dhcp-66-70-16.nay.redhat.com [10.66.70.16]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n1695Uf7026155 for ; Fri, 6 Feb 2009 04:05:31 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Hi, Anybody meet this problem: Unable to complete install 'exceptions.AttributeError 'DistroInstaller' object has no attribute '_os_type' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 627, in do_install dom = guest.start_install(False, meter = meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 950, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 986, in _do_install install_xml = self.get_config_xml() File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 904, in get_config_xml osblob = self._get_osblob(osblob_install) File "/usr/lib/python2.4/site-packages/virtinst/FullVirtGuest.py", line 107, in _get_osblob arch = self.arch, loader = self.loader, conn = self.conn) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 348, in _get_osblob kernel=self.install, bootdev=bootdev) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 437, in _get_osblob_helper os_type = self.os_type File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 362, in get_os_type return self._os_type AttributeError: 'DistroInstaller' object has no attribute '_os_type' '