View Issue Details

IDProjectCategoryView StatusLast Update
0002533Slicer4Core: Extensionspublic2017-06-07 23:27
Reporterlassoan Assigned Tojcfr  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.2-1Fixed in VersionSlicer 4.2.2-1 
Summary0002533: Failed to open launcher settings is reported when installing extension
Description

In the Extension Manager GUI "Failed to open launcher settings file C:/Program Files (x86)/Slicer 4.1.0-2012-09-14/bin/SlicerLauncherSettings.ini" error is displayed after clicking on the "Install" button of any extensions.

Despite the error message, the extensions appear to be installed correctly and work fine.

TagsNo tags attached.

Relationships

related to 0002720 closedjcfr can't install extensions on windows 

Activities

jcfr

jcfr

2012-10-01 11:29

administrator   ~0006302

After removing all existing settings and extensions, using nightly build 4.1.0-2012-09-30 r21085, I was unable to reproduce the issue. Re-open if it's still an issue.

lassoan

lassoan

2012-10-06 04:24

developer   ~0006407

It is still reproducible with the latest nightly (Slicer 4.1.0-2012-10-05). Sometimes it does not happen when you click on install only one extension, but when you click on install of a second extension as well then it always happens.

2012-10-06 04:25

 

jcfr

jcfr

2012-10-18 16:33

administrator   ~0006633

Was able to reproduce the problem. My initial guess is that QSettings keep a file descriptor open or something along that idea.

jcfr

jcfr

2012-11-07 17:41

administrator   ~0007118

See http://na-mic.org/Bug/view.php?id=2720#c7117

jcfr

jcfr

2012-11-15 08:49

administrator   ~0007246

Considering that:

  • extensions work on windows despite of the message
  • certificate has been ordered and should be available in the coming two business days.

I re-targeted the issue.

jcfr

jcfr

2012-12-06 14:36

administrator   ~0007439

Fixed in:
trunk: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21482
4.2 branch: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21489

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010761

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

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014676

Fix committed to 2145-support-for-installing-extension-from-file branch.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file e6fb116c

2012-12-06 19:23:59

jcfr

Details Diff
ENH: Support per user per revision extensions settings

There is now a clear distinction between:
- userSettings -> i.e. ~/.config/NA-MIC/Slicer.ini
- revisionUserSettings -> i.e. ~/.config/NA-MIC/Slicer-<revision>.ini

The following slicer settings are now revision specific:
- Extensions/ManagerEnabled
- Extensions/ServerUrl
- Extensions/InstallPath
- Modules/AdditonalPath
- Modules/IgnoreModules

Additionally, the launcher version has also been updated to be able to
consider settings associated with a user, application and revision. This is
captured by the new parameter APPLICATION_REVISION, ORGANIZATION_DOMAIN,
ORGANIZATION_NAME and USER_ADDITIONAL_SETTINGS_FILEBASENAME passed to the CMake
function "ctkAppLauncherConfigure".

qSlicerCoreApplication API has also been extended and now includes methods
like:
- QSettings* userSettings() [settings() method is deprecated and kept for backward compatibility]
- QSettings* revisionUserSettings()
- QString launcherRevisionUserSettingsFilePath()
- QString slicerUserSettingsFilePath()
- QString slicerRevisionUserSettingsFilePath()

In addition to the settings, the extensions install path is also revision
specific, it means that it's now possible to have multiple version of slicer
running with different set of extensions.

Fixes 0002791, 0002143, 0002720, 0002533


Since the version of the launcher is updated, launcher will return EXIT_FAILURE
also when no application is been set in the launcher settings.

