Re: [ROOT] TFile::Init for remote files

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Feb 20 2002 - 15:00:44 MET


Hi Fedor,

 this problem has been fixed in the development version in CVS.
Please try that version to see if your problem is really gone.

Cheers, Fons.


On Wed, 2002-02-20 at 01:56, Fedor Ratnikov wrote:
> Hi,
> connecting to remote files via rootd, I get messages like
> Error in <TNetFile::TFile>: file
> root://myhost:8181//cdf/data36a/CA5267.0/gd021742.0011tst1 is truncated
> at 22 bytes: should be 1039471743, trying to recover
> ...
> It recovers successfully but the message is annoying and recovery takes
> time.
> The reason is that TFile::GetSize() for some reason is forced to call
> TFile::SysStat
> rather than TNetFile::SysStat in case the object under consideration is
> TNetFile.
> 
> What is the right way to avoid this error condition?
> 
>                  Thanks, Fedor.
> 
> 
> --
> MS318(CDF/Rutgers) Fermilab, Batavia, IL 60510 USA
> Tel.:+1(630)840-8435           Fax:+1(630)840-6315
> 
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET