<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Dear Somayeh Asadi,<br>
</div>
<div><br>
</div>
<div>The error message basically says that it is not able to create the output file.<br>
</div>
<div>I think that one quite commonly occurring way to get this error is if the directory in which you run Gate does not yet have an "output" subdirectory. You request that the output is written to "<span>output/Mobydose.mhd</span>"; the "output/" folder is
*not* automatically created if does not exist yet. (Or maybe it does exist, but you don't have writing permissions for it. Or maybe the disk is full.)</div>
<div><br>
</div>
<div>Could you please let us know if this is the case, before we try fancier explanations?<br>
</div>
<div><br>
</div>
<div>(Maybe someone should create a GitHub #issue about this. Inability to write the output to the configured filepath should not result in an ugly crash, it should either exit gracefully with a friendly informative error message, or it should kindly try to
fix it, if all it takes is creating a subdirectory automagically.)<br>
</div>
<p></p>
<p><br>
</p>
<p>HTH,</p>
<p>David<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von Somayeh Asadi <somayeh.asadi@polimi.it><br>
<b>Gesendet:</b> Dienstag, 14. April 2020 14:18:45<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] Core dumped, Error, Failed to create output</font>
<div> </div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear Gate User</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I want to run the ready program in Gate with the name of Thermal being in the folder of Imaging/Thermal in the subfolder of GateContrib-master. In the program, It was asked for the two outputs name: <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Mobydose.mhd
and </span><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Statistics.txt written in the part related to Actor. </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span><span>/vis/open VRML2FILE<br>
</span>
<div>/vis/drawVolume <br>
</div>
<div>/vis/viewer/set/viewpointThetaPhi 90 0<br>
</div>
<div>/vis/viewer/zoom 1<br>
</div>
<div>/vis/drawVolume<br>
</div>
<div>/vis/viewer/flush<br>
</div>
<div>/vis/drawVolume<br>
</div>
<div>/tracking/storeTrajectory 1<br>
</div>
<div>/vis/scene/add/trajectories <br>
</div>
<span>/vis/scene/endOfEventAction accumulate 10</span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span>#################################################</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span>/gate/actor/addActor ThermalActor nano<br>
</span>
<div>/gate/actor/nano/save output/Mobydose.mhd<br>
</div>
<div>/gate/actor/nano/attachTo Mouse<br>
</div>
<div>/gate/actor/nano/stepHitType random<br>
</div>
<div>/gate/actor/nano/setPosition 0. 0. 0. cm<br>
</div>
<div>/gate/actor/nano/setVoxelSize 0.25 0.25 0.25 mm<br>
</div>
<div>/gate/actor/nano/setDiffusionTime 2 s<br>
</div>
<div>/gate/actor/nano/setThermalDiffusivity 0.190 mm2/s<br>
</div>
<div>/gate/actor/nano/setBloodPerfusionRate 0.004<br>
</div>
<div>/gate/actor/nano/setBloodDensity 1.06E-6<br>
</div>
<div>/gate/actor/nano/setBloodHeatCapacity 3.6E6<br>
</div>
<div>/gate/actor/nano/setTissueDensity 1.04E-6<br>
</div>
<div>/gate/actor/nano/setTissueHeatCapacity 3.65E6<br>
</div>
<div>/gate/actor/nano/setSimulationScale 1E10<br>
</div>
<div>/gate/actor/nano/setNumberOfTimeFrames 60<br>
</div>
<div>/gate/actor/addActor SimulationStatisticActor Myactor<br>
</div>
<div>/gate/actor/Myactor/save output/Statistics.txt<br>
</div>
<div>/gate/actor/Myactor/attachTo Mouse<br>
</div>
<span>/gate/actor/Myactor/save EveryNSeconds 0.5</span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When the program is running, core dumped accrues, n output created and the error in below is received:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
----------------------------------------------------------------------------------------------------------------</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>terminate called after throwing an instance of 'itk::ImageFileReaderException'<br>
</span>
<div> what(): /home/BuildFiles/ITK/InsightToolkit-5.0.0-Source/Modules/IO/ImageBase/include/itkImageFileReader.hxx:136:<br>
</div>
<div> Could not create IO object for reading file output/Mobydose-AbsorptionMap.mhd<br>
</div>
<div> Tried to create one of the following:<br>
</div>
<div> GDCMImageIO<br>
</div>
<div> You probably failed to set a file suffix, or<br>
</div>
<div> set the suffix to an unsupported type.<br>
</div>
<div><br>
</div>
<div>Aborted (core dumped)<br>
</div>
<span></span>----------------------------------------------------------------------------------------------------------------</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Has any person had the same problem and know about the meaning of this error? </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
"I have installed ITK and put the part related to the optical photon in ON".</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you very much for your reading and any suggestion. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sincere Wishes, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div dir="ltr" style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:left; background-color:rgb(255,255,255)">
<span style="margin:0px; font-size:11pt; color:rgb(117,123,128); font-family:"Times New Roman",Times,serif"><i>Somayeh Asadi (PhD)</i></span></div>
<div dir="ltr" style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:left; background-color:rgb(255,255,255)">
<span style="margin:0px; font-size:11pt; color:rgb(117,123,128); font-family:"Times New Roman",Times,serif"><i>Postdoctoral Researcher </i></span></div>
<div dir="ltr" style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:left; background-color:rgb(255,255,255)">
<i style="color:rgb(117,123,128); font-family:"Times New Roman",Times,serif; font-size:11pt; font-variant-ligatures:inherit; font-variant-caps:inherit; font-weight:inherit">Department of Mechanical Engineering</i></div>
<div dir="ltr" style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:left; background-color:rgb(255,255,255)">
<i style="color:rgb(117,123,128); font-family:"Times New Roman",Times,serif; font-size:11pt; font-variant-ligatures:inherit; font-variant-caps:inherit; font-weight:inherit">Politecnico di Milano, Italy</i></div>
<div style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255)">
<span style="color:rgb(117,123,128); font-family:"Times New Roman",Times,serif; font-size:9pt"><br>
</span></div>
<div style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255)">
<span style="color:rgb(117,123,128); font-family:"Times New Roman",Times,serif; font-size:9pt">Via Giuseppe La Masa,1</span><br>
</div>
</div>
<div><span style="color:rgb(117,123,128); font-size:9pt; font-family:"Times New Roman",Times,serif">20156 - Milano - Italy</span><br>
<span style="color:rgb(117,123,128); font-size:9pt; font-family:"Times New Roman",Times,serif">phone: +39 0223998572</span><br>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255)">
<span style="margin:0px; font-size:10pt"></span><span style="margin:0px; font-size:11pt"></span><span style="margin:0px; color:rgb(117,123,128)"></span></div>
<div style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255)">
<span style="margin:0px; font-size:11pt"></span></div>
<p style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; color:rgb(117,123,128)"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:10pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; color:rgb(117,123,128)"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:10pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:10pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:11pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-size:10pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"></span></p>
<div style="margin:0px; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255)">
<span style="margin:0px; font-size:10pt; color:rgb(117,123,128); font-family:"Times New Roman",Times,serif">somayeh.asadi@polimi.</span><span style="margin:0px; font-size:10pt; color:rgb(117,123,128)">it</span></div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>