Fixes 0002767

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21482 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/CMakeLists.txt Diff File
mod - Applications/SlicerApp/Main.cxx Diff File
mod - Applications/SlicerApp/qSlicerAppMainWindow.cxx Diff File
mod - Base/Logic/Testing/vtkSlicerApplicationLogicTest1.cxx Diff File
mod - Base/Logic/vtkSlicerApplicationLogic.cxx Diff File
mod - Base/Logic/vtkSlicerApplicationLogic.h Diff File
mod - Base/QTApp/qSlicerApplicationHelper.cxx Diff File
mod - Base/QTCLI/qSlicerCLIModuleFactoryHelper.cxx Diff File
mod - Base/QTCore/Testing/Cxx/qSlicerCoreApplicationTest1.cxx Diff File
mod - Base/QTCore/Testing/Cxx/qSlicerExtensionsManagerModelTest.cxx Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-CLIExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-LoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-ScriptedLoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-SuperBuildLoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
mod - Base/QTCore/qSlicerCoreApplication.h Diff File
mod - Base/QTCore/qSlicerCoreApplication_p.h Diff File
mod - Base/QTCore/qSlicerCoreCommandOptions.cxx Diff File
mod - Base/QTCore/qSlicerCoreCommandOptions.h Diff File
mod - Base/QTCore/qSlicerExtensionsManagerModel.cxx Diff File
mod - Base/QTCore/qSlicerExtensionsManagerModel.h Diff File
mod - Base/QTCore/qSlicerLoadableModuleFactory.cxx Diff File
mod - Base/QTGUI/qSlicerExtensionsManagerDialog.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleFactory.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsExtensionsPanel.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsGeneralPanel.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsModulesPanel.cxx Diff File
mod - CMake/SlicerConfig.cmake.in Diff File
mod - CMake/UseSlicer.cmake.in Diff File
mod - CMake/vtkSlicerConfigure.h.in Diff File
mod - CMakeLists.txt Diff File
mod - Modules/Loadable/Colors/qSlicerColorsModule.cxx Diff File
mod - Modules/Scripted/Scripts/DICOM.py Diff File
mod - SuperBuild.cmake Diff File
mod - SuperBuild/External_CTK.cmake Diff File
mod - SuperBuild/External_CTKAPPLAUNCHER.cmake Diff File

Issue History

Date Modified Username Field Change
2012-09-18 05:19 lassoan New Issue
2012-09-18 05:19 lassoan Status new => assigned
2012-09-18 05:19 lassoan Assigned To => jcfr
2012-09-25 09:24 jcfr Target Version => Slicer 4.2.0 - coming release
2012-10-01 11:29 jcfr Note Added: 0006302
2012-10-01 11:29 jcfr Status assigned => resolved
2012-10-01 11:29 jcfr Fixed in Version => Slicer 4.2.0 - coming release
2012-10-01 11:29 jcfr Resolution open => unable to reproduce
2012-10-06 04:24 lassoan Note Added: 0006407
2012-10-06 04:24 lassoan Status resolved => feedback
2012-10-06 04:24 lassoan Resolution unable to reproduce => reopened
2012-10-06 04:25 lassoan File Added: FailedToOpenLauncherSettings.png
2012-10-18 16:33 jcfr Note Added: 0006633
2012-10-18 16:33 jcfr Status feedback => assigned
2012-10-31 10:33 jcfr Target Version Slicer 4.2.0 - coming release => Slicer 4.2.1
2012-11-01 15:37 jcfr Relationship added related to 0002720
2012-11-07 17:41 jcfr Note Added: 0007118
2012-11-07 17:41 jcfr Status assigned => feedback
2012-11-15 08:48 jcfr Target Version Slicer 4.2.1 => Slicer 4.2.2
2012-11-15 08:49 jcfr Note Added: 0007246
2012-12-06 14:36 jcfr Note Added: 0007439
2012-12-06 14:36 jcfr Status feedback => resolved
2012-12-06 14:36 jcfr Resolution reopened => fixed
2012-12-07 18:29 jcfr Fixed in Version Slicer 4.2.0 => Slicer 4.2.2
2014-03-06 04:53 jcfr Note Added: 0010761
2014-03-06 04:55 jcfr Status resolved => closed
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file e6fb116c
2017-06-07 23:27 jcfr Note Added: 0014676