# Slicer Tractography ROI Selection Not Working

**URL:** <https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537>\
**Category:** Support\
**Created:** [July 11, 2019, 6:03pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537 "2019-07-11T18:03:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![cindy](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@cindy](https://discourse.slicer.org/u/cindy)\
**Post date:** [July 11, 2019, 6:03pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/1 "2019-07-11T18:03:31Z")

</div>

Hi. I’ve been following the Slicer tutorial: 5.1.6 Fiber Bundle Volume Measurement

When I try to run tractography ROI selection, I get the following error:

Tractography ROI Selection standard error:

dyld: Library not loaded: /Volumes/Dashboards/Support/qt-everywhere-build-5.10.0/lib/QtSql.framework/Versions/5/QtSql  
Referenced from: /Applications/Slicer.app/Contents/Extensions-28371/SlicerDMRI/lib/Slicer-4.11/cli-modules/libFiberBundleLabelSelectLib.dylib  
Reason: image not found

I’ve tried redownloading the SlicerDMRI extension, but nothing’s worked so far.

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 11, 2019, 6:21pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/2 "2019-07-11T18:21:09Z")

</div>

Hi. Could you please try SlicerDMRI in the Slicer release version (4.10.2) and let us know if this works for you?

There is some rapid development happening in the Nightly Preview version so it’s possible something has broken. It looks to be related to Qt, and possibly not directly caused by SlicerDMRI. Did any other modules not work for you in the Preview version?

---

<div class="post-metadata">

**Author:** ![cindy](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@cindy](https://discourse.slicer.org/u/cindy)\
**Post date:** [July 11, 2019, 6:28pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/3 "2019-07-11T18:28:43Z")

</div>

Hi there! I tried it in the 4.10.2 version as well as the 4.11.0 version but I had the same error message.

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 11, 2019, 6:45pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/4 "2019-07-11T18:45:04Z")

</div>

Thank you. Could you please help us reproduce this by letting us know which page of the tutorial you are on and what dataset you used?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 11, 2019, 6:49pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/5 "2019-07-11T18:49:13Z")

</div>

I confirm that I got the same error running the CLI with SlicerDMRI on mac with 4.10.2. It appears to be an extension linking/packaging issue (like SlicerDMRI links to the SQL library but that is not included in Slicer’s distribution). @jcfr do you have any ideas?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 11, 2019, 7:12pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/6 "2019-07-11T19:12:50Z")

</div>

@cindy if you have access to a windows machine the same module does work there (4.10.2 SlicerDMRI, probably works on linux too but I didn’t test).

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [July 11, 2019, 7:45pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/7 "2019-07-11T19:45:28Z")

</div>

> [@pieper](#):
>
> do you have any ideas?

Thanks for letting me know. Looking into it and will report back shortly.

---

<div class="post-metadata">

**Author:** ![cindy](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@cindy](https://discourse.slicer.org/u/cindy)\
**Post date:** [July 11, 2019, 8:23pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/8 "2019-07-11T20:23:51Z")

</div>

It worked for me on Windows! Thanks @pieper

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [July 11, 2019, 11:02pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/10 "2019-07-11T23:02:50Z")

</div>

A regression was introduced back in December. The following PR should fix the problem for Slicer preview build.

> <https://github.com/Slicer/Slicer/pull/1174>

Once we confirm it works well for the Preview extensions, I will backport the fix into the Slicer 4.10 branch and locally apply the change on the build machine.

Update: Corresponding changes have been integrated into both Slicer and the maintenance branch for Slicer 4.10. Change to the extension build system for Slicer 4.10 have also been applied locally on the build machine.

Extensions made available tomorrow through the extension manager should be valid.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 12, 2019, 12:02pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/11 "2019-07-12T12:02:50Z")

</div>

Thanks very much @jcfr!

---

<div class="post-metadata">

**Author:** ![cindy](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@cindy](https://discourse.slicer.org/u/cindy)\
**Post date:** [July 12, 2019, 3:02pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/12 "2019-07-12T15:02:24Z")

</div>

thank you!! this worked for me this morning.

---

<div class="post-metadata">

**Author:** ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)\
**Post date:** [July 16, 2019, 5:48pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/13 "2019-07-16T17:48:13Z")

</div>

Hi @jcfr thanks for the fix. The night version works form me, but the Stable Release 4.10 still has the issue: “dyld: Library not loaded: /Volumes/Dashboards/Support/qt-everywhere-build-5.10.0/lib/QtSql.framework/Versions/5/QtSql”.

Regards,  
Fan

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [July 16, 2019, 9:31pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/14 "2019-07-16T21:31:29Z")

</div>

Could you check you are using 4.10.2 and not 4.10.1 ?

---

<div class="post-metadata">

**Author:** ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)\
**Post date:** [July 19, 2019, 6:46pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/15 "2019-07-19T18:46:13Z")

</div>

Hi @jcfr

I confirm that I was using 4.10.2. I just installed Slicer 4.10.2 again. It gave me the same error.

But, after looking into the error, I found that the newly installed 4.10.2 was trying to call a lib from another Slicer (4.10.2) installed on my computer. After I removed the old 4.10.2, the tract selection module works now. Perhaps, this is an issue that you have noticed?

Thank you!!!

@ljod

Regards,  
Fan

---

<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:** [July 19, 2019, 7:12pm UTC](https://discourse.slicer.org/t/slicer-tractography-roi-selection-not-working/7537/16 "2019-07-19T19:12:33Z")

</div>

All extensions are shared between all Slicer installations of the same version of the current user. You need to update (or uninstall and install) the _extension_ to update it (Slicer install/uninstall will have no effect).
