Public bug reported:
Binary package hint: usb-creator
using trunk version, compiled on Debian testing, I have the following
errors:
<pre>
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/site-packages/usbcreator/install.py", line 148, in
run
self._failure(_('An uncaught exception was raised:\n%s') % str(e))
File "/usr/lib/python2.5/site-packages/usbcreator/install.py", line 93, in
_failure
if self.progress_thread and self.progress_thread.is_alive():
AttributeError: 'progress' object has no attribute 'is_alive'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/usbcreator/frontends/gtk/frontend.py",
line 660, in quit
self.backend.cancel_install()
File
"/usr/lib/python2.5/site-packages/usbcreator/backends/udisks/backend.py", line
310, in cancel_install
Backend.cancel_install(self)
File "/usr/lib/python2.5/site-packages/usbcreator/backends/base/backend.py",
line 189, in cancel_install
if self.install_thread and self.install_thread.is_alive():
AttributeError: 'install' object has no attribute 'is_alive'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/usbcreator/frontends/gtk/frontend.py",
line 660, in quit
self.backend.cancel_install()
File
"/usr/lib/python2.5/site-packages/usbcreator/backends/udisks/backend.py", line
310, in cancel_install
Backend.cancel_install(self)
File "/usr/lib/python2.5/site-packages/usbcreator/backends/base/backend.py",
line 189, in cancel_install
if self.install_thread and self.install_thread.is_alive():
AttributeError: 'install' object has no attribute 'is_alive'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/usbcreator/frontends/gtk/frontend.py",
line 660, in quit
self.backend.cancel_install()
File
"/usr/lib/python2.5/site-packages/usbcreator/backends/udisks/backend.py", line
310, in cancel_install
Backend.cancel_install(self)
File "/usr/lib/python2.5/site-packages/usbcreator/backends/base/backend.py",
line 189, in cancel_install
if self.install_thread and self.install_thread.is_alive():
AttributeError: 'install' object has no attribute 'is_alive'
</pre>
This is due to the use of is_alive method which is not available in python <
2.6 (see
http://groups.google.com/group/robotframework-devel/msg/7d1ec233dc392670?pli=1).
Solution: in usbcreator/install.py, replace all is_alive by isAlive.
** Affects: usb-creator (Ubuntu)
Importance: Undecided
Status: New
--
Doesn't work on Debian, because using is_alive instead of isAlive
https://bugs.launchpad.net/bugs/565375
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs