I am using django-require 1.0.11. I have some file names with unicode
characters in them. My Linux OS has all locale/lang settings correctly to
UTF8. But collectstatic. Any ideas how to fix this, without
sys.setdefaultencoding('utf8') ? Python Gods discourage using
sys.setdefaultencoding in sitecustomize.py.
Traceback (most recent call last):
File "manage.py", line 14, in <module>
execute_from_command_line(sys.
argv)
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/core/management/__init__.py",
line 353, in execute_from_command_line
utility.execute()
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/core/management/__init__.py",
line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/core/management/base.py",
line 348, in run_from_argv
self.execute(*args, **cmd_options)
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/core/management/base.py",
line 399, in execute
output = self.handle(*args, **options)
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 176, in handle
collected = self.collect()
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 122, in collect
for original_path, processed_path, processed in processor:
File
"/home/murty/domains/mezzone/lib/python2.7/site-packages/require/storage.py",
line 142, in post_process
build_storage_name = build_name.replace(os.sep, "/")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 24:
ordinal not in range(128)
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.