[Python-apps-team] Bug#766316: Bug#766316: subdownloader: Fails to download substitles when having an accent in the path "=?UTF-8?Q?=C3=A9?="
Emilien Klein
emilien+debian at klein.st
Wed Oct 22 09:09:47 UTC 2014
That sounds similar, but a tad different than #606993 and associated
Launchpad bugs LP#913453 and LP#306589. Those were fixed by the 2.0.14-1.1
NMU upload, and the patch was applied upstream.
I have removed that patch from the newest 2.0.18-1 package, as it is
included in the upstream sources.
This actual Exception is thrown when trying to log an error, which message
would contain the path.
The code path just prior to that error being logged is the following:
#Check if we have write permissions, otherwise show warning window
while True:
#If the file and the folder don't have writte access.
if not QFileInfo(destinationPath).isWritable() and not
QFileInfo(QFileInfo(destinationPath).absoluteDir().path()).isWritable() :
Sylvestre, I assume that folder exists, and that you have write access to
it (please confirm), but a potential encoding issue in the destinationPath
variable could result in either of these statements to return False:
QFileInfo(destinationPath).isWritable()
QFileInfo(QFileInfo(destinationPath).absoluteDir().path()).isWritable()
I will try to reproduce.
+Emilien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20141022/073f3d0b/attachment-0001.html>
More information about the Python-apps-team
mailing list