Hi all,

Here is a file which breaks installation on fresh Debian system:
 
https://github.com/django/django/blob/master/tests/staticfiles_tests/apps/test/static/test/%E2%8A%97.txt

I'm using Buildout and virtualenv with Python 2.7.9.

The full traceback is:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/home/project/env/lib/python2.7/site-packages/setuptools/command/easy_install.py",
 
line 2271, in main
    **kw
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/command/easy_install.py",
 
line 409, in run
    self.easy_install(spec, not self.no_deps)
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/command/easy_install.py",
 
line 645, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/command/easy_install.py",
 
line 694, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/command/easy_install.py",
 
line 845, in install_eggs
    unpack_archive(dist_filename, tmpdir, self.unpack_progress)
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/archive_util.py", 
line 52, in unpack_archive
    driver(filename, extract_dir, progress_filter)
  File 
"/home/webcar/env/lib/python2.7/site-packages/setuptools/archive_util.py", 
line 148, in unpack_tarfile
    prelim_dst = os.path.join(extract_dir, *name.split('/'))
  File "/home/webcar/env/lib/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: 
ordinal not in range(128)
An error occurred when trying to install Django 1.8.14. Look above this 
message for any errors that were output by easy_install.

The path to a file which fails is:
/tmp/easy_install-A3XRR9 
Django-1.8.14/tests/staticfiles_tests/apps/test/static/test/⊗.txt

Is this file really needed in Django dist?

Marcin
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/967785a0-3df7-4454-a2dd-7c5e6875991d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to