On Wed, 2009-08-05 at 01:12 -0700, alecs wrote: > I'm trying to download via GET a file with name in russian and getting > Internal Server Error: > > upfile = UpFile.objects.get(file_hash=file_hash) > path = os.path.join(settings.UPLOAD_ROOT, request.user.username, > upfile.file_name) > return HttpResponseRedirect(path.decode('utf8')) > > If filename in English everything works ok.
So which part of the above lines is causing the problem? Put in some print or logging statements to work out which piece of data is the problem and you'll at least have to something to work with for debugging purposes. It could be caused by anything at the moment. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---