[mythtv] mythutil --copy not always working

Paul Harrison mythtv at sky.com
Sat Jan 5 13:04:07 UTC 2013

On 5 January 2013 11:20, Paul Harrison <mythtv at sky.com> wrote:
> Can anybody confirm that mythutil --copy is still working for them?
> I'm trying to copy a file from a FE to the master BE but it always fails
> with an ERROR, couldn't write at offset xxx were xxx is often 0 but
> sometimes a random number. Oddly going in the other direction, copying from
> BE to the FE,  seems to work OK the few times I tried it.
> This is the command I'm running :-
> mythutil --copyfile --infile
> /media/mytharchive/work/Test/6001_20130101195900.mpg --outfile
> myth://Default@
> Any pointers on how to debug this?
> Paul H.

Seems to be a regression with the new socket code. Increasing the
max_wait_ms in FileTransfer::WriteBlock() to 100 at least allows the
transfer to complete. Even at 100 there was a ReadReal(?, 2097152,
100) -> 2097152 took 102 ms warning but the transfer seems to be

Paul H.

More information about the mythtv-dev mailing list