View Issue Details

IDProjectCategoryView StatusLast Update
0003179Slicer4Core: Extensionspublic2017-06-07 23:27
Reporterpieper Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.1Fixed in VersionSlicer 4.3.1 
Summary0003179: warn when trying to install extensions in read-only directory
Description

For example when the slicer.app is automounted from the .dmg there is now way to install extensions, but the user is not warned of this. See this discussion:

http://slicer-devel.65872.n3.nabble.com/Re-slicer-users-Unable-to-load-PkModeling-extension-tt4028676.html

TagsSummer AHM 2013

Activities

jcfr

jcfr

2013-06-19 13:40

administrator   ~0008791

There is already a message reported in the log.

See https://github.com/Slicer/Slicer/blob/d467231a9910897e7300913d8b4f19a243867c39/Base/QTCore/qSlicerExtensionsManagerModel.cxx#L1440-1441

Will add a check when the extensions manager is open

2013-09-25 00:36

 

jcfr

jcfr

2013-09-25 00:37

administrator   ~0010087

Here is a preview [1] of what will display the extension manager if the extension directory is not writable/readable/executable. A similar message will displayed if the settings file if not writable/readable.

[1] attached to this issue as Extension-manager-check-for-readonly_1.png

2013-09-25 14:22

 

jcfr

jcfr

2013-09-25 14:23

administrator   ~0010091

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

pieper

pieper

2013-10-08 02:12

administrator   ~0010151

Works great!

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014579

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

Related Changesets

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

2013-09-25 18:19:05

jcfr

Details Diff
BUG: Explicitly tell the user if extensions can't be installed

In case either the Slicer settings file or, the extensions install
directory are not readable/writable, a nicely formatted message will
be displayed to the user instead of the app-store page,

Note that the associated messages are also logged.

Fixes 0003179

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22487 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerExtensionsManagerModel.cxx Diff File
mod - Base/QTCore/qSlicerExtensionsManagerModel.h Diff File
add - Base/QTGUI/Resources/Icons/gtk-dialog-warning.png Diff File
mod - Base/QTGUI/Resources/qSlicerBaseQTGUI.qrc Diff File
mod - Base/QTGUI/qSlicerExtensionsInstallWidget.cxx Diff File
mod - Base/QTGUI/qSlicerWebWidget.cxx Diff File

Issue History

Date Modified Username Field Change
2013-06-19 08:44 pieper New Issue
2013-06-19 08:44 pieper Status new => assigned
2013-06-19 08:44 pieper Assigned To => jcfr
2013-06-19 12:23 jcfr Target Version => Slicer 4.3.0
2013-06-19 12:23 jcfr Tag Attached: Summer AHM 2013
2013-06-19 13:40 jcfr Note Added: 0008791
2013-08-30 13:06 jcfr Target Version Slicer 4.3.0 => Slicer 4.3.1
2013-09-25 00:36 jcfr File Added: Extension-manager-check-for-readonly_1.png
2013-09-25 00:37 jcfr Note Added: 0010087
2013-09-25 14:22 jcfr File Added: Extension-manager-check-for-readonly_r22487.png
2013-09-25 14:23 jcfr Note Added: 0010091
2013-09-25 14:23 jcfr Status assigned => resolved
2013-09-25 14:23 jcfr Fixed in Version => Slicer 4.3.1
2013-09-25 14:23 jcfr Resolution open => fixed
2013-10-08 02:12 pieper Note Added: 0010151
2013-10-08 02:12 pieper Status resolved => closed
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file d0f65e87
2017-06-07 23:27 jcfr Note Added: 0014579