Bug 1035248 - [abrt] livecd-tools-19.6-1.fc19: errors.py:45:__unicode__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)
Summary: [abrt] livecd-tools-19.6-1.fc19: errors.py:45:__unicode__:UnicodeDecodeError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a5a68efc11b1a04c7be8a59f7ce...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 11:30 UTC by Frank Büttner
Modified: 2014-02-26 14:01 UTC (History)
7 users (show)

Fixed In Version: livecd-tools-20.4-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-26 14:01:35 UTC
Type: ---


Attachments (Terms of Use)
File: RHEL6.cfg (9.29 KB, text/plain)
2013-11-27 11:30 UTC, Frank Büttner
no flags Details
File: backtrace (722 bytes, text/plain)
2013-11-27 11:30 UTC, Frank Büttner
no flags Details
File: environ (2.11 KB, text/plain)
2013-11-27 11:30 UTC, Frank Büttner
no flags Details

Description Frank Büttner 2013-11-27 11:30:15 UTC
Description of problem:
create an live cd for CentOS 6.4 x86_64

Version-Release number of selected component:
livecd-tools-19.6-1.fc19

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python -tt /usr/bin/livecd-creator --verbose RHEL6.cfg --fslabel=XXX '--product=XXX' '--title=XXX' --cache=/var/cache/live/RHEL6
dso_list:       python-imgcreate-19.6-1.fc19.x86_64
executable:     /usr/bin/livecd-creator
kernel:         3.11.9-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
errors.py:45:__unicode__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 237, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 227, in main
    logging.error(u"Error creating Live CD : %s" % e)
  File "/usr/lib/python2.7/site-packages/imgcreate/errors.py", line 45, in __unicode__
    return unicode(self.message)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)

Local variables in innermost frame:
self: CreatorError("Failed to find package 'thunderbird-enigmail' : Kein(e) Paket(e) zum Installieren verf\xc3\xbcgbar.",)

Comment 1 Frank Büttner 2013-11-27 11:30:27 UTC
Created attachment 829641 [details]
File: RHEL6.cfg

Comment 2 Frank Büttner 2013-11-27 11:30:31 UTC
Created attachment 829642 [details]
File: backtrace

Comment 3 Frank Büttner 2013-11-27 11:30:36 UTC
Created attachment 829643 [details]
File: environ

Comment 4 Florian Hubold 2013-12-17 18:04:30 UTC
(In reply to Frank Büttner from comment #0)
[...]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 86:
> ordinal not in range(128)
> 
> Local variables in innermost frame:
> self: CreatorError("Failed to find package 'thunderbird-enigmail' : Kein(e)
> Paket(e) zum Installieren verf\xc3\xbcgbar.",)


Confirmed here too, cause is the german Umlaut "ü" which is not escaped/handled properly (which comes from the yum error message Kein(e)
> Paket(e) zum Installieren verf\xc3\xbcgbar." 
-> translated in english "No package(s) available to install") and then livecd-creator crashes.


Bad thing is that it crashes trying to output the error message, so that's pretty tricky to figure out why livecd-creator fails at all.


Can be workarounded by temporarily switching to C locale:

LC_ALL=C livecd-creator ....

Comment 5 Fedora Update System 2014-01-31 22:59:56 UTC
livecd-tools-20.4-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/livecd-tools-20.4-1.fc20

Comment 6 Fedora Update System 2014-02-01 00:52:37 UTC
livecd-tools-19.9-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/livecd-tools-19.9-1.fc19

Comment 7 Fedora Update System 2014-02-03 02:39:08 UTC
Package livecd-tools-20.4-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing livecd-tools-20.4-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1911/livecd-tools-20.4-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-02-26 13:59:13 UTC
livecd-tools-19.9-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-02-26 14:01:35 UTC
livecd-tools-20.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.