Panel | |||
---|---|---|---|
Fred v0r100p1 is the patch provided for a bug discovered in Fred v0r100. PROBLEM 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:
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
. /kernel/gui/FredMainWindow.rb:961: [BUG] Segmentation fault SOLUTION The solution 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 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)
- Locations
- RHEL4-32
- /afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/fox/
- RHEL3-32
- /afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/fox
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 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
- When using ftp to get the zip file, set the mode to "binary"
- 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: ./kernel/Fred.rb:100:in `[]': no implicit conversion from nil to integer (TypeError) |