View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002767 | Slicer4 | Core: Extensions | public | 2012-11-16 05:17 | 2017-06-07 23:27 |
Reporter | fedorov | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.2-1 | Fixed in Version | Slicer 4.2.2-1 | ||
Summary | 0002767: Extension test pass despite of "error: Application does NOT exists []" | ||||
Description | See http://slicer-devel.65872.n3.nabble.com/Critical-Dashboard-Win7-launcher-issues-tt4026842.html // --------------------- Please look at this entry: Here's the output of this test that "Passed". There are many tests error: Application does NOT exists [] Options | ||||
Tags | No tags attached. | ||||
One more detail: this seems to be happening on 4.2 extensions dashboard. On the nightly dashboard, I do not see this issue. |
|
For some reason, the launcher settings have been improperly generated. I fixed them by re-running the target "SlicerConfigureLauncherSettings"... so that the error does not happen. I also identified the reason explaining the error wasn't reported. The launcher wasn't reporting an EXIT_FAILURE error code in case of missing application. This is captured by the following issue: https://github.com/commontk/AppLauncher/issues/35 |
|
JC, we probably need to add an issue to create a set of tests that would test the testing framework that would emulate various conditions of a failing test (exception, segfault, missing file). Another idea is to have the framework return "fail" by default, unless there is explicit "success" from the test. It would be much better to have false negatives than false positives, as in this case! |
|
There is already some test to exercise the framework: This problem is specific to the launcher, a 41th test will be added to the launcher test suite :) |
|
Issue re-targeted for 4.2.2. It doesn't make sens to update the launcher version today. |
|
Launcher itself has been fixed. See https://github.com/commontk/AppLauncher/commit/12090723b40d60430ddb77a5bf2cfedad4c56d10 Next week will have to release version 0.1.10 and update External_CTKAppLauncher.cmake |
|
Fixed in: |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file e6fb116c 2012-12-06 19:23:59 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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-16 05:17 | jcfr | New Issue | |
2012-11-16 05:17 | jcfr | Status | new => assigned |
2012-11-16 05:17 | jcfr | Assigned To | => jcfr |
2012-11-16 05:17 | jcfr | Reporter | jcfr => fedorov |
2012-11-16 05:17 | jcfr | Target Version | => Slicer 4.2.1 |
2012-11-16 05:23 | fedorov | Note Added: 0007277 | |
2012-11-16 09:35 | jcfr | Note Added: 0007292 | |
2012-11-16 09:41 | fedorov | Note Added: 0007294 | |
2012-11-16 09:49 | jcfr | Note Added: 0007295 | |
2012-11-16 10:58 | jcfr | Target Version | Slicer 4.2.1 => Slicer 4.2.2 |
2012-11-16 10:58 | jcfr | Note Added: 0007300 | |
2012-11-20 09:21 | jcfr | Note Added: 0007328 | |
2012-12-06 14:31 | jcfr | Note Added: 0007433 | |
2012-12-06 14:31 | jcfr | Status | assigned => resolved |
2012-12-06 14:31 | jcfr | Fixed in Version | => Slicer 4.2.2 |
2012-12-06 14:31 | jcfr | Resolution | open => fixed |
2013-09-11 12:27 | fedorov | 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: 0014677 |