Error in opening GDML

Hi, I get this kind of error while reading some gdml file

G4GDML: Reading ‘phantom_G-330.gdml’…
G4GDML: VALIDATION ERROR! unable to open file ‘http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd’ at line: 0
G4GDML: VALIDATION ERROR! fatal error during schema scan at line: 2

-------- EEEE ------- G4Exception-START -------- EEEE -------

*** ExceptionHandler is not defined ***
*** G4Exception : InvalidRead
issued by : G4GDMLRead::Read()
ERROR - Empty document or unable to validate schema!
Check Internet connection is ON in case of schema
validation enabled and location defined as URL in
the GDML file - phantom_G-330.gdml - being imported!
Otherwise, verify GDML schema server is reachable!
*** Fatal Exception ***
-------- EEEE ------- G4Exception-END -------- EEEE -------

*** G4Exception: Aborting execution ***
Aborted (core dumped)

this error usually due to my unstable network, but this time my network and my GDML file is fine (I can ran it before). Any idea what possibly caused this ?

Probably there was a problem to access http://service-spi.web.cern.ch/. If the problem persists, then modify second line in your GDML file by replacing

http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd

with the full name of gdml.xsd available in your local Geant4 source:

.../source/persistency/gdml/schema/gdml.xsd

does that mean I can parse the GDML file without internet connection ?

Yes, you can work with GDML files without internet connection

that’s something new for me, thanks !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.