Bug 567899

Summary: Liveusb-creator doesn't like unicode
Product: [Fedora] Fedora Reporter: Thomas Ahle <thomas>
Component: liveusb-creatorAssignee: Luke Macken <lmacken>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: christoph.wickert, lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-29 11:07:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Ahle 2010-02-24 09:12:57 UTC
Description of problem:
If your usb-key is formated with a unicode name, liveusb-creator wont start.

How reproducible:
100%

Steps to Reproduce:
1. Rename your key to something with a unicode character
2. Try to start liveusb-creator
  
Actual results:
Traceback (most recent call last):
  File "/usr/sbin/liveusb-creator", line 87, in <module>
    main()
  File "/usr/sbin/liveusb-creator", line 82, in main
    LiveUSBApp(opts, sys.argv)
  File "/usr/lib/python2.6/site-packages/liveusb/gui.py", line 55, in __init__
    self.mywindow = LiveUSBDialog(opts, args)
  File "/usr/lib/python2.6/site-packages/liveusb/gui.py", line 255, in __init__
    self.populate_devices()
  File "/usr/lib/python2.6/site-packages/liveusb/gui.py", line 284, in populate_devices
    self.live.detect_removable_drives()
  File "/usr/lib/python2.6/site-packages/liveusb/creator.py", line 425, in detect_removable_drives
    self._add_device(child, parent=dev)
  File "/usr/lib/python2.6/site-packages/liveusb/creator.py", line 448, in _add_device
    mount = str(dev.GetProperty('volume.mount_point'))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 8: ordinal not in range(128)

Expected results:
Normal start

Comment 1 Bug Zapper 2010-11-03 21:27:04 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Christoph Wickert 2010-11-29 11:07:07 UTC
We have a more recent bug report in bug 590232, closing.

*** This bug has been marked as a duplicate of bug 590232 ***