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

Steve_Bz 1208129 at bugs.launchpad.net
Sun Aug 31 09:48:22 UTC 2014


It's still here.  I'm trying to create a clonezilla key with usb-
creator-kde (from command line) on trusty.

Here's the trace:

--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.4/logging/handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python3.4/logging/handlers.py", line 187, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python3.4/logging/__init__.py", line 814, in format
    return fmt.format(record)
  File "/usr/lib/python3.4/logging/__init__.py", line 559, in format
    record.exc_text = self.formatException(record.exc_info)
  File "/usr/lib/python3.4/logging/__init__.py", line 509, in formatException
    traceback.print_exception(ei[0], ei[1], tb, None, sio)
  File "/usr/lib/python3.4/traceback.py", line 169, in print_exception
    for line in _format_exception_iter(etype, value, tb, limit, chain):
  File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter
    for value, tb in values:
  File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain
    context = exc.__context__
AttributeError: 'NoneType' object has no attribute '__context__'
Call stack:
  File "/usr/bin/usb-creator-kde", line 110, in <module>
    sys.exit(app.exec_())
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 249, in <lambda>
    lambda: self.__timeout_callback(func, *args))
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 226, in __timeout_callback
    active = func(*args)
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 104, in test_func
    func()
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 48, in <lambda>
    queue.put(lambda: func(*args))
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 509, in failure
    self.__fail(message)
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py", line 233, in __fail
    logging.exception('Installation failed.')
Message: 'Installation failed.'

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