DjangoAdminHackers / django-linkcheck

An app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc).
BSD 3-Clause "New" or "Revised" License
75 stars 26 forks source link

pip install fails: utf-8 can't encode character #87

Closed awaelchli closed 5 years ago

awaelchli commented 5 years ago

pip install fails for me. Here is the full message.

Two errors appear at the same time: UnicodeEncodeError: 'utf-8' codec can't encode character '\udccc' in position 24: surrogates not allowed

UnicodeEncodeError: 'ascii' codec can't encode characters in position 73-74: ordinal not in range(128)

Interestingly, if I install via git pip install git+git://github.com/DjangoAdminHackers/django-linkcheck.git i get a similar
message, but only the first error is thrown.

The issue looks similar to issue #83, but the solution does not work. pip version: 19.0 Python: 3.4 django: 2.0.8

claudep commented 5 years ago

I'm almost sure it is related to the rückmeldung media test file written with both normalized and unnormalized unicode. #88 avoids that by only writing the tested file for the duration of the test.

claudep commented 5 years ago

Could you test installing by git again?

awaelchli commented 5 years ago

Installing by git works now! Thank you for the prompt fix!