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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1208129

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

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

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

Reply via email to