Closed
Bug 1204103
Opened 10 years ago
Closed 10 years ago
MozFile throws a UnicodeDecodeError in tree method
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Silne30, Unassigned)
References
Details
Attachments
(1 file)
3.73 KB,
text/plain
|
Details |
The line number may be a little off since I have modified the file for logging purposes. This happens when trying to run Marionette Tests in JavaScript on device. Apparently it happens when trying to parse the list of preference files.
Adding the code below at the top of the class fixes the issue but I am not sure if that would have implications on the rest of the application.
import sys
reload(sys)
sys.setdefaultencoding('utf8')
Reporter | ||
Comment 1•10 years ago
|
||
I tried encoding the strings myself but it bubbles up to causing another method to break from encoding errors.
Updated•10 years ago
|
Attachment #8660116 -
Attachment mime type: text/x-log → text/plain
Reporter | ||
Comment 2•10 years ago
|
||
This has been fixed by 1195220.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•