Problem 1957 - Crash if g4analysis cannot write output file in current directory
Summary: Crash if g4analysis cannot write output file in current directory
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: analysis (show other problems)
Version: 10.3
Hardware: All All
: P4 normal
Assignee: Ivana.Hrivnacova
URL:
Depends on:
Blocks:
 
Reported: 2017-03-21 17:00 CET by Andrea Dotti
Modified: 2017-04-12 16:50 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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