Confusing error message: AttributeError: 'WindowsBackend' object has no attribute 'cd_path'

Bug #876154 reported by bcbc
40
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Wubi
Fix Committed
Medium
Unassigned

Bug Description

There is also the similar confusing message:
 "Windows backend" object has no attribute 'iso_path'

Reported by user here: https://answers.launchpad.net/wubi/+question/174624

hi,
     so I downloaded the iso got my win 7 computer to install it failed bad disk, redownloaded it got my other computer to try installing it cd created ok rebooted pc this "_" showed up and moved across and down screen abit computer then started up with win 7... failed. Put it onto a usb with the usb installer thing computer didn't even flinch when it started up to my original win 7 installation and yes the hdd was in the lowest boot piroity both bellow cd and usb when the hdd was disabled came up with message please insert bootable media. So ok booted into windows 7 opened up cd thing install as app saw the if cd doesn't pick it up will add to boot.ini so ok then this Any help would be great :)

10-16 15:32 INFO root: === wubi 11.10 rev241 ===
10-16 15:32 DEBUG root: Logfile is c:\users\evan\appdata\local\temp\wubi-11.10-rev241.log
10-16 15:32 DEBUG root: sys.argv = ['main.pyo', '--exefile="D:\\wubi.exe"', '--cdmenu']
10-16 15:32 DEBUG CommonBackend: data_dir=C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\data
10-16 15:32 DEBUG WindowsBackend: 7z=C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\bin\7z.exe
10-16 15:32 DEBUG WindowsBackend: startup_folder=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
10-16 15:32 DEBUG CommonBackend: Fetching basic info...
10-16 15:32 DEBUG CommonBackend: original_exe=D:\wubi.exe
10-16 15:32 DEBUG CommonBackend: platform=win32
10-16 15:32 DEBUG CommonBackend: osname=nt
10-16 15:32 DEBUG CommonBackend: language=en_NZ
10-16 15:32 DEBUG CommonBackend: encoding=cp1252
10-16 15:32 DEBUG WindowsBackend: arch=amd64
10-16 15:32 DEBUG CommonBackend: Parsing isolist=C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\data\isolist.ini
10-16 15:32 DEBUG CommonBackend: Adding distro Xubuntu-i386
10-16 15:32 DEBUG CommonBackend: Adding distro Xubuntu-amd64
10-16 15:32 DEBUG CommonBackend: Adding distro Kubuntu-amd64
10-16 15:32 DEBUG CommonBackend: Adding distro Mythbuntu-i386
10-16 15:32 DEBUG CommonBackend: Adding distro Ubuntu-amd64
10-16 15:32 DEBUG CommonBackend: Adding distro Ubuntu-i386
10-16 15:32 DEBUG CommonBackend: Adding distro Mythbuntu-amd64
10-16 15:32 DEBUG CommonBackend: Adding distro Kubuntu-i386
10-16 15:32 DEBUG WindowsBackend: Fetching host info...
10-16 15:32 DEBUG WindowsBackend: registry_key=Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
10-16 15:32 DEBUG WindowsBackend: windows version=vista
10-16 15:32 DEBUG WindowsBackend: windows_version2=Windows 7 Home Premium
10-16 15:32 DEBUG WindowsBackend: windows_sp=None
10-16 15:32 DEBUG WindowsBackend: windows_build=7600
10-16 15:32 DEBUG WindowsBackend: gmt=12
10-16 15:32 DEBUG WindowsBackend: country=NZ
10-16 15:32 DEBUG WindowsBackend: timezone=Pacific/Chatham
10-16 15:32 DEBUG WindowsBackend: windows_username=Evan
10-16 15:32 DEBUG WindowsBackend: user_full_name=Evan
10-16 15:32 DEBUG WindowsBackend: user_directory=C:\Users\Evan
10-16 15:32 DEBUG WindowsBackend: windows_language_code=1033
10-16 15:32 DEBUG WindowsBackend: windows_language=English
10-16 15:32 DEBUG WindowsBackend: processor_name=Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
10-16 15:32 DEBUG WindowsBackend: bootloader=vista
10-16 15:32 DEBUG WindowsBackend: system_drive=Drive(C: hd 13982.8242188 mb free ntfs)
10-16 15:32 DEBUG WindowsBackend: drive=Drive(C: hd 13982.8242188 mb free ntfs)
10-16 15:32 DEBUG WindowsBackend: drive=Drive(D: cd 0.0 mb free cdfs)
10-16 15:32 DEBUG WindowsBackend: drive=Drive(E: hd 18536.5429688 mb free ntfs)
10-16 15:33 INFO root: === wubi 11.10 rev241 ===
10-16 15:33 DEBUG root: Logfile is c:\users\evan\appdata\local\temp\wubi-11.10-rev241.log
10-16 15:33 DEBUG root: sys.argv = ['main.pyo', '--exefile="D:\\wubi.exe"', '--cdmenu']
10-16 15:33 DEBUG CommonBackend: data_dir=C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\data
10-16 15:33 DEBUG WindowsBackend: 7z=C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\bin\7z.exe
10-16 15:33 DEBUG WindowsBackend: startup_folder=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
10-16 15:33 DEBUG CommonBackend: Fetching basic info...
10-16 15:33 DEBUG CommonBackend: original_exe=D:\wubi.exe
10-16 15:33 DEBUG CommonBackend: platform=win32
10-16 15:33 DEBUG CommonBackend: osname=nt
10-16 15:33 DEBUG CommonBackend: language=en_NZ
10-16 15:33 DEBUG CommonBackend: encoding=cp1252
10-16 15:33 DEBUG WindowsBackend: arch=amd64
10-16 15:33 DEBUG CommonBackend: Parsing isolist=C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\data\isolist.ini
10-16 15:33 DEBUG CommonBackend: Adding distro Xubuntu-i386
10-16 15:33 DEBUG CommonBackend: Adding distro Xubuntu-amd64
10-16 15:33 DEBUG CommonBackend: Adding distro Kubuntu-amd64
10-16 15:33 DEBUG CommonBackend: Adding distro Mythbuntu-i386
10-16 15:33 DEBUG CommonBackend: Adding distro Ubuntu-amd64
10-16 15:33 DEBUG CommonBackend: Adding distro Ubuntu-i386
10-16 15:33 DEBUG CommonBackend: Adding distro Mythbuntu-amd64
10-16 15:33 DEBUG CommonBackend: Adding distro Kubuntu-i386
10-16 15:33 DEBUG WindowsBackend: Fetching host info...
10-16 15:33 DEBUG WindowsBackend: registry_key=Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
10-16 15:33 DEBUG WindowsBackend: windows version=vista
10-16 15:33 DEBUG WindowsBackend: windows_version2=Windows 7 Home Premium
10-16 15:33 DEBUG WindowsBackend: windows_sp=None
10-16 15:33 DEBUG WindowsBackend: windows_build=7600
10-16 15:33 DEBUG WindowsBackend: gmt=12
10-16 15:33 DEBUG WindowsBackend: country=NZ
10-16 15:33 DEBUG WindowsBackend: timezone=Pacific/Chatham
10-16 15:33 DEBUG WindowsBackend: windows_username=Evan
10-16 15:33 DEBUG WindowsBackend: user_full_name=Evan
10-16 15:33 DEBUG WindowsBackend: user_directory=C:\Users\Evan
10-16 15:33 DEBUG WindowsBackend: windows_language_code=1033
10-16 15:33 DEBUG WindowsBackend: windows_language=English
10-16 15:33 DEBUG WindowsBackend: processor_name=Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
10-16 15:33 DEBUG WindowsBackend: bootloader=vista
10-16 15:33 DEBUG WindowsBackend: system_drive=Drive(C: hd 13973.8359375 mb free ntfs)
10-16 15:33 DEBUG WindowsBackend: drive=Drive(C: hd 13973.8359375 mb free ntfs)
10-16 15:33 DEBUG WindowsBackend: drive=Drive(D: cd 0.0 mb free cdfs)
10-16 15:33 DEBUG WindowsBackend: drive=Drive(E: hd 18536.5429688 mb free ntfs)
10-16 15:34 INFO root: === wubi 11.10 rev241 ===
10-16 15:34 DEBUG root: Logfile is c:\users\evan\appdata\local\temp\wubi-11.10-rev241.log
10-16 15:34 DEBUG root: sys.argv = ['main.pyo', '--exefile="D:\\wubi.exe"', '--cdmenu']
10-16 15:34 DEBUG CommonBackend: data_dir=C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\data
10-16 15:34 DEBUG WindowsBackend: 7z=C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\bin\7z.exe
10-16 15:34 DEBUG WindowsBackend: startup_folder=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
10-16 15:34 DEBUG CommonBackend: Fetching basic info...
10-16 15:34 DEBUG CommonBackend: original_exe=D:\wubi.exe
10-16 15:34 DEBUG CommonBackend: platform=win32
10-16 15:34 DEBUG CommonBackend: osname=nt
10-16 15:34 DEBUG CommonBackend: language=en_NZ
10-16 15:34 DEBUG CommonBackend: encoding=cp1252
10-16 15:34 DEBUG WindowsBackend: arch=amd64
10-16 15:34 DEBUG CommonBackend: Parsing isolist=C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\data\isolist.ini
10-16 15:34 DEBUG CommonBackend: Adding distro Xubuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Xubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Kubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Mythbuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Ubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Ubuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Mythbuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Kubuntu-i386
10-16 15:34 DEBUG WindowsBackend: Fetching host info...
10-16 15:34 DEBUG WindowsBackend: registry_key=Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
10-16 15:34 DEBUG WindowsBackend: windows version=vista
10-16 15:34 DEBUG WindowsBackend: windows_version2=Windows 7 Home Premium
10-16 15:34 DEBUG WindowsBackend: windows_sp=None
10-16 15:34 DEBUG WindowsBackend: windows_build=7600
10-16 15:34 DEBUG WindowsBackend: gmt=12
10-16 15:34 DEBUG WindowsBackend: country=NZ
10-16 15:34 DEBUG WindowsBackend: timezone=Pacific/Chatham
10-16 15:34 DEBUG WindowsBackend: windows_username=Evan
10-16 15:34 DEBUG WindowsBackend: user_full_name=Evan
10-16 15:34 DEBUG WindowsBackend: user_directory=C:\Users\Evan
10-16 15:34 DEBUG WindowsBackend: windows_language_code=1033
10-16 15:34 DEBUG WindowsBackend: windows_language=English
10-16 15:34 DEBUG WindowsBackend: processor_name=Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
10-16 15:34 DEBUG WindowsBackend: bootloader=vista
10-16 15:34 DEBUG WindowsBackend: system_drive=Drive(C: hd 13964.0585938 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(C: hd 13964.0585938 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(D: cd 0.0 mb free cdfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(E: hd 18536.5429688 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(F: cd 0.0 mb free cdfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(G: hd 1907579.02344 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(J: cd 0.0 mb free cdfs)
10-16 15:34 DEBUG WindowsBackend: uninstaller_path=None
10-16 15:34 DEBUG WindowsBackend: previous_target_dir=None
10-16 15:34 DEBUG WindowsBackend: previous_distro_name=None
10-16 15:34 DEBUG WindowsBackend: keyboard_id=67703817
10-16 15:34 DEBUG WindowsBackend: keyboard_layout=us
10-16 15:34 DEBUG WindowsBackend: keyboard_variant=
10-16 15:34 DEBUG CommonBackend: python locale=('en_NZ', 'cp1252')
10-16 15:34 DEBUG CommonBackend: locale=en_NZ.UTF-8
10-16 15:34 DEBUG WindowsBackend: total_memory_mb=2047.99999905
10-16 15:34 DEBUG CommonBackend: Searching ISOs on USB devices
10-16 15:34 INFO root: === wubi 11.10 rev241 ===
10-16 15:34 DEBUG root: Logfile is c:\users\evan\appdata\local\temp\wubi-11.10-rev241.log
10-16 15:34 DEBUG root: sys.argv = ['main.pyo', '--exefile="D:\\wubi.exe"', '--cdmenu']
10-16 15:34 DEBUG CommonBackend: data_dir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\data
10-16 15:34 DEBUG WindowsBackend: 7z=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\bin\7z.exe
10-16 15:34 DEBUG WindowsBackend: startup_folder=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
10-16 15:34 DEBUG CommonBackend: Fetching basic info...
10-16 15:34 DEBUG CommonBackend: original_exe=D:\wubi.exe
10-16 15:34 DEBUG CommonBackend: platform=win32
10-16 15:34 DEBUG CommonBackend: osname=nt
10-16 15:34 DEBUG CommonBackend: language=en_NZ
10-16 15:34 DEBUG CommonBackend: encoding=cp1252
10-16 15:34 DEBUG WindowsBackend: arch=amd64
10-16 15:34 DEBUG CommonBackend: Parsing isolist=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\data\isolist.ini
10-16 15:34 DEBUG CommonBackend: Adding distro Xubuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Xubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Kubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Mythbuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Ubuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Ubuntu-i386
10-16 15:34 DEBUG CommonBackend: Adding distro Mythbuntu-amd64
10-16 15:34 DEBUG CommonBackend: Adding distro Kubuntu-i386
10-16 15:34 DEBUG WindowsBackend: Fetching host info...
10-16 15:34 DEBUG WindowsBackend: registry_key=Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
10-16 15:34 DEBUG WindowsBackend: windows version=vista
10-16 15:34 DEBUG WindowsBackend: windows_version2=Windows 7 Home Premium
10-16 15:34 DEBUG WindowsBackend: windows_sp=None
10-16 15:34 DEBUG WindowsBackend: windows_build=7600
10-16 15:34 DEBUG WindowsBackend: gmt=12
10-16 15:34 DEBUG WindowsBackend: country=NZ
10-16 15:34 DEBUG WindowsBackend: timezone=Pacific/Chatham
10-16 15:34 DEBUG WindowsBackend: windows_username=Evan
10-16 15:34 DEBUG WindowsBackend: user_full_name=Evan
10-16 15:34 DEBUG WindowsBackend: user_directory=C:\Users\Evan
10-16 15:34 DEBUG WindowsBackend: windows_language_code=1033
10-16 15:34 DEBUG WindowsBackend: windows_language=English
10-16 15:34 DEBUG WindowsBackend: processor_name=Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
10-16 15:34 DEBUG WindowsBackend: bootloader=vista
10-16 15:34 DEBUG WindowsBackend: system_drive=Drive(C: hd 13953.53125 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(C: hd 13953.53125 mb free ntfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(D: cd 0.0 mb free cdfs)
10-16 15:34 DEBUG WindowsBackend: drive=Drive(E: hd 18536.5429688 mb free ntfs)
10-16 15:35 DEBUG CommonBackend: Searching for local CDs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Ubuntu CD
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Ubuntu CD
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Kubuntu CD
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Kubuntu CD
10-16 15:35 DEBUG WindowsBackend: drive=Drive(F: cd 0.0 mb free cdfs)
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG WindowsBackend: drive=Drive(G: hd 1907579.02344 mb free ntfs)
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Xubuntu CD
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Xubuntu CD
10-16 15:35 DEBUG WindowsBackend: drive=Drive(J: cd 0.0 mb free cdfs)
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Mythbuntu CD
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG WindowsBackend: uninstaller_path=None
10-16 15:35 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp is a valid Mythbuntu CD
10-16 15:35 DEBUG WindowsBackend: previous_target_dir=None
10-16 15:35 DEBUG WindowsBackend: previous_distro_name=None
10-16 15:35 DEBUG WindowsBackend: keyboard_id=67703817
10-16 15:35 DEBUG WindowsBackend: keyboard_layout=us
10-16 15:35 DEBUG WindowsBackend: keyboard_variant=
10-16 15:35 DEBUG CommonBackend: python locale=('en_NZ', 'cp1252')
10-16 15:35 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\casper\filesystem.squashfs
10-16 15:35 DEBUG CommonBackend: locale=en_NZ.UTF-8
10-16 15:35 DEBUG WindowsBackend: total_memory_mb=2047.99999905
10-16 15:35 DEBUG CommonBackend: Searching ISOs on USB devices
10-16 15:35 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
10-16 15:35 DEBUG Distro: parsing info from str=Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
10-16 15:35 DEBUG Distro: parsed info={'name': 'Ubuntu', 'subversion': 'Release', 'version': '11.10', 'build': '20111012', 'codename': 'Oneiric Ocelot', 'arch': 'i386'}
10-16 15:35 INFO Distro: Found a valid CD for Ubuntu: D:\
10-16 15:35 INFO root: Running the CD menu...
10-16 15:35 DEBUG WindowsFrontend: __init__...
10-16 15:35 DEBUG WindowsFrontend: on_init...
10-16 15:35 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\translations, languages=['en_NZ', 'en']
10-16 15:35 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylECFC.tmp\translations, languages=['en_NZ', 'en']
10-16 15:36 DEBUG WindowsBackend: drive=Drive(F: cd 0.0 mb free cdfs)
10-16 15:36 DEBUG WindowsBackend: drive=Drive(G: hd 1907579.02344 mb free ntfs)
10-16 15:36 DEBUG WindowsBackend: drive=Drive(J: cd 0.0 mb free cdfs)
10-16 15:36 DEBUG WindowsBackend: uninstaller_path=None
10-16 15:36 DEBUG WindowsBackend: previous_target_dir=None
10-16 15:36 DEBUG WindowsBackend: previous_distro_name=None
10-16 15:36 DEBUG WindowsBackend: keyboard_id=67703817
10-16 15:36 DEBUG WindowsBackend: keyboard_layout=us
10-16 15:36 DEBUG WindowsBackend: keyboard_variant=
10-16 15:36 DEBUG CommonBackend: python locale=('en_NZ', 'cp1252')
10-16 15:36 DEBUG CommonBackend: locale=en_NZ.UTF-8
10-16 15:36 DEBUG WindowsBackend: total_memory_mb=2047.99999905
10-16 15:36 DEBUG CommonBackend: Searching ISOs on USB devices
10-16 15:36 DEBUG CommonBackend: Searching for local CDs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Ubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Ubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Kubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Kubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Xubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Xubuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Mythbuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp is a valid Mythbuntu CD
10-16 15:36 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\casper\filesystem.squashfs
10-16 15:36 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
10-16 15:36 DEBUG Distro: parsing info from str=Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
10-16 15:36 DEBUG Distro: parsed info={'name': 'Ubuntu', 'subversion': 'Release', 'version': '11.10', 'build': '20111012', 'codename': 'Oneiric Ocelot', 'arch': 'i386'}
10-16 15:36 INFO Distro: Found a valid CD for Ubuntu: D:\
10-16 15:36 INFO root: Running the CD menu...
10-16 15:36 DEBUG WindowsFrontend: __init__...
10-16 15:36 DEBUG WindowsFrontend: on_init...
10-16 15:36 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\translations, languages=['en_NZ', 'en']
10-16 15:36 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylBEBC.tmp\translations, languages=['en_NZ', 'en']
10-16 15:37 DEBUG WindowsBackend: drive=Drive(F: cd 0.0 mb free cdfs)
10-16 15:37 DEBUG WindowsBackend: drive=Drive(G: hd 1907579.02344 mb free ntfs)
10-16 15:37 DEBUG CommonBackend: Searching for local CDs
10-16 15:37 DEBUG WindowsBackend: drive=Drive(J: cd 0.0 mb free cdfs)
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Ubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG WindowsBackend: uninstaller_path=None
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Ubuntu CD
10-16 15:37 DEBUG WindowsBackend: previous_target_dir=None
10-16 15:37 DEBUG WindowsBackend: previous_distro_name=None
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG WindowsBackend: keyboard_id=67703817
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Kubuntu CD
10-16 15:37 DEBUG WindowsBackend: keyboard_layout=us
10-16 15:37 DEBUG WindowsBackend: keyboard_variant=
10-16 15:37 DEBUG CommonBackend: python locale=('en_NZ', 'cp1252')
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG CommonBackend: locale=en_NZ.UTF-8
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Kubuntu CD
10-16 15:37 DEBUG WindowsBackend: total_memory_mb=2047.99999905
10-16 15:37 DEBUG CommonBackend: Searching ISOs on USB devices
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Xubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Xubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Mythbuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp is a valid Mythbuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
10-16 15:37 DEBUG Distro: parsing info from str=Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
10-16 15:37 DEBUG Distro: parsed info={'name': 'Ubuntu', 'subversion': 'Release', 'version': '11.10', 'build': '20111012', 'codename': 'Oneiric Ocelot', 'arch': 'i386'}
10-16 15:37 INFO Distro: Found a valid CD for Ubuntu: D:\
10-16 15:37 INFO root: Running the CD menu...
10-16 15:37 DEBUG WindowsFrontend: __init__...
10-16 15:37 DEBUG WindowsFrontend: on_init...
10-16 15:37 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\translations, languages=['en_NZ', 'en']
10-16 15:37 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pyl86EA.tmp\translations, languages=['en_NZ', 'en']
10-16 15:37 DEBUG CommonBackend: Searching for local CDs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Ubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Ubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Kubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Kubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Xubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Xubuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Mythbuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp is a valid Mythbuntu CD
10-16 15:37 DEBUG Distro: does not contain C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\casper\filesystem.squashfs
10-16 15:37 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
10-16 15:37 DEBUG Distro: parsing info from str=Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
10-16 15:37 DEBUG Distro: parsed info={'name': 'Ubuntu', 'subversion': 'Release', 'version': '11.10', 'build': '20111012', 'codename': 'Oneiric Ocelot', 'arch': 'i386'}
10-16 15:37 INFO Distro: Found a valid CD for Ubuntu: D:\
10-16 15:37 INFO root: Running the CD menu...
10-16 15:37 DEBUG WindowsFrontend: __init__...
10-16 15:37 DEBUG WindowsFrontend: on_init...
10-16 15:37 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\translations, languages=['en_NZ', 'en']
10-16 15:37 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\translations, languages=['en_NZ', 'en']
10-16 15:37 DEBUG WindowsFrontend: frontend.on_quit
10-16 15:37 DEBUG root: application.on_quit
10-16 15:37 INFO root: sys.exit
10-16 15:38 INFO root: CD menu finished
10-16 15:38 INFO root: Running the CD boot helper...
10-16 15:38 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\translations, languages=['en_NZ', 'en']
10-16 15:38 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\translations, languages=['en_NZ', 'en']
10-16 15:38 INFO root: CD boot helper confirmed
10-16 15:38 INFO WinuiPage: appname=wubi, localedir=C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\translations, languages=['en_NZ', 'en']
10-16 15:38 DEBUG TaskList: # Running tasklist...
10-16 15:38 DEBUG TaskList: ## Running select_target_dir...
10-16 15:38 INFO WindowsBackend: Installing into C:\ubuntu
10-16 15:38 DEBUG TaskList: ## Finished select_target_dir
10-16 15:38 DEBUG TaskList: ## Running create_dir_structure...
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\disks
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\install
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\install\boot
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\disks\boot
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\disks\boot\grub
10-16 15:38 DEBUG CommonBackend: Creating dir C:\ubuntu\install\boot\grub
10-16 15:38 DEBUG TaskList: ## Finished create_dir_structure
10-16 15:38 DEBUG TaskList: ## Running uncompress_target_dir...
10-16 15:38 DEBUG TaskList: ## Finished uncompress_target_dir
10-16 15:38 DEBUG TaskList: ## Running create_uninstaller...
10-16 15:38 DEBUG WindowsBackend: Copying uninstaller D:\wubi.exe -> C:\ubuntu\uninstall-wubi.exe
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi UninstallString C:\ubuntu\uninstall-wubi.exe
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi InstallationDir C:\ubuntu
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayName Ubuntu
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayIcon C:\ubuntu\Ubuntu.ico
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayVersion 11.10-rev241
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi Publisher Ubuntu
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi URLInfoAbout http://www.ubuntu.com
10-16 15:38 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi HelpLink http://www.ubuntu.com/support
10-16 15:38 DEBUG TaskList: ## Finished create_uninstaller
10-16 15:38 DEBUG TaskList: ## Running copy_installation_files...
10-16 15:38 DEBUG WindowsBackend: Copying C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\data\custom-installation -> C:\ubuntu\install\custom-installation
10-16 15:38 DEBUG WindowsBackend: Copying C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\winboot -> C:\ubuntu\winboot
10-16 15:38 DEBUG WindowsBackend: Copying C:\Users\Evan\AppData\Local\Temp\pylF92C.tmp\data\images\Ubuntu.ico -> C:\ubuntu\Ubuntu.ico
10-16 15:38 DEBUG TaskList: ## Finished copy_installation_files
10-16 15:38 DEBUG TaskList: ## Running use_cd...
10-16 15:38 ERROR TaskList: 'WindowsBackend' object has no attribute 'cd_path'
Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\backend.py", line 537, in use_cd
AttributeError: 'WindowsBackend' object has no attribute 'cd_path'
10-16 15:38 DEBUG TaskList: # Cancelling tasklist
10-16 15:38 DEBUG TaskList: # Finished tasklist
10-16 15:38 ERROR root: 'WindowsBackend' object has no attribute 'cd_path'
Traceback (most recent call last):
  File "\lib\wubi\application.py", line 58, in run
  File "\lib\wubi\application.py", line 130, in select_task
  File "\lib\wubi\application.py", line 205, in run_cd_menu
  File "\lib\wubi\application.py", line 122, in select_task
  File "\lib\wubi\application.py", line 228, in run_cd_boot
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\backend.py", line 537, in use_cd
AttributeError: 'WindowsBackend' object has no attribute 'cd_path'

Related branches

bcbc (bcbc)
description: updated
bcbc (bcbc)
summary: - AttributeError: 'WindowsBackend' object has no attribute 'cd_path'
+ Confusing error message: AttributeError: 'WindowsBackend' object has no
+ attribute 'cd_path'
Revision history for this message
maheshjagadeesan (maheshj) wrote :

I have the same problem as well. I am on Windows XP SP3 on my office PC, but can't boot off the CD due to BIOS password restrictions and a hard-disk-first boot order.

When I ran the wubi.exe executable from the Live CD, it got to the point where it tries to install the boot manager (which is supposed to help me boot a Live CD using some clever trick), but it fails with the same error as above. I attach the log file wubi-11.10-rev241.log.

When I ran a standalone version of Wubi with the CD still in the drive, I got the same error, but with a slightly smaller log file (wubi-11.10-rev245.log)

Revision history for this message
maheshjagadeesan (maheshj) wrote :

Second attachment as per the above comment

Changed in wubi:
importance: Undecided → Medium
bcbc (bcbc)
Changed in wubi:
status: New → Confirmed
description: updated
Revision history for this message
bcbc (bcbc) wrote :

These errors are very confusing and means that - in order to get help - they either have to be able to read and understand the Wubi log file, or post it somewhere for someone to read.

These problems are caused by coding bugs. Wubi needs to exit when it encounters the 'salient' error e.g. "ISO is the wrong size". Rather than setting the attributes to "None" and then continuing to try something new. It eventually is encountering some code that expects the attribute to be set, and throws the exceptions. At least this is my analysis.

These new confusing messages were introduced in 11.10 - probably when the preinstalled image install was introduced.

PS here is a link to a partial log file where the latest message I added was taken from:
http://askubuntu.com/questions/106575/how-can-i-resolve-a-windows-backend-object-has-no-attribute-iso-path-error-wh

Revision history for this message
bcbc (bcbc) wrote :

PS when trying to test I managed to install using a USB stick. It should have failed but allowed it to pass since it's an alpha release (?)

02-22 13:33 DEBUG Distro: checking Ubuntu ISO C:\ubuntu\install\installation.iso
02-22 13:33 DEBUG Distro: wrong size: 2095054848 > 900000000
02-22 13:33 DEBUG TaskList: ### Finished check_iso
02-22 13:33 ERROR CommonBackend: CD check failed, but ignoring because CD is Alpha

I'm trying to reproduce the problem in Precise so I can get a stack trace in the latest wubi code.

tags: added: precise
Revision history for this message
bcbc (bcbc) wrote :

I added a bypass to that check (without changing line numbers, so this should be good for precise code):

02-22 15:30 DEBUG TaskList: New task check_iso
02-22 15:30 DEBUG TaskList: ### Running check_iso...
02-22 15:30 DEBUG CommonBackend: Checking C:\ubuntu\install\installation.iso
02-22 15:30 DEBUG Distro: checking Ubuntu ISO C:\ubuntu\install\installation.iso
02-22 15:30 DEBUG Distro: wrong size: 2095054848 > 900000000
02-22 15:30 DEBUG TaskList: ### Finished check_iso
02-22 15:30 ERROR TaskList: 'WindowsBackend' object has no attribute 'iso_path'
Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\backend.py", line 593, in get_iso
  File "\lib\wubi\backends\common\backend.py", line 572, in use_iso
AttributeError: 'WindowsBackend' object has no attribute 'iso_path'
02-22 15:30 DEBUG TaskList: # Cancelling tasklist
02-22 15:30 DEBUG TaskList: # Finished tasklist
02-22 15:30 ERROR root: 'WindowsBackend' object has no attribute 'iso_path'
Traceback (most recent call last):
  File "\lib\wubi\application.py", line 58, in run
  File "\lib\wubi\application.py", line 130, in select_task
  File "\lib\wubi\application.py", line 205, in run_cd_menu
  File "\lib\wubi\application.py", line 120, in select_task
  File "\lib\wubi\application.py", line 158, in run_installer
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\backend.py", line 593, in get_iso
  File "\lib\wubi\backends\common\backend.py", line 572, in use_iso
AttributeError: 'WindowsBackend' object has no attribute 'iso_path'

Revision history for this message
bcbc (bcbc) wrote :

I just wanted to clarify this. The message: 'WindowsBackend' object has no attribute 'iso_path' occurs when installing Wubi and there is something wrong with the CD.

The message: 'WindowsBackend' object has no attribute 'cd_path' occurs when using the CD boot helper (to use Wubi to help boot a live CD).

These are two separate tasks, so probably should have two separate bugs. I have a one line fix for the first, but it's still unsatisfactory because it still goes on to fail with the end message being that it "Could not download the metalink therefore the CD etc. " If it is going to 'keep going' with the install after finding a bad CD, fine, but if it's always going to fail then it should do so with the relevant message i.e. bad md5sum or size mismatch etc. So I'll investigate that some more. When I've got something I'll create another bug and attach my results there.

The CD boot helper is used less commonly. It's easy enough to fix the meaningless error message by making sure the attribute is defined, but I haven't got it to complete successfully after that so there's a little more to the puzzle.

Changed in wubi:
status: Confirmed → Triaged
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/944282

tags: added: iso-testing
Changed in wubi:
status: Triaged → Fix Committed
Revision history for this message
bcbc (bcbc) wrote :

I've just tested this fix on the current daily...
1. burn cd from latest precise-desktop- i386.iso
2. boot into windows, insert the CD
3. select 1st option "Demo and full installation", then option 3 "Help me to boot from CD"
4. Everything runs - only confusing bit is that it Ejects the CD at the end and instructs to reboot to complete. This is true for a normal Wubi install, but not for the CD boot helper, which requires the CD in the drive.
5. Reboot, select Ubuntu (running on XP, not sure if Vista/7 will auto boot into Ubuntu)
6. Another confusing bit: it gives the 5 second countdown with the message "Completing the install, press ESC for more options". This is appropriate for the normal Wubi install, not the CD boot helper.
7. It boots from CD, direct to the live desktop.

So, in summary. The fix restores the previous functionality of the cd boot helper.
(The confusing bits are already reported in bug 759352 )

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.