Open kdeldycke opened 11 years ago
It's hard to debug without proper trace. The script is old and really need to be rewritten.
It use deprecated Python API to execute all external commands. I suspect this old API to wait for the command to finish before returning any status or message. Thus giving you the feeling that nothing happens.
And I think it's not only the API that is blocking: the whole script does.
I'm sorry but I don't have time or interest now to rewrite it. But if you fix some bugs or add new features, feel free to submit a pull request. I'll be happy to merge it.
My suspicions were true. Here is an answer from Anže Jarni:
Thank you for your response. I have found out that reducing verbosity of rsync and rdiff-backup solved my problem. It seems that the output od rsync and rdiff-backup goes over buffer on the python run() command and halts any further execution. waitpid() then just waits indefinetly.
I will experiment a bit more and try to prepare a fix.
Have a great day!
Thanks Anže for your tenacity ! Your did a great job tracking the root cause ! I'm sure you're not far from a definitive solution.
As reported by Anže Jarni: