[Bug 608741] Re: adding image via commandline does not work correctly
Thomas Boehm
608741 at bugs.launchpad.net
Fri Oct 25 13:42:52 UTC 2013
This bug is not fixed or it reappeared. I'm running 0.2.38.2 and none of
the "workorounds" worked.
--
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/608741
Title:
adding image via commandline does not work correctly
Status in “usb-creator” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: usb-creator
Specifying -i or --iso via commandline and passing a iso filename does
not work if the executable bit is not set on the file.
This occurs because 'os.path.exists' fails if the executable bit is
not set on the file. The following fixes that:
--- backend.py 2010-05-19 15:51:37.927084000 -0230
+++ /usr/share/pyshared/usbcreator/backends/base/backend.py 2010-07-22 10:49:33.129616766 -0230
@@ -21,7 +21,8 @@
def add_image(self, filename):
logging.debug('Backend told to add: %s' % filename)
filename = os.path.abspath(os.path.expanduser(filename))
- if not os.path.exists(filename):
+ if not os.path.isfile(filename):
+ logging.debug('Missing in action: %s' % filename)
return
if filename in self.sources:
logging.warn('Source already added.')
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/608741/+subscriptions
More information about the foundations-bugs
mailing list