[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QFtp putting multiple files
From: Tony Arnold <tony.arnold () manchester ! ac ! uk>
Date: 2014-01-20 10:25:56
Message-ID: 52DCF9B4.6000600 () manchester ! ac ! uk
[Download RAW message or body]
Hans-Peter,
On 20/01/14 09:53, Hans-Peter Jansen wrote:
>> The problem is that there is a race condition between these two. If
>> progress hits 100% before the signal for the put command termination
>> signal, then the next file gets processed, the progress box gets
>> displayed again, but then the put terminal signal gets in and hides the box.
>
> Have you tried to separate the two conditions? I wouldn't count on progress to
> exit this part. Your next paragraph seems to underline this. Progress might be
> affected by block sizes and rounding, hence always wait for the put command
> complete signal.
>
> Let us know about the outcome.
Thanks. That's great advice. I've set 'autoClose' to False on the
progress dialogue and that's fixed the problem.
Regards,
Tony.
--
Tony Arnold, Tel: +44 (0) 161 275 6093
Head of IT Security, Fax: +44 (0) 705 344 3082
University of Manchester, Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arnold@manchester.ac.uk
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic