[Bug 707749] Re: ValueError: Invalid version string

Stéphane 707749 at bugs.launchpad.net
Sun Jul 7 09:39:28 UTC 2013


Today I tried  to use usb-creator on the following disk images:
kubuntu-13.04-desktop-amd64.iso
debian-live-7.0.0-amd64-kde-desktop.iso

usb-creator worked fine with the Kubuntu image but failed to work with the Debian image.
I used the same USB flash drive twice.
The error message with the Debian image was:
Invalid version string 'GNU/Linux'

This is the OS version displayed by usb-creator for kubuntu-13.04-desktop-amd64.iso:
Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)

And this is the OS version displayed by usb-creator for debian-live-7.0.0-amd64-kde-desktop.iso:
Debian GNU/Linux 7.0.0 "Wheezy" - Official Snapshot amd64 LIVE/INSTALL Binary 20130505-13:41

I have the feeling that usb-creator chokes on slashes in the version
string.

-- 
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/707749

Title:
  ValueError: Invalid version string

Status in “usb-creator” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: usb-creator

  install.mangle_syslinux misuses debian_support.Version to compare
  release versions against each other. This can cause an unexpected
  exception (ValueError: Invalid version string %s) if the value it
  retrieves from .disk/info isn't a valid version for a Debian package.

  usb-creator either should stop abusing debian_support.Version and/or
  catch this exception and set target_os_ver to None.

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




More information about the foundations-bugs mailing list