# Bone texture extension errors

**URL:** https://discourse.slicer.org/t/bone-texture-extension-errors/12099
**Category:** Support
**Created:** [June 18, 2020, 6:59pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099 "2020-06-18T18:59:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 18, 2020, 6:59pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099/1 "2020-06-18T18:59:24Z")

</div>

This is to the developers of the bone texture extension:

I am trying to use the calculate bone morphometry properties from proximal mouse femora. While the results are tabulated, it is complaining about a missing tag, and the featuremap cannot be plotted. This is with the preview version yesterday on windows.

Below is the log:

```
Compute BM Features command line: 

C:/Users/amaga/AppData/Roaming/NA-MIC/Extensions-29148/BoneTextureExtension/lib/Slicer-4.11/cli-modules/ComputeBMFeatures.exe --returnparameterfile C:/Temp/3888_f1leXYpP3q.params --inputMask C:/Temp/DIII_vtkMRMLLabelMapVolumeNodeB.nrrd --threshold 10000 C:/Temp/DIII_vtkMRMLScalarVolumeNodeC.nrrd 

Compute BM Features completed without errors

Missing 'DWMRI_b-value' tag!

vtkMRMLDiffusionWeightedVolumeNode: Cannot parse Diffusion Information

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

BM status: Completed
Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

BM status: Completed
Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420B25D0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420A9E20) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageExtractComponents(0000021C420AD2F0) has 0 connections but is not optional.

Traceback (most recent call last):
  File "C:/Users/amaga/AppData/Roaming/NA-MIC/Extensions-29148/BoneTextureExtension/lib/Slicer-4.11/qt-scripted-modules/BoneTexture.py", line 369, in onFeatureSetChanged
    if node.GetDisplayNode().GetInputImageData().GetNumberOfScalarComponents() == 8:
AttributeError: 'NoneType' object has no attribute 'GetNumberOfScalarComponents'
```

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [June 18, 2020, 8:02pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099/2 "2020-06-18T20:02:52Z")

</div>

This looks like the same error reported here:

> <https://github.com/Kitware/BoneTextureExtension/issues/22>
>
> 3dslicer: 4.10.02
> Dell G7 7590
> Win10 10.0.17763

I’m not sure if maintainers of the extension read this topic, so it may be better to add a note there that you have this issue, too (and maybe add a link to this page).

Most probably the issue is trivial to fix (may be due to your data not being exactly the same kind as expected, Slicer API changes, etc.).

---

<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: [June 19, 2020, 7:08pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099/3 "2020-06-19T19:08:27Z")

</div>

I’ll be looking at this over the next week.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 29, 2020, 6:32pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099/4 "2020-06-29T18:32:00Z")

</div>

@Sam_Horvath any updates on this?

---

<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: [June 29, 2020, 6:35pm UTC](https://discourse.slicer.org/t/bone-texture-extension-errors/12099/5 "2020-06-29T18:35:03Z")

</div>

I should be able to get to it this week.
