Closed Bug 1204103 Opened 10 years ago Closed 10 years ago

MozFile throws a UnicodeDecodeError in tree method

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Silne30, Unassigned)

References

Details

Attachments

(1 file)

Attached file runner_service.log
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')
Blocks: 1195220
I tried encoding the strings myself but it bubbles up to causing another method to break from encoding errors.
Attachment #8660116 - Attachment mime type: text/x-log → text/plain
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.

Attachment

General

Created:
Updated:
Size: