Closed Bug 630234 Opened 13 years ago Closed 13 years ago

Revenge of the unicode filenames

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
5.12.8

People

(Reporter: jbalogh, Assigned: jbalogh)

Details

File "/data/amo_python/src/preview/zamboni/apps/addons/cron.py", line 245, in hide_disabled_files
   if os.path.exists(file_.file_path):
 File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
   st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 68-75: ordinal not in range(128)
Target Milestone: 5.12.9 → 5.12.8
https://github.com/jbalogh/zamboni/commit/51f88a9

This catches and logs the error, which is not a complete fix, but I couldn't reproduce the issue so it's all I've got.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
I uploaded and disabled an add-on with unicode in its name and didn't see any tracebacks.

Marking this as verified.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.