[Bug 1497431] Re: NameError Traceback running usb-creator-gtk from CLI
Jeff Lane
jeffrey.lane at canonical.com
Fri Sep 18 19:51:35 UTC 2015
The traceback is only revealed on console if I try to exit usb-creator-
gtk via a CTRL-C. See the screenshot attached for what the user sees
without ctrl-c from CLI
Note, to reveal that trace, I had to do the following:
1: Call tool
$ usb-creator-gtk --show-all
2: When the error dialog opens, hit CTRL-C inside the terminal that the
tool was launched from
3: Return to the GTW window and click the Close button on the error
dialog
Then the app closes and the trace is dumped to console.
The trace is NOT dumped to console if I only click the Close button on
the error dialog.
** Attachment added: "usb-creator-unhandled-exception.png"
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1497431/+attachment/4468055/+files/usb-creator-unhandled-exception.png
--
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/1497431
Title:
NameError Traceback running usb-creator-gtk from CLI
Status in usb-creator package in Ubuntu:
New
Bug description:
bladernr at sulaco:~$ usb-creator-gtk --show-all
^CTraceback (most recent call last):
File "/usr/bin/usb-creator-gtk", line 74, in <module>
allow_system_internal=options.allow_system_internal)
File "/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py", line 185, in __init__
self.backend.detect_devices()
File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 73, in detect_devices
self._udisks_obj_added(obj)
File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 98, in _udisks_obj_added
self._udisks_partition_added(obj, block, drive, path)
File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 183, in _udisks_partition_added
self.target_added_cb(device)
NameError: name 'device' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py", line 523, in column_data_func
def column_data_func(layout, cell, model, iterator, column):
KeyboardInterrupt
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: usb-creator-gtk 0.2.56.3ubuntu0.2
ProcVersionSignature: Ubuntu 3.13.0-62.101-generic 3.13.11-ckt24
Uname: Linux 3.13.0-62-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Sep 18 15:46:02 2015
InstallationDate: Installed on 2012-03-15 (1281 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120307)
SourcePackage: usb-creator
UpgradeStatus: Upgraded to trusty on 2014-04-20 (516 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1497431/+subscriptions
More information about the foundations-bugs
mailing list