Ticket #349 (new defect)

Opened 10 months ago

Last modified 10 months ago

Coherence cannot access files in non-english paths

Reported by: talaus Assigned to: dev
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

I am trying to play an MKV file with subtitles, and I get the following error:

exceptions.OSError: [Errno 2] No such file or directory: '/archive/Movies/1080p/Lock%20Stock%20And%20Two%20Smoking%20Barrels%20-%20%D7%9C%D7%95%D7%A7%20%D7%A1%D7%98%D7%95%D7%A7%20%D7%95%D7%A9%D7%A0%D7%99%20%D7%A7%D7%A0%D7%99%D7%9D%20%D7%9E%D7%A2%D7%95%D7%A9%D7%A0%D7%99%D7%9D/file.srt'

When renaming the folder name from "Lock%20Stock%20And%20Two%20Smoking%20Barrels%20-%20%D7%9C%D7%95%D7%A7%20%D7%A1%D7%98%D7%95%D7%A7%20%D7%95%D7%A9%D7%A0%D7%99%20%D7%A7%D7%A0%D7%99%D7%9D%20%D7%9E%D7%A2%D7%95%D7%A9%D7%A0%D7%99%D7%9D" to "AAA" the problem solved.

Change History

28.07.2011 18:17:02 changed by talaus

This also occurs when there's a space character in path

30.07.2011 17:06:57 changed by talaus

I have managed to solve the bug. Added:

import urllib self.path = urllib.url2pathname(self.path)

at line 632 in upnp/core/utils.py (before self.restat())

In case that somebody reads it...