# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?page=121

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

**Page:** 122

---

## [Slicer extension index update procedure](https://discourse.slicer.org/t/slicer-extension-index-update-procedure/2415)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 6\
**Last updated:** [March 26, 2018, 5:16pm UTC](https://discourse.slicer.org/t/slicer-extension-index-update-procedure/2415 "2018-03-26T17:16:22Z")

</div>

Different approaches are used for updating extension index. One is to specify git hashes, another is to define a branch name. We started an interesting discussion around a pull request. I copy it here so that the discuss…

---

## [Compilation and link errors in the Slicer version 4.8.0](https://discourse.slicer.org/t/compilation-and-link-errors-in-the-slicer-version-4-8-0/1606)

<div class="topic-metadata">

**Author:** [@carlos-luque](https://discourse.slicer.org/u/carlos-luque)\
**Replies:** 6\
**Last updated:** [March 26, 2018, 2:21pm UTC](https://discourse.slicer.org/t/compilation-and-link-errors-in-the-slicer-version-4-8-0/1606 "2018-03-26T14:21:13Z")

</div>

Operating system: Windows 8.1 64 bits Slicer version: 4.8.0 (revision 944c364) with Qt 5.9.2 Compiler: visual studio 2015 Hello, I tried to build Slicer (4.8.0) in debug mode and I faced several issues: Compilatio…

---

## [Generate binary file from MarchingCube](https://discourse.slicer.org/t/generate-binary-file-from-marchingcube/2404)

<div class="topic-metadata">

**Author:** [@MGM](https://discourse.slicer.org/u/MGM)\
**Replies:** 8\
**Last updated:** [March 26, 2018, 2:42pm UTC](https://discourse.slicer.org/t/generate-binary-file-from-marchingcube/2404 "2018-03-26T14:42:43Z")

</div>

Hello everyone, After generating a surface via " vtkMarchingCube " from 3d volume file, I would like to write binary format output files ( point.bin and index.bin), which mean, instead of using " vtkPolyDataWriter " to …

---

## [March 24, 2018: Nightly build manually re-triggered after fixing regression due to rename of vtkNRRDReader, vtkNRRDWriter to vtkTeemNRRD{R,W}](https://discourse.slicer.org/t/march-24-2018-nightly-build-manually-re-triggered-after-fixing-regression-due-to-rename-of-vtknrrdreader-vtknrrdwriter-to-vtkteemnrrd-r-w/2413)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 4\
**Last updated:** [March 25, 2018, 12:01pm UTC](https://discourse.slicer.org/t/march-24-2018-nightly-build-manually-re-triggered-after-fixing-regression-due-to-rename-of-vtknrrdreader-vtknrrdwriter-to-vtkteemnrrd-r-w/2413 "2018-03-25T12:01:49Z")

</div>

What happen ? vtkNRRDReader, vtkNRRDWriter classes were renamed to vtkTeemNRRDReader and vtkTeemNRRDWriter in r27102 Project impacted by the rename were all updated :+1: but the update of the MultiVolumeExplorer has…

---

## [Slicer 5.0 deprecation discussion/wiki](https://discourse.slicer.org/t/slicer-5-0-deprecation-discussion-wiki/2377)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 8\
**Last updated:** [March 25, 2018, 7:55am UTC](https://discourse.slicer.org/t/slicer-5-0-deprecation-discussion-wiki/2377 "2018-03-25T07:55:52Z")

</div>

Hi all, Not sure how to propose topics in the agenda, as the developer hangouts page seems not to be used anymore. In any case, I’d like to propose that we talk about non-backward-compatible changes regarding the upcom…

---

## [Email: Your access to Slicer/Slicer from CircleCI was revoked by GitHub](https://discourse.slicer.org/t/email-your-access-to-slicer-slicer-from-circleci-was-revoked-by-github/2412)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [March 24, 2018, 1:47am UTC](https://discourse.slicer.org/t/email-your-access-to-slicer-slicer-from-circleci-was-revoked-by-github/2412 "2018-03-24T01:47:54Z")

</div>

Thanks @fbudin69500 for reporting the problem. If you got an email with the same title, just to let you know that we contacted CircleCI support. I will post update here. It may be related to this but I will know more …

---

## [Cdash build test failing for Windows without error log](https://discourse.slicer.org/t/cdash-build-test-failing-for-windows-without-error-log/2378)

<div class="topic-metadata">

**Author:** [@chribaue](https://discourse.slicer.org/u/chribaue)\
**Replies:** 16\
**Last updated:** [March 24, 2018, 12:02am UTC](https://discourse.slicer.org/t/cdash-build-test-failing-for-windows-without-error-log/2378 "2018-03-24T00:02:24Z")

</div>

Hi, one of the self tests I wrote for one of my extensions keeps failing on Cdash for the Windows build without giving me a reasonable error log: http://slicer.cdash.org/testDetails.php?test=8729220&build=1223692 The …

---

## [Slicer -r26813 produces 4.9 lib](https://discourse.slicer.org/t/slicer-r26813-produces-4-9-lib/2379)

<div class="topic-metadata">

**Author:** [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Replies:** 8\
**Last updated:** [March 22, 2018, 2:19pm UTC](https://discourse.slicer.org/t/slicer-r26813-produces-4-9-lib/2379 "2018-03-22T14:19:43Z")

</div>

Operating system:Ubuntu Slicer version:4.8.1 Expected behavior: it should produce 4.8 Actual behavior: 4.9 is produced I used 26813 which is the source of the stable version 4.8.1 Checked out revision 26813. I j…

---

## [SlicerExecutionModel build system and infrastructure updated](https://discourse.slicer.org/t/slicerexecutionmodel-build-system-and-infrastructure-updated/2397)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 3:43am UTC](https://discourse.slicer.org/t/slicerexecutionmodel-build-system-and-infrastructure-updated/2397 "2018-03-22T03:43:28Z")

</div>

The project has been updated: README: now include a Contributing section Testing framework has been simplified to use CircleCI 2.0 Configuration/Compile/Test are are now done in less than 2 mins against ITK v4.8, v4.10…

---

## [Segment Editor - Odd cursor behavior using tablet with latest nightly builds](https://discourse.slicer.org/t/segment-editor-odd-cursor-behavior-using-tablet-with-latest-nightly-builds/2385)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 6\
**Last updated:** [March 21, 2018, 6:43pm UTC](https://discourse.slicer.org/t/segment-editor-odd-cursor-behavior-using-tablet-with-latest-nightly-builds/2385 "2018-03-21T18:43:30Z")

</div>

Hey guys, In the March 18 nightly build, I noticed some odd behavior when using my wacom tablet with the Segment Editor. If I select the paint tool and move the tool around with my mouse, the circle that represents the …

---

## [Extension builds on dashboard](https://discourse.slicer.org/t/extension-builds-on-dashboard/2389)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 5:28pm UTC](https://discourse.slicer.org/t/extension-builds-on-dashboard/2389 "2018-03-21T17:28:04Z")

</div>

Hello all, I was wondering what might cause an extension to not be built on the dashboard? The SlicerVASST extension was built (and failed) on the mac build machine, but was not built for Windows. Cheers, Adam

---

## [March 21, 2018: Nightly build manually re-triggered after fixing regression due to AtlasCreatorLogic removal](https://discourse.slicer.org/t/march-21-2018-nightly-build-manually-re-triggered-after-fixing-regression-due-to-atlascreatorlogic-removal/2381)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 6:18am UTC](https://discourse.slicer.org/t/march-21-2018-nightly-build-manually-re-triggered-after-fixing-regression-due-to-atlascreatorlogic-removal/2381 "2018-03-21T06:18:15Z")

</div>

Since AtlasCreator logic was promptly removed in r27088 (STYLE: Remove unused AtlasCreator loadable module logic) but it was still needed by EMSegment: AtlasCreator logic was directly added to the EMSegment module (see…

---

## [New 3D Slicer Module that Connects to a MySQL DB](https://discourse.slicer.org/t/new-3d-slicer-module-that-connects-to-a-mysql-db/2350)

<div class="topic-metadata">

**Author:** [@Carlo](https://discourse.slicer.org/u/Carlo)\
**Replies:** 2\
**Last updated:** [March 19, 2018, 3:54pm UTC](https://discourse.slicer.org/t/new-3d-slicer-module-that-connects-to-a-mysql-db/2350 "2018-03-19T15:54:53Z")

</div>

Hi all, I’m creating a new module for 3D Slicer 4.8.1. It will have to connect to MySql database. So, first of all I installed mysql-connetor in ubuntu pip install mysql-connector then in my 3D Slicer module I added …

---

## [Error message Could not load... scalar volume](https://discourse.slicer.org/t/error-message-could-not-load-scalar-volume/2343)

<div class="topic-metadata">

**Author:** [@lindalizeth](https://discourse.slicer.org/u/lindalizeth)\
**Replies:** 1\
**Last updated:** [March 17, 2018, 7:45pm UTC](https://discourse.slicer.org/t/error-message-could-not-load-scalar-volume/2343 "2018-03-17T19:45:24Z")

</div>

Hi Forum, I´m trying to load a DICOM file from CT Abdominal, but always get the error message: could not load… scalar volume, any hints?, the link to the archive is this: \[link removed due to potentially containing pat…

---

## [Volume rendering slow in latest nightlies for MacOS](https://discourse.slicer.org/t/volume-rendering-slow-in-latest-nightlies-for-macos/2231)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 21\
**Last updated:** [March 16, 2018, 5:02pm UTC](https://discourse.slicer.org/t/volume-rendering-slow-in-latest-nightlies-for-macos/2231 "2018-03-16T17:02:10Z")

</div>

Hey guys, I’m pretty sure I saw something about this come across on the Development list in the last week or so but a quick search didn’t come up with anything… Volume rendering is significantly slower with the latest …

---

## [Nightly mac Slicer-4.9.0-2018-03-13-macosx-amd64 does not open](https://discourse.slicer.org/t/nightly-mac-slicer-4-9-0-2018-03-13-macosx-amd64-does-not-open/2313)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 5\
**Last updated:** [March 15, 2018, 2:35am UTC](https://discourse.slicer.org/t/nightly-mac-slicer-4-9-0-2018-03-13-macosx-amd64-does-not-open/2313 "2018-03-15T02:35:23Z")

</div>

Message is: Termination Reason: DYLD, \[0x1\] Library missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/Frameworks/QtMultimedia.fram…

---

## [Display vtkMarchingCubes in 3d view](https://discourse.slicer.org/t/display-vtkmarchingcubes-in-3d-view/1471)

<div class="topic-metadata">

**Author:** [@TTrambi](https://discourse.slicer.org/u/TTrambi)\
**Replies:** 10\
**Last updated:** [March 15, 2018, 4:37am UTC](https://discourse.slicer.org/t/display-vtkmarchingcubes-in-3d-view/1471 "2018-03-15T04:37:53Z")

</div>

Hi I’m at slicer develoment and i got a basic question: I’m reading in dicom data and after some processing I convert it to vtk using the vtkImageImport. Then I create a mesh via the vtkMarchingCubes and save it to a .…

---

## [VMTK Slicer extension code](https://discourse.slicer.org/t/vmtk-slicer-extension-code/2263)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 2\
**Last updated:** [March 14, 2018, 8:15pm UTC](https://discourse.slicer.org/t/vmtk-slicer-extension-code/2263 "2018-03-14T20:15:54Z")

</div>

This is primarily addressed to Andras @lassoan, since it appears you’re the author of the SlicerExtension-VMTK code: I’ve been trying to use some parts of the CenterlineComputation.py code, and there are some things th…

---

## [Volume rendering, VTK 9 and Qt5 - Crop doesn't work correctly in master](https://discourse.slicer.org/t/volume-rendering-vtk-9-and-qt5-crop-doesnt-work-correctly-in-master/2309)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 8\
**Last updated:** [March 14, 2018, 3:10pm UTC](https://discourse.slicer.org/t/volume-rendering-vtk-9-and-qt5-crop-doesnt-work-correctly-in-master/2309 "2018-03-14T15:10:00Z")

</div>

MacOS 10.12.6, AMD Radeon R9 M370X - crop doesn’t work properly - it appears to clip the view rather than cropping the volume. This is master, updated through @jcfr’s DriverScript pull of a couple hours ago.

---

## [Using numpy reslice to get slices of segment](https://discourse.slicer.org/t/using-numpy-reslice-to-get-slices-of-segment/2257)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 4\
**Last updated:** [March 12, 2018, 1:21pm UTC](https://discourse.slicer.org/t/using-numpy-reslice-to-get-slices-of-segment/2257 "2018-03-12T13:21:10Z")

</div>

Hey guys (and especially Andras! (@lassoan) A while back Andras helped me with a super handy python script to calculate the area of a segment’s slices slice-by-slice and put it in a table. I’ve been working on putting t…

---

## [Numerous extensions fail with "packageupload" errors on the dashboard](https://discourse.slicer.org/t/numerous-extensions-fail-with-packageupload-errors-on-the-dashboard/2281)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 8\
**Last updated:** [March 10, 2018, 6:57pm UTC](https://discourse.slicer.org/t/numerous-extensions-fail-with-packageupload-errors-on-the-dashboard/2281 "2018-03-10T18:57:08Z")

</div>

There are many extensions, including SlicerDMRI, SlicerOpenIGTLink, SlicerRadiomics, LASegmenter, TOMAAT, MatlabBridge, that are failing with the error below starting from March 8. I am unable to reproduce this error loc…

---

## [How to draw a line by clicking some scattered points](https://discourse.slicer.org/t/how-to-draw-a-line-by-clicking-some-scattered-points/2225)

<div class="topic-metadata">

**Author:** [@spring](https://discourse.slicer.org/u/spring)\
**Replies:** 6\
**Last updated:** [March 10, 2018, 2:06pm UTC](https://discourse.slicer.org/t/how-to-draw-a-line-by-clicking-some-scattered-points/2225 "2018-03-10T14:06:48Z")

</div>

Hi All, I want to draw a line by connecting some scattered points which I have clicked in the view. I can get each points RAS position, but it seems can not display the final line in Slicer, below is my code for drawin…

---

## [NRRD loading broken on Windows since yesterday nightly](https://discourse.slicer.org/t/nrrd-loading-broken-on-windows-since-yesterday-nightly/2274)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [March 9, 2018, 6:55pm UTC](https://discourse.slicer.org/t/nrrd-loading-broken-on-windows-since-yesterday-nightly/2274 "2018-03-09T18:55:22Z")

</div>

It seems that NRRD loading has been broken on Windows by a commit made yesterday. I noticed it when I updated my local clone and tried using Slicer afterwards. NRRD files failed to be loaded in both debug and release mod…

---

## [Mac build error in superclass array initializer in mrml volume rendering properties](https://discourse.slicer.org/t/mac-build-error-in-superclass-array-initializer-in-mrml-volume-rendering-properties/2270)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 5\
**Last updated:** [March 8, 2018, 7:38pm UTC](https://discourse.slicer.org/t/mac-build-error-in-superclass-array-initializer-in-mrml-volume-rendering-properties/2270 "2018-03-08T19:38:47Z")

</div>

When I build now on mac I get the error below (related to this recent commit about volume rendering presets). /Users/pieper/slicer4/latest/Slicer/Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumePropertyNode.cxx:27:19…

---

## [GUI libraries and licenses](https://discourse.slicer.org/t/gui-libraries-and-licenses/2239)

<div class="topic-metadata">

**Author:** [@terajnol](https://discourse.slicer.org/u/terajnol)\
**Replies:** 9\
**Last updated:** [March 7, 2018, 9:16am UTC](https://discourse.slicer.org/t/gui-libraries-and-licenses/2239 "2018-03-07T09:16:10Z")

</div>

Hi everyone, The default GUI library for modules is Qt, used by the great majority of extensions. I have few questions about GUi libraries: Are other GUI libraries supported by Slicer 3D? It is possible to use Tkint…

---

## [Error when installing scikit-image via Python Interactor](https://discourse.slicer.org/t/error-when-installing-scikit-image-via-python-interactor/2253)

<div class="topic-metadata">

**Author:** [@ckuzi001](https://discourse.slicer.org/u/ckuzi001)\
**Replies:** 1\
**Last updated:** [March 7, 2018, 12:17am UTC](https://discourse.slicer.org/t/error-when-installing-scikit-image-via-python-interactor/2253 "2018-03-07T00:17:08Z")

</div>

Hello Everyone, I am attempting to install the scikit-image package via the Slicer Python Interactor using the command: pip.main(\[‘install’, ‘scikit-image’\]) However, this throws an error. As a test, I tried th…

---

## [Accessing the Module Window](https://discourse.slicer.org/t/accessing-the-module-window/2241)

<div class="topic-metadata">

**Author:** [@asheu](https://discourse.slicer.org/u/asheu)\
**Replies:** 7\
**Last updated:** [March 6, 2018, 3:12am UTC](https://discourse.slicer.org/t/accessing-the-module-window/2241 "2018-03-06T03:12:47Z")

</div>

Hi there, I was wondering if there was any way to access the currently running module and its corresponding widgets through code. By this, I mean for example if I were running the Segmentation module, is it possible for…

---

## [Web view in Python in Slicer-4.9](https://discourse.slicer.org/t/web-view-in-python-in-slicer-4-9/2224)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [March 5, 2018, 1:42pm UTC](https://discourse.slicer.org/t/web-view-in-python-in-slicer-4-9/2224 "2018-03-05T13:42:31Z")

</div>

In Qt4, I used to use qt.QWebView() to show html content on the GUI, but this does not seem to be available in Qt5 in Slicer. I’ve tried to access Qt WebEngine from Python but it is either not wrapped or I just could not…

---

## [Are Qt4 and Qt5 still supported?](https://discourse.slicer.org/t/are-qt4-and-qt5-still-supported/2233)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 12:40am UTC](https://discourse.slicer.org/t/are-qt4-and-qt5-still-supported/2233 "2018-03-03T00:40:34Z")

</div>

Technically, as of 2018/03/02, both Qt4 and Qt5 are still supported and we have not updated the build instructions on the wiki. Rational: For now, it allows us at Kitware to keep using the latest version of Slicer while…

---

## [Which Qt should I install?](https://discourse.slicer.org/t/which-qt-should-i-install/1480)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 5\
**Last updated:** [March 2, 2018, 4:09pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480 "2018-03-02T16:09:24Z")

</div>

This link says Qt4, but I think Slicer now uses Qt5. Should I blindly follow the build instructions of that wiki or try installing Qt5? I’m on macOS Sierra 10.12.6.

[Previous page](https://discourse.slicer.org/c/dev/5.md?page=120)

[Next page](https://discourse.slicer.org/c/dev/5.md?page=122)
