-
Notifications
You must be signed in to change notification settings - Fork 25
UnicodeError on path walking #27
Comments
hmmmmm |
@agjohnson I think I found the problem. I did some reading here https://stackoverflow.com/questions/5974585/python-not-able-to-open-file-with-non-english-characters-in-path On python2 the # this fails
find_one(
u'/home/stsewd/rtd/readthedocs.org/user_builds/hg/checkouts/latest/',
('readthedocs.yml', '.readthedocs.yml')
)
# this pass
find_one(
str(u'/home/stsewd/rtd/readthedocs.org/user_builds/hg/checkouts/latest/'),
('readthedocs.yml', '.readthedocs.yml')
) Should I submit this fix on this repo (forcing to |
Writing a test to reproduce the error first would be a good start. I think this might be tricky to do for py2/3 at the same time, but +1 on fixing it! |
@ericholscher It was more difficult than I thought, but I think I did it 😄 #45 |
The text was updated successfully, but these errors were encountered: