Bug 859163 - UnicodeDecodeError when trying to create automatic partition layout
Summary: UnicodeDecodeError when trying to create automatic partition layout
Keywords:
Status: CLOSED DUPLICATE of bug 854959
Alias: None
Product: Fedora
Classification: Fedora
Component: python-meh
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-20 17:13 UTC by Luke Macken
Modified: 2016-09-20 02:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-21 08:41:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Luke Macken 2012-09-20 17:13:57 UTC
Description of problem:

 File "/usr/lib64/python2.7/site-packages/pyanaconda/exception.py", line 59, in run_handleException_on_idle
obj)
File "/usr/lib/python2.7/site-packages/meh/handler.py", line 101, in handleException
fd.write(self.exnText.encode("utf-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31351: ordinal not in range(128)

Version-Release number of selected component (if applicable):
anaconda-18.6.8-1.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Choose to customize partition layout
2. Click "Click here to create them automatically
3. *boom*

Comment 1 Luke Macken 2012-09-20 17:20:18 UTC
After working around the Unicode issue, the core exception that triggered it was the NoDisksError from Bug #849112

Comment 2 Chris Lumens 2012-09-20 20:16:24 UTC
I think the utf8 business is handled in python-meh already, but reassigning to double check.

Comment 3 Vratislav Podzimek 2012-09-21 08:41:18 UTC
(In reply to comment #2)
> I think the utf8 business is handled in python-meh already, but reassigning
> to double check.
This should be handled by the
>fd.write(self.exnText.encode("utf-8"))
line that appears in the traceback, so there is something wrong. Reopening bug #854959 and marking this bug as duplicate.

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


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