Problems with modules installation

The 3D Slicer of preview release (4.11.0,revision28931) can be installed successfully in my Macbook pro, but after some modules were downloaded from “Extentions manager” and the software was reopenned again, the modules can not be shown in the menu. The error informations are bellows:
QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

QPixmap::scaled: Pixmap is a null pixmap

Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:1337

Best wishes,
Xie

Hi @doc-xie - I don’t see anything in the log there to indicate what’s going on. Could you try the following:

  • look in the logs from past runs (they are in the Help -> report a bug menu)

  • try deleting all your slicer files and starting fresh, installing one extension at a time. Let us know if you can isolate the specific extension or combination that breaks things.

Best,
Steve

@doc-xie don’t forget to delete (or temporary move elsewhere) the application settings (.ini files).

Hi Steve,
The log message shows as following:

[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Session start time …: 2020-04-09 10:37:06
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Slicer version …: 4.11.0-2020-04-06 (revision 28931 / 526e73f) macosx-amd64 - installed release
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Operating system …: Mac OS X / 10.15.4 / 19E266 - 64-bit
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Memory …: 16384 MB physical, 2048 MB virtual
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - CPU …: GenuineIntel Intel(R) Core™ i7-8850H CPU @ 2.60GHz, 6 cores, 12 logical processors
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - VTK configuration …: OpenGL2 rendering, Sequential threading
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Qt configuration …: version 5.10.0, with SSL, requested OpenGL 3.2 (core profile)
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Application path …: /Applications/Slicer4_11.app/Contents/MacOS
[DEBUG][Qt] 09.04.2020 10:37:06 (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 09.04.2020 10:37:09 [Python] (/Applications/Slicer4_11.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 09.04.2020 10:37:10 [Python] (/Applications/Slicer4_11.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 09.04.2020 10:37:10 [Python] (/Applications/Slicer4_11.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 09.04.2020 10:37:11 (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 09.04.2020 10:37:15 (unknown:0) - Switch to module: “SegmentEditor”
[INFO][VTK] 09.04.2020 10:37:26 [vtkMRMLVolumeArchetypeStorageNode (0x7ffed4104d40)] (/Volumes/Dashboards/Preview/Slicer-0/Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx:471) - Loaded volume from file: /Users/dr.xie/Desktop/data for training.nrrd. Dimensions: 512x512x247. Number of components: 1. Pixel type: short.
[DEBUG][Qt] 09.04.2020 10:37:26 (unknown:0) - “Volume” Reader has successfully read the file “/Users/dr.xie/Desktop/data for training.nrrd” “[0.89s]”
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 09.04.2020 10:37:45 (unknown:0) - Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:1337
[CRITICAL][Qt] 09.04.2020 10:38:14 (unknown:0) - “{81c54703-cc56-4ddd-8bd1-da2840f4f0a5}: 5: Operation canceled”

The modules which I installed can be found in the Extentions manager, but they are not shown in the modules menu.

Screen Shot 2020-04-09 at 10.42.58 AM

I have the stable and the preview release versions in my computer. Do you mean I should uninstall all the files about Slicer?

Best wishes,
Xie

This indicates that the extensions have not been actually installed. Have you tried to uninstall and reinstall the modules? Make sure you wait for the “Restart” button to be enabled and click that (do not click the “Close” button if you want to install extensions).

Hi Lasson,
The issue have been solved after the modules were uninstalled and reinstalled. I think the reason is the modules have not been downloaded and installed completely.
Best wishes,
Xie

2 Likes

Hi @doc-xie - you might try this command on the mac on the nightly builds:

codesign --force --deep -s - /Applications/Slicer.app/Contents/MacOS/Slicer

It seems to really speed up application startup time and extension manager dialog operations.

More info here:

Hi Steve,
The modules in Slicer are working normally now. So I think the modules have not been installed completely. By the way, where should the command you give me to run?
In terminal: No such files or dictionary;
In Python interactor window in Slicer: invalid syntax.
Best wishes,
Xie

Hi Xie -

Yes, that codesign command should be run in a terminal. Since it says No such file it means you need to install it. I didn’t find the specific instructions, but I believe it comes if you install Xcode, which you can get from the Apple App Store.

Best,
Steve

Hi Steve,
Actually Xcode had been installed in my computer several months ago. But after the modules were uninstalled and reinstalled, they were shown in the Modules menu normally and works well for me.
Thanks,
Best wishes,
Xie