1. Kenneth Gonsalves
  2. kenyakids
Issue #93 resolved

download of documents

Säde Jokivuori
created an issue

Can not download any document to the downloads.

UnicodeEncodeError at /admin/web/download/add/

'ascii' codec can't encode character u'\xe4' in position 71: ordinal not in range(128)

Request Method: POST Request URL: http://kenyakids.info/admin/web/download/add/ Django Version: 1.4a1 Exception Type: UnicodeEncodeError Exception Value:

'ascii' codec can't encode character u'\xe4' in position 71: ordinal not in range(128)

Exception Location: /usr/local/lib/python2.7/genericpath.py in exists, line 18 Python Executable: /usr/bin/python

Comments (4)

  1. Kenneth Gonsalves repo owner

    the problem is with the character ä in the filename. The webfaction server is not accepting that character, so it is unable to save the file. My other servers accept this ok, so it is an error on the webfaction end. I will take this up with them, but that may take time. Meanwhile there is a workaround:

    1. change the file name so that there are no special characters - the end user does not see this filename so it does not matter what it is called.

    2. in add download, put the correct filename in english and finnish. You can use special characters here. This is what the user sees. I have done this for the document you have attached. Please check

    I am leaving this open until I fix the issue with webfaction.

  2. Log in to comment