[Gate-users] 'Failed to load external entity Materials. xml'

Nicholas Chandna nyc548 at mail.usask.ca
Thu Aug 2 02:38:40 CEST 2012






Hello Gate-Users,

I've been trying to teach myself Gate, but I 
have come across a problem while testing out the example SPECT data in 
virtual Gate. When I enter the command  
'/gate/geometry/setMaterialDatabase ../../GateMaterials.db' I get the 
following message:

GateMDBFile:: GateMDBFile:

                   Could not find material database file '../../GateMaterials.db'

                   Computation Aborted

I noticed that other 
people had similar problems in other posts. I tried other commands, such
 as  '/gate/geometry/setMaterialDatabase MyGateMaterials.db' and  
'/gate/geometry/setMaterialDatabase GateMaterials.db.' The latter 
command works, but when I enter the command 
'/gate/world/daughters/insert box' I get the following message:

I/O warning: failed to load external entity 'Materials.xml'
GateDetectorConstruction:: insertARFSD  entered
created a ARF Sensitive Detector
created command /gate/systems/SPECThead/arf/setARFstage

I continued after getting this message, but when I type in '/gate/SPECThead/setMaterial Air' I get the following message:

I/O Warning: failed to load external entity 'Materials.xml'

Does anybody have any solutions? It would be greatly appreciated!

Nick Chandna
3rd Year Physics & Biochemistry Undergraduate
University of Saskatchewan/Canadian Light Source Synchrotron
Saskatoon, Canada 		 	   		  


More information about the Gate-users mailing list