Problem 1957

Summary: Crash if g4analysis cannot write output file in current directory
Product: Geant4 Reporter: Andrea Dotti <andrea.dotti>
Component: analysisAssignee: Ivana.Hrivnacova
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 10.3   
Hardware: All   
OS: All   

Description Andrea Dotti 2017-03-21 17:00:46 CET
Reported during tutorial:
g4analysis module crashes if it cannot write output file in current directory (for example because user has no write permission). 
It would be better to have a G4Exception/error to signal the problem and avoid a silent crash.

Problem can be reproduced with exampleB5, running it from a non user-writable directory.

Thank you,
Andrea
Comment 1 Ivana.Hrivnacova 2017-04-12 16:50:24 CEST
Thank you reporting this problem,
it is now fixed in the development version and the fix will be included in the next patch to 10.03.

Ivana