# ParaToSPHARMMesh completed with errors on win10

**URL:** <https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814>\
**Category:** SlicerSALT\
**Created:** [November 20, 2018, 2:44pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814 "2018-11-20T14:44:49Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxgwd1983](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lxgwd1983](https://discourse.slicer.org/u/lxgwd1983)\
**Post date:** [November 20, 2018, 2:44pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/1 "2018-11-20T14:44:49Z")

</div>

Operating system:win 10  
version:SlicerSALT 1.1.0-2018-10-25

I use the example data download from the web. The output of step1 and step2 are correct. but I meet an error on step3. there isn’t any more debug information about this error. is there anybody meets the same problem?  
The flowing is the running information and the example data name.

debug imformation  
D:/Program Files/SlicerSALT/bin/…/lib/SlicerSALT-4.9/cli-modules/ParaToSPHARMMeshCLP.exe --subdivLevel 10 --spharmDegree 15 --thetaIteration 100 --phiIteration 100 --paraOut --FinalFlip 0 C:/Users/X711/AppData/Local/Temp/SlicerSALT/GAEI\_vtkMRMLModelNodeG.vtp C:/Users/X711/AppData/Local/Temp/SlicerSALT/GAEI\_vtkMRMLModelNodeH.vtp D:/Program Files/SlicerSALT/data/OutData/Step3\_ParaToSPHARMMesh/InputImage\_pp\_surf  
ParaToSPHARMMesh terminated with an unknown exception.

data name  
Aim 2.0. SPHARM-PDM00

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [December 16, 2018, 2:32pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/2 "2018-12-16T14:32:17Z")

</div>

Hi,

We have uploaded new nightly packages to our SlicerSALT repository.  
Could you please try this one and let us know how it goes?  
[https://data.kitware.com/#item/5c13c83b8d777f2179ea5d1f](https://data.kitware.com/#item/5c13c83b8d777f2179ea5d1f)

Thank you,  
Beatriz

---

<div class="post-metadata">

**Author:** ![Maugust](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Maugust](https://discourse.slicer.org/u/Maugust)\
**Post date:** [January 15, 2019, 10:53pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/3 "2019-01-15T22:53:38Z")

</div>

Hi Beatriz,

I was having the same problem. I downloaded the nightly packages using the link you posted, but the ParaToSPHARMMesh step was once again completed with errors.  
I have attached the screenshot of the error (the file names do not correspond to patient data as this project does not involve any):

 ![ParatoSpharmMesh%20Error%202](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/7/b7cff0165e9b03b6f40d6bda577b0c94ba5224f6.jpeg)

Steps SegPostProcess and GenParaMesh completed without any errors.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [January 28, 2019, 8:49pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/4 "2019-01-28T20:49:18Z")

</div>

Dear Marcellus,

Sorry for the delay in responding. Thank you for reporting this problem. The names do not match patient data because commandline reports the names of the nodes in the Slicer MRML scene.

In order to diagnose the problem, could you please let us know the contents of the three subfolders in the output folder?

Thanks!  
Bea

---

<div class="post-metadata">

**Author:** ![oradzins](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@oradzins](https://discourse.slicer.org/u/oradzins)\
**Post date:** [January 29, 2019, 8:24am UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/5 "2019-01-29T08:24:52Z")

</div>

Dear Beatriz,

I will just chime in on the conversation as I have had the same issue since I tried using the module. I’ve attached an image from the error log showing the saved files, once the ParaToSPHARMMesh fails, as in the last step does not generate any new files whatsoever. As Marcellus mentioned, SegPostProcess and GenParaMesh runs flawlessly. Just to add, I used the available tutorial data for this example, but attempting the process with my own data leads to the same results.

 ![6](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/c/ec4bb8c423d8bbfbbb892aa3b2854aaccd2fa00c.png)

Regards,  
Oskars

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [January 29, 2019, 1:37pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/6 "2019-01-29T13:37:54Z")

</div>

Hi @Maugust and @oradzins

I see, that is weird. Oskars, does your problem also happen in Windows 10?  
The problem might be coming from the module or from the ParaToSPHARMMesh executable itself. Could one of you please send the \*para.vtk and the \*surf.vtk files that produce the problem? I will try to diagnose on my end.

Thank you,  
Bea

---

<div class="post-metadata">

**Author:** ![oradzins](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@oradzins](https://discourse.slicer.org/u/oradzins)\
**Post date:** [January 29, 2019, 1:55pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/7 "2019-01-29T13:55:23Z")

</div>

Dear Beatriz,  
I’ve added a zip file containing the generated output data from the tutorial example I mentioned previously below (should eb available for the next 30 days):

[https://ufile.io/6vs6r](https://ufile.io/6vs6r)

It ran through about 20 iterations or so, just to create a quick example, but am fairly certain more iterations just prolonged the process and ran into the same error anyway.

I do indeed run windows 10 (Version 1803, OS build 17134.471 if that is of any help). Also the problem has persisted in both SlicerSalt versions 1.0.0 and 1.1.0.

Let me know if there is anything else I can help with.

Regards,  
Oskars

---

<div class="post-metadata">

**Author:** ![Maugust](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Maugust](https://discourse.slicer.org/u/Maugust)\
**Post date:** [January 29, 2019, 2:59pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/8 "2019-01-29T14:59:38Z")

</div>

Dear @bpaniagua,

Here are the links to the outputs from steps 1 and 2 (step 3 just produced an empty output folder):  
[https://ufile.io/998r0](https://ufile.io/998r0)  
[https://ufile.io/4hgu8](https://ufile.io/4hgu8)  
[https://ufile.io/jj397](https://ufile.io/jj397)

Kind regards,  
Marcellus

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [January 31, 2019, 6:38pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/9 "2019-01-31T18:38:26Z")

</div>

Hi Marcellus and Oskars

ParaToSPHARMMesh completes in Linux.  
See results here:

 ![image%20(1)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/0/405341ebdfa574c45f19fd3b5ef1f95785921ab5.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/a/3a7e5fdc72a39068b69ae6e843c064ff1578cc36.png)

It seems to be a problem with the executable itself.  
It is possible to do

Slicer --launch ParaToSPHARMMeshCLP in Linux, but not on windows.

$ ./SlicerSALT.exe --launch ParaToSPHARMMeshCLP  
error: [C:/Program Files/SlicerSALT 1.1.0-2018-12-13/bin/…/lib/SlicerSALT-4.11/cli-modules/./ParaToSPHARMMeshCLP.exe] exit abnormally - Report the problem.

In the meantime, could you try to use the SPHARM-PDM extension in the latest Slicer release? I have been able to run it through Slicer in windows without problems.

$ ./Slicer.exe --launch ParaToSPHARMMeshCLP  
PARSE ERROR:  
One or more required arguments missing!

Brief USAGE:  
C:\Users\beatriz.paniagua\AppData\Roaming\NA-MIC\Extensions-27498\SPHARM  
-PDM\lib\Slicer-4.9\cli-modules.\P  
araToSPHARMMeshCLP.exe  
[–returnparameterfile  
std::string]  
[–processinformationaddress  
std::string] [–xml] [–echo]  
[–deserialize std::string]  
[–serialize std::string]  
[–FinalFlip]  
[–procrustesTransformationFile  
std::string]  
[–procrustesTransformationOutputOn  
] [–regParaPoints std::string]  
[–regParaPointsOn]  
[–regParaTemplate std::string]  
[–regParaTemplateFileOn] [–verb]  
[–medialMesh] [–NoParaAlign]  
[–paraOut] [–regTemplate  
std::string]  
[–regTemplateFileOn]  
[–flipTemplate std::string]  
[–flipTemplateOn] [–phiIteration  
] [–thetaIteration]  
[–spharmDegree]  
[–subdivLevel] [–]  
[–version] [-h] std::string  
std::string std::string

We are looking into it here: [ParaToSPHARMMesh completes with errors · Issue #138 · Kitware/SlicerSALT · GitHub](https://github.com/Kitware/SlicerSALT/issues/138)

We will keep you posted.  
Thank you for reporting the bug!

Bea

---

<div class="post-metadata">

**Author:** ![Suji\_L\_Lee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/suji_l_lee/32/4231_2.png) [@Suji\_L\_Lee](https://discourse.slicer.org/u/Suji_L_Lee)\
**Post date:** [July 23, 2019, 2:35am UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/10 "2019-07-23T02:35:01Z")

</div>

Operating system:win 10  
version:3D Slicier 4.10.2

Hi,

I meet same problems with test data (SPHARM\_Tutorial\_Data\_July2015)  
=\> Case 0: groupA\_01\_hippo - step 2: ParaToSPHARMMesh completed with errors

So, now I have to try Slicer or 3D-slicer in Linux, right?

Thank you,  
Suji

---

<div class="post-metadata">

**Author:** ![rl00100](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rl00100/32/4764_2.png) [@rl00100](https://discourse.slicer.org/u/rl00100)\
**Post date:** [September 17, 2019, 3:35am UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/11 "2019-09-17T03:35:55Z")

</div>

Has there been a fix for this, i am having a similar error with ParaToSPHARMMesh completing with errors in SlicerSALT 2.2.1 on windows and Linux, and as an extension on 3Dslicer 4.10 ?

Thanks,

Rob

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [September 17, 2019, 3:18pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/12 "2019-09-17T15:18:55Z")

</div>

Hi Rob,

Have you tried the example data in our public folders?  
[https://data.kitware.com/#collection/586fbb7b8d777f05f44a5c7b/folder/5d5c185f85f25b11ff3e1911](https://data.kitware.com/#collection/586fbb7b8d777f05f44a5c7b/folder/5d5c185f85f25b11ff3e1911)

Linux: I can reproduce your error message, but for the dataset above the data gets computed correctly.  
Windows: We are checking and we will keep you posted.

Thank you for reporting and bringing our attention back to the problem.  
Bea

---

<div class="post-metadata">

**Author:** ![rl00100](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rl00100/32/4764_2.png) [@rl00100](https://discourse.slicer.org/u/rl00100)\
**Post date:** [September 18, 2019, 12:48am UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/13 "2019-09-18T00:48:38Z")

</div>

Hi Bea,

I’ve been using the example data sets and still getting errors.

“/home/robl/Documents/SlicerSALT-2.2.1-linux-amd64/bin/…/lib/SlicerSALT-4.11/cli-modules/GenParaMeshCLP: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory”

Is there maybe some prerequisites or file paths that i don’t have set that are causing the problems.

Thanks,

Rob

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [September 18, 2019, 12:18pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/14 "2019-09-18T12:18:10Z")

</div>

Thanks for reporting. I am not sure why this is happening but for sure we need to look into it further.

> <https://github.com/Kitware/SlicerSALT/issues/197>

We will keep you posted. Hopefully we can have this fixed this week.

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [October 2, 2019, 7:47pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/15 "2019-10-02T19:47:42Z")

</div>

Updates:

There are separate bugs for the windows and linux installers involving Fortran packaging. We are working to address both. In the meantime, there is a work-around for the linux error. Installing the missing fortran library will allow SlicerSALT to run correctly.  
For linux, try this terminal command:  
`sudo apt-get install libgfortran3`

This will install the library that SlicerSALT is looking for into the path.

---

<div class="post-metadata">

**Author:** ![rl00100](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rl00100/32/4764_2.png) [@rl00100](https://discourse.slicer.org/u/rl00100)\
**Post date:** [October 3, 2019, 1:05am UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/16 "2019-10-03T01:05:50Z")

</div>

Thanks, that fixes the ParaToSPARMMesh problem, the function now completes. However, now the outputs crash the population viewer in v2.2.1. I had to go back to v2.0.0 to get a working version.

Rob

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [October 3, 2019, 2:53pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/17 "2019-10-03T14:53:46Z")

</div>

Could you give an some error output / description?

---

<div class="post-metadata">

**Author:** ![rl00100](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rl00100/32/4764_2.png) [@rl00100](https://discourse.slicer.org/u/rl00100)\
**Post date:** [October 3, 2019, 11:48pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/18 "2019-10-03T23:48:54Z")

</div>

Opening the files in the population viewer from the SPHARM section in v2.2.1 gets this error.

" Traceback (most recent call last):  
File “/home/robl/Documents/SlicerSALT-2.2.1-linux-amd64/bin/…/lib/SlicerSALT-4.11/qt-scripted-modules/ShapeAnalysisModule.py”, line 710, in onCheckableComboBoxValueChanged  
outputRootname = label.text  
AttributeError: ‘NoneType’ object has no attribute ‘text’ "

moving to the population view and opening the Step3\_ParaToSPHARMMesh directory crashes and closes SlicerSALT and i am not sure how to get an error message from that. This happens with both the output files i solve, and your example ones.

Rob

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [October 4, 2019, 4:42pm UTC](https://discourse.slicer.org/t/paratospharmmesh-completed-with-errors-on-win10/4814/19 "2019-10-04T16:42:14Z")

</div>

Thanks for the info, looking into this.
