Re: TFile::Cp() ---> problems?

From: Chiara Zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Tue, 1 Jul 2008 09:45:28 +0200


Hi,

    I have tried with the v5-20-00 (I was using the v5-19-04), and with this the problem seems to be solved.

    Thanks, and regards,

             Chiara

Chiara Zampolli ha scritto:
> Hi all,
>
> I have some problems in copying a file from local to alien. As you
> will see from below, the TFile::Cp() returns 1, but if I then list in
> alien the file is not there. And During the copy I get an error coming
> from TFile::GetSize(). In particular, what I do is just the following:
>
> root [0] TGrid::Connect("alien://") => Trying to
> connect to Server [1] http://pcapiserv02.cern.ch:10000 as User alidaq
> ###############################################################
> # ALIEN Service Message: #
> ###############################################################
> ===============================================================
>
> ---------------------------------------------------------------
> 10 October 2007 - Normal operation
> ----------------
>
> ***************************************************************
> * Please report operational problems to Latchezar.Betev_at_cern.ch
> * Bug reports should be submitted via savannah.cern.ch
> * http://savannah.cern.ch/bugs/?group=alien&func=additem
>
> ###############################################################
> (class TGrid*)0x88d7e90
> root [1] bool_t result =
> TFile::Cp("UpCDB.C","alien:///alice/cern.ch/user/a/alidaq/zampolli/cessone.root")
>
> [TFile::Cp] Total 0.00 MB |====================| 100.00 %
> [0.0 MB/s]
> Error in <TAlienFile::GetSize>: cannot stat the file
> alien:///alice/cern.ch/user/a/alidaq/zampolli/cessone.root
> Error in <TAlienFile::GetSize>: cannot stat the file
> alien:///alice/cern.ch/user/a/alidaq/zampolli/cessone.root
> Warning: Automatic variable bool_t result is allocated
> (tmpfile):1:
> (Bool_t)(1)
> root [2] .q
> [pcalishuttle01] /home/shuttle/Chiara > aliensh
> [ aliensh 2.1.10 (C) ARDA/Alice:
> Andreas.Joachim.Peters_at_cern.ch/Derek.Feichtinger_at_cern.ch]
> aliensh:[alice] [1] /alice/cern.ch/user/a/alidaq/zampolli/ >ls
> aliensh:[alice] [2] /alice/cern.ch/user/a/alidaq/zampolli/ >
>
> As you see, apparently everything is fine., but the file is not
> there... Any clue?
> Thanks in advance.
> Best Regards,
>
> Chiara
>
Received on Tue Jul 01 2008 - 09:45:53 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 11:50:02 CEST