Re: Root 2.23/11 problems (NT 4.0)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jan 25 2000 - 09:21:22 MET


Hi Jonathan,

Jonathan M. Gilligan wrote:
> 
> I am having the following problems with root 2.23/11 (WinNT 4.0 SP5,
> compiled with VC 6.0 SP3):
> 
> If I specify a single argument on the command line ("root foo.C"), root
> loads and executes foo.C just fine. But if I specify two arguments "root
> foo.C bar.C", then root does not execute either file. If I type ".x foo.C"
> and ".x bar.C" at the CINT prompt, then the macros execute correctly. Can
> others duplicate this problem?
> 

Some options supported under Unix for the program invokation are not
supported
under NT. I agree that this should be upgraded.

> If I am running root in directory E:\xxx\yyy\zzz and save a canvas as .eps
> from the canvas window menu (File/Save As...) choosing "Encapsulated
> Postscript (*.eps)" and giving it the name "m_pCanvas.eps", then the file
> is saved as xxxyyyzzzm_pCanvas.eps. I think there must be a new bug in the
> path-separator parser in the Windows NT version. Interestingly, if I save
> as "m_pCanvas.root", there is no problem, so the bug seems to be specific
> to the EPS SaveAs routine. Also, calling m_pCanvas->SaveAs("m_pCanvas.eps")
> works properly. The only problem happens when I try to save from the Canvas
> menu.
> 

I have fixed this problem due to the backslash. When the command is
issued from
the menu, the full pathname including \ is always generated.
You will see the same problem if you do
gPad->Print("E:\xxx\yyy\zzz\file.ps").

Rene Brun
> Thanks for any help or advice,
> Jonathan Gilligan
> 
> ===========================================================================
> Jonathan M. Gilligan                     <jonathan.gilligan@vanderbilt.edu>
> Research Assistant Professor of Physics                      (615) 343-6252
> Dept. of Physics and Astronomy, Box 1807-B                    Fax: 343-7263
> Stevenson Center 6823
> Vanderbilt University, Nashville, TN 37235           Dep't Office: 322-2828



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET