Data Probe widget is empty on Linux

Hi all,

I’ve been getting this error on Linux for a while. Since Linux builds were not available for a while, I waited until a new nightly came up, but the problem is still there. The weird thing is that I also tried on stable 4.8, 4.7 and 4.6 and I’m having the same issue:

Python 2.7.13 (default, Apr  6 2018, 03:07:59) 
[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2
Traceback (most recent call last):
  File "/home/fernando/opt/Slicer/Nightly/lib/Slicer-4.9/qt-scripted-modules/", line 66, in addView
    self.infoWidget = DataProbeInfoWidget(parent)
  File "/home/fernando/opt/Slicer/Nightly/lib/Slicer-4.9/qt-scripted-modules/", line 95, in __init__
  File "/home/fernando/opt/Slicer/Nightly/lib/Slicer-4.9/qt-scripted-modules/", line 384, in _createSmall
    self.sliceAnnotations = DataProbeLib.SliceAnnotations()
  File "/home/fernando/opt/Slicer/Nightly/lib/Slicer-4.9/qt-scripted-modules/DataProbeLib/", line 91, in __init__
    self.sliceViewAnnotationsEnabled = settingsValue('DataProbe/sliceViewAnnotations.enabled', 1, converter=int)
  File "/home/fernando/opt/Slicer/Nightly/bin/Python/slicer/", line 1128, in settingsValue
    return converter(settings.value(key)) if settings.contains(key) else default
ValueError: invalid literal for int() with base 10: 'false'

Do you know what could be happening?


It seems that your Slicer.ini file got corrupted. In your filesliceViewAnnotations.enabled value is set to false, while it should be 0 or 1.

1 Like

Thanks. I just deleted all the config:

$ rm -rf ~/.config/NA-MIC