On 27 Nov 2002, Fons Rademakers wrote:
> Hi Daniel,
>
> it looks like you are using an obsolete version of the .rootrc or
> $ROOTSYS/etc/system.rootrc file which has an old format for the plugin
> handler description. Hence the Error from the TPluginHandler. Please
> check that:
>
> root [1] gROOT->GetPluginManager()->Print("a")
> =====================================================================
> Base Regexp Class Plugin
> =====================================================================
> TFile ^rfio: TRFIOFile RFIO
> [Ctor: TRFIOFile(const char*,Option_t*,const char*,Int_t)]
>
> prints the Ctor. Let me know.
>
> Cheers, Fons.
>
>
>
Hi Fons,
When I type gROOT->GetPluginManager()->Print("a"), I obtain the following
printout:
=====================================================================
Base Regexp Class Plugin
=====================================================================
TFile ^rfio: TRFIOFile RFIO
[Ctor: ]
=====================================================================
It seems that the constructor for RFIO files is not present for this
TPluginHandler. What should I do to be allowed to chain RFIO files? Is it
only a modification in the .rootrc file? The line corresponding to the
RFIO file plugin is
# Plugin library handlers
+Plugin.TFile: ^rfio: TRFIOFile RFIO
Is it correct or should I change something? Another possibility is that I
need to load the RFIO library in my rootlogon.C file or by typing
.L $ROOTSYS/lib/libRFIO.so in order to use it. The TPluginHandler may not
now which constructor corresponds to RFIO file because the library is not
loaded by default. In that case, what should be done to load the RFIO
library automatically?
I use ROOT version 3.03/07 on Linux RH7.2.
Thanks for your help
Friendly
Daniel CUSSOL
LPC Caen
Boulevard du Marechal Juin
14050 CAEN CEDEX
e-mail : cussol@in2p3.fr
Tel : +33-(0)2-31-45-29-73
FAX : +33-(0)2-31-45-25-49
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET