[Bug 1208129] Re: Compares NoneType() and str(), hence fails to make bootable usb

Yu Ning ning.yu at canonical.com
Tue Dec 2 11:41:38 UTC 2014


Thank you Jason (jasongaiser), with your debugging result I propose a
patch for the issue, it will improve the code in two points:

1. use regex to detect the os version, so 'Ubuntu Remix 14.04' is also supported
2. check whether os ver is successfully detected in need_syslinux_legacy()

however I have a concern about it, in need_syslinux_legacy() before
checking for version we should first check if it is an Ubuntu image. For
example Debian Wheezy has version string 7.7.0, which will cause
need_syslinux_legacy() to return True.

** Patch added: "match-os-ver.patch"
   https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1208129/+attachment/4272797/+files/match-os-ver.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1208129

Title:
  Compares NoneType() and str(), hence fails to make bootable usb

Status in usb-creator package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu version: 13.04 with all updates

  Steps to reproduce:
  1. Open usb-creator-gtk or usb-creator-kde
  2. Browse required iso and try to make a usb bootable
  3. Then just after it starts copying files, an error dialog box with following message appears.
  "An uncaught exception was raised: unorderable types: NoneType() <= str()"
  In gtk version dialog box title is "Installation failed", in kde it is "Error - startup disk creator".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1208129/+subscriptions



More information about the foundations-bugs mailing list