PROBLEM 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: 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" Wiki Markup |
---|
## Mon Jun 19 | ## Mon Jun 19 09:49:41 W. Europe Daylight | Time 2006 ## Authors: Time 2006 ## Authors: R.Giannitrapani M.Frailis |
## Contact
## Contact: [riccardo@fisica.uniud.it|mailto:riccardo@fisica.uniud.it |
## Web site:]
## Web site:\[www.fisica.uniud.it/~glast/FRED |
http://www.fisica.uniud.it/%7Eglast/FRED]  Image Added ; ########################################################## 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 |
Wiki Markup |
---|
* ruby 1.8.2 (2004-12-25) \[i386-mswin32\]* |
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 Wiki Markup |
---|
*@toolbars\[name\] = FXToolBar.new{*} | (temp, to Wiki Markup |
---|
*@toolbars\[name\] = FXToolBar.new{*} | (@toolbarBox And that is the change in Fred v0r100p1. |