Closed
Bug 804197
Opened 12 years ago
Closed 11 years ago
UnicodeEncodeError: 'ascii' codec can't encode characters in position 104-108: ordinal not in range(128)
Categories
(developer.mozilla.org Graveyard :: General, defect)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 782770
People
(Reporter: retornam, Unassigned)
References
()
Details
There were about 14 tracekbacks on this page this morning
Traceback (most recent call last):
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django-waffle/waffle/decorators.py", line 20, in _wrapped_view
return view(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 37, in inner
return func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 168, in process
return func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 124, in inner
response = func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/transaction.py", line 271, in _autocommit
return func(*args, **kw)
File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 519, in document
attachments = _format_attachment_obj(doc.attachments)
File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 217, in _format_attachment_obj
'size': attachment.current_revision.file.size,
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/models/fields/files.py", line 77, in _get_size
return self.storage.size(self.name)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/files/storage.py", line 216, in size
return os.path.getsize(self.path(name))
File "/usr/lib64/python2.6/genericpath.py", line 49, in getsize
return os.stat(filename).st_size
UnicodeEncodeError: 'ascii' codec can't encode characters in position 104-108: ordinal not in range(128)
Reporter | ||
Comment 1•12 years ago
|
||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•