Panel |
---|
PROBLEM Fred v0r100p1 is the patch provided for a bug discovered in Fred v0r100. When running Gleam (from GlastRelease-v15r49), Fred v0r100 would not launch, and instead this is as far as Fred v0r100 would go when passed a ".ior" file: Code Block |
---|
CORBA HepRep Object Ready
##########################################################
## FRED version v0r100 "Calvin"
## Mon Jun 19 09:44:22 W. Europe Daylight Time 2006
## Authors: R.Giannitrapani M.Frailis
## Contact: riccardo@fisica.uniud.it
## Web site: www.fisica.uniud.it/~glast/FRED
##########################################################
./kernel/modules/Help/module.rb:38: warning: Insecure world writable dir /afs/slac/g/glast/ground in PATH, mode 040777
Wow, I've been requested by Fred, v1.0
Replied with GlastServer version=0.1;dataFormat=heprep2;setEventCommand=next,commands,getEventId,fluxes,source,back,eventId,eventIdx,openfile
I've just given to Fred, v1.0 an HepRep object
FXRbToolBar::create: trying to create window before creating parent window.
|
A windows briefly popped up and then disappeared with that last error message. Analagously, when on the Windows operating system, FRED v0r100 would throw the following error: ######################################################## ## FRED version v0r100 "Calvin" ## Mon Jun 19 09:49:41 W. Europe Daylight Time 2006 ## Authors: R.Giannitrapani M.Frailis ## Contact: riccardo@fisica.uniud.it ## Web site:[www.fisica.uniud.it/~glast/FRED http://www.fisica.uniud.it/%7Eglast/FRED] ########################################################## Wow, I've been requested by Fred, v1.0 Replied with GlastServer version=0.1;dataFormat=heprep2;setEventCommand=next,com mands,getEventId,fluxes,source,back,eventId,eventIdx,openfile I've just given to Fred, v1.0 an HepRep object |
Wiki Markup |
---|
. /kernel/gui/FredMainWindow.rb:961: \[BUG\] Segmentation fault
ruby 1.8.2 (2004-12-25) \[i386-mswin32\] |
SOLUTION The solution was for both errors is to fix a line in kernel/gui/FredMainWindow.rb in the Fred v0r100 distribution. On line 954 (in the "addToolBar" procedure), I changed Wiki Markup |
---|
*@toolbars\[name\] = FXToolBar.new{*} | (temp, to Wiki Markup |
---|
*@toolbars\[name\] = FXToolBar.new{*} | (@toolbarBox And that is the change in Fred v0r100p1. |
...
...
Prerequisites (Linux only)
- ruby 1.8.2 (although you should be able to run FRED also on 1.8.0 and 1.8.1, and it works for ruby 1.8.6)
- The external library, fox-1.4.34-gl1 (which is just fox-1.4.34 build against the X window system via setting the "--with-x" option for the "configure" script)
...
How to Install (Linux, rhel4-32bit)
Linux operating system
FRED is already prepackaged so no need to build anything. You just obviously need the FRED v0r100p1 package .
- Fred FRED v0r100p1 is available at SLAC in /afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/Fred/FredLinux-v0r100p1.tar
- Extract the contents of FredLinux-v0r100p1.tar
Code Block |
---|
tar -xvf FredLinux-v0r100p1.tar
|
Windows operating system
- FRED v0r100p1 is availabe at SLAC in /nfs/farm/g/glast/u05/extlib/VC8/FRED-v0r100p1.zip
- When using ftp to get the zip file, set the mode to "binary"
Code Block |
---|
F:\somelocation> ftp ftp.slac.stanford.edu
ftp> binary
200 Type set to I
ftp> cd /nfs/farm/g/glast/u05/extlib/VC8
250 CWD command successful
ftp> get FRED-v0r100p1.zip
|
- Extract the contents of FRED-v0r100p1.zip
Panel |
---|
Using the DOS, "unzip," command to extract the contens of FRED-v0r100p1.zip prevents FRED from launching, and throws an error: CORBAHepRepServerIOR=IOR:010000001700000049444c3a4865704576656e745365727665723a3 12e300000010000000000000064000000010102000d0000003139322e3136382e36312e310000151 10e000000fe6ef21e4a0000121800000000000000020000000000000008000000010000000054544 1010000001c00000001000000010001000100000001000105090101000100000009010100 CORBA HepRep Object Ready ########################################################## ## FRED version v0r100 "Calvin" ## Mon Jun 19 09:49:41 W. Europe Daylight Time 2006 ## Authors: R.Giannitrapani M.Frailis ## Contact: riccardo@fisica.uniud.it ## Web site: www.fisica.uniud.it/~glast/FRED ########################################################## Wiki Markup |
---|
*./kernel/Fred.rb:100:in `\[\]': no implicit conversion from nil to integer (TypeError)* |
from ./kernel/Fred.rb:100:in `loadModules' from ./kernel/Fred.rb:44:in `initFred' from ./kernel/main.rb:38 from F:/glast/extlib/Fred/v0r100p1/vc71/fred.rb:276:in `load' from F:/glast/extlib/Fred/v0r100p1/vc71/fred.rb:276:in `bootFRED' from F:/glast/extlib/Fred/v0r100p1/vc71/fred.rb:289 To avoid the above error, I recommend using a program like WinZip or 7-zip to extract the contents of FRED-v0r100p1.zip. Basically, avoid using the DOS "unzip" command on FRED-v0r100p1.zip
|