I think that I have isolated where in the wubi code these dialogs pop up. 
The first set are when GetDiskFreeSpaceExW is called at line 69 in 
backends/win32/drive.py. The second set are when glob.glob is called at line 
650 in backends/common/backend.py

If it is a CD or USB card reader from which the media has been removed,
you get the "Please insert disk message". If it is a card reader than
has not had a card in since it was mounted, you get the Exception Error.

The solution might be to check filesystem in the __init__ method of Drive and 
set type = None if filesystem is blank. 
I attach a patch that does that (patch at lines 43-50)


** Attachment added: "drive.py"
   http://launchpadlibrarian.net/51326196/drive.py

-- 
wubi installer's pyrun.exe says "no disk"
https://bugs.launchpad.net/bugs/365881
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to