Sorry, forgot to add - you need recompile an reinstall the module. Regards. Valeriy ----- Original Message ----- From: "Valeriy Onuchin" <Valeri.Onoutchine@cern.ch> To: "Fabrice Podlyski" <podlyski@clermont.in2p3.fr>; <roottalk@pcroot.cern.ch> Sent: Thursday, October 10, 2002 2:57 PM Subject: Re: [ROOT] Help ! : Root Apache Module : Error when runs macros > Hi Fabrice, > I never met such an error before but I know what could be the reason. > gApache global object is initiated while apache child process is created. > Your error log messages indicate that somehow gApache wasn't created. > For quick fix add a line to module/TApacheModule.cxx as it done below. > If you're available at CERN I'd prefer to contact to you to look at the problem at place. > > Thanks. Regards. Valeriy > > file://___________________________________________________________________ > TString ProcessHtmlInclude(const TString& in) > { > // Process HTML code embedded into C++ code > // > // /*<html> > // html code > // </html>*/ > > TString str = in; > TString html; > TString before; > TString after; > TString fullhtml; > const char* beg_pattern="/*<html>"; > const char* end_pattern="</html>*/"; > > Int_t idx = 0; > Int_t idx2 = 0; > Int_t htmlen = 0; > TString substr; > Int_t substrlen = 0; > > const Int_t longest = G__LONGLINE-10; // CINT longest line > > G__calc("TApache::GlobalInstance()"); // <--- this line > > while(1) { > ..... > > > > ----- Original Message ----- > From: "Fabrice Podlyski" <podlyski@clermont.in2p3.fr> > To: <roottalk@pcroot.cern.ch>; <Valeri.Onoutchine@cern.ch> > Sent: Thursday, October 10, 2002 9:59 AM > Subject: [ROOT] Help ! : Root Apache Module : Error when runs macros > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hello, > > > > I have installed the Root Apache Module on my computer (SuSE 8.0) : > > Linux 2.4.18 > > Apache 1.3.23 > > root 3.03/05 > > > > I have compiled your sources Carrot-1.0.7 > > with Xvfb, gs and convert (all packages have been installed) > > > > I have begun the tutorial but unfortunately I have an error > > when > > > > > > (All previous macros > > HelloWorldStdout.C or .chtml > > HelloWorld.chtml > > HelloWorld.C > > run without any error ..) > > > > 1/ macro : HelloWorldHtml.C > > > > In my Apache error log file, I have the following messages : > > *** Interpreter error recovered *** > > Error: illegal pointer to class object gApache 0x0 350 > > FILE:/tmp/root_apache_2219.C LINE:9 > > > > > > 2/ macro HelloWorldFunc.C runs OK !! > > > > > > 3/ macro HelloWorldFunc2.C > > > > Error: illegal pointer to class object gApache 0x0 350 > > FILE:/tmp/root_apache_2265.C LINE:12 > > *** Interpreter error recovered *** > > > > 4/ macro HelloWorldHtml.C runs OK > > > > ...What can I do to trace the error and find a solution ? > > > > > > Thank you in advance for your help, > > with my best regards, > > > > > > F. Podlyski > > (work in TileCal collaboration (ATLAS)) > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.6 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQE9pTNq9/fviBH8dEsRAlfRAJwNdKPpDlk5M+Ao96NsmKyEay9H4wCfQW+I > > IPIXb+QsttcvyLmqki3agNU= > > =/IoS > > -----END PGP SIGNATURE----- > > > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:13 MET