View Issue Details

IDProjectCategoryView StatusLast Update
0002391Slicer4Core: Extensionspublic2014-03-06 04:51
Reportercrmullin Assigned Tojcfr  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0002391: Python code that is bundled with an extension is not accessible on Macs
Description

SlicerExtensionsManagerModelPrivate::addExtensionPathToLauncherSettings() is the place where the python paths are set.
Unfortunately, it applies only when using the Slicer launcher. And there is no launcher (nor a launcher ini file) with an install of Slicer on Mac.

Additional Information

For example, running the "Reporting" module gives the error:
RuntimeError: qSlicerScriptedLoadableModuleWidget::setPythonSource - Failed to load scripted pythonqt module class definition qSlicerReportingModuleWidget from /Applications/Slicer.app/Contents/Extensions/Reporting/lib/Slicer-4.1/qt-loadable-modules/libqSlicerReportingModule.dylib

TagsNo tags attached.

Relationships

related to 0002358 closedcrmullin Python wrapping in extensions fails on Mac 

Activities

crmullin

crmullin

2012-08-17 13:49

developer   ~0005564

I'm going to give this a try. If it doesn't work it will be reverted.

https://github.com/chrismullins/Slicer/commit/449fe22d34a092417353207390b0700c838fbf07

crmullin

crmullin

2012-08-22 13:56

developer   ~0005740

I have attempted several fixes without any success at correctly packaging the python libraries within extensions on Macs. Thanks for giving me a go at it. I'll continue to work at it, but pending that fix you may all incorporate Steve Pieper's workaround in the extensions. Again, that may be found here http://na-mic.org/Mantis/view.php?id=2358 or here https://github.com/fedorov/Reporting/commit/cecfa128685539114a51ed77a73f73535389a0da

jcfr

jcfr

2012-08-23 15:07

administrator   ~0005772

Fixed in r20852
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20852

jcfr

jcfr

2014-03-06 04:50

administrator   ~0010716

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-08-10 14:48 crmullin New Issue
2012-08-10 14:48 crmullin Status new => assigned
2012-08-10 14:48 crmullin Assigned To => jcfr
2012-08-10 14:48 crmullin Relationship added related to 0002358
2012-08-17 13:49 crmullin Note Added: 0005564
2012-08-21 12:25 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-22 13:56 crmullin Note Added: 0005740
2012-08-23 15:07 jcfr Note Added: 0005772
2012-08-23 15:07 jcfr Status assigned => resolved
2012-08-23 15:07 jcfr Fixed in Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-23 15:07 jcfr Resolution open => fixed
2014-03-06 04:50 jcfr Note Added: 0010716
2014-03-06 04:51 jcfr Status resolved => closed