View Issue Details

IDProjectCategoryView StatusLast Update
0004007Slicer4Core: Extensionspublic2018-03-02 11:07
Reporterfbudin Assigned Tojcfr  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.4.0 
Target VersionFixed in VersionSlicer 4.5.0-1 
Summary0004007: Problem when creating an extension that has multilpe dependencies
Description

If one was creating an extension that depended on multiple other extensions and was giving, as specified in the s4ext files, a list of extensions separated by spaces, Slicer did not split that list when looking for dependencies upon download, and was trying to find an extension with all the names.
e.g. If your s4ext file contained the following line:
depends DTIProcess ResampleDTIlogEuclidean
Slicer was trying to resolve the dependencies and was trying to find the extension named "DTIProcess ResampleDTIlogEuclidean", instead of finding both extensions separately.
A fix has been proposed: https://github.com/Slicer/Slicer/pull/293

TagsNo tags attached.

Activities

jcfr

jcfr

2015-06-18 20:48

administrator   ~0013138

Last edited: 2015-06-18 20:49

Thanks for the patch !

Integrated in r24343
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=24343

Wiki page documenting the depends property has also been updated. See http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Extensions/DescriptionFile

Related Changesets

Import 2017-06-07 23:51:09: master 680d14df

2015-06-19 00:12:32

jcfr

Details Diff
BUG: String containing list of dependencies was not split. Fixes 0004007

If one was creating an extension that depended on multiple other
extensions and was giving, as specified in the s4ext files, a list of
extensions separated by spaces, Slicer did not split that list when
looking for dependencies upon download, and was trying to find an
extension with all the names.

e.g. If your s4ext file contained the following line:

depends DTIProcess ResampleDTIlogEuclidean

Slicer was trying to resolve the dependencies and was trying
to find the extension named "DTIProcess ResampleDTIlogEuclidean",
instead of finding both extensions separately.

From: Francois Budin <fbudin@email.unc.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24343 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerExtensionsManagerModel.cxx Diff File

Issue History

Date Modified Username Field Change
2015-06-18 07:04 fbudin New Issue
2015-06-18 07:04 fbudin Status new => assigned
2015-06-18 07:04 fbudin Assigned To => jcfr
2015-06-18 20:48 jcfr Note Added: 0013138
2015-06-18 20:48 jcfr Status assigned => resolved
2015-06-18 20:48 jcfr Fixed in Version => Slicer 4.4.1
2015-06-18 20:48 jcfr Resolution open => fixed
2015-06-18 20:49 jcfr Note Edited: 0013138
2015-09-09 08:29 jcfr Fixed in Version Slicer 4.4.1 => Slicer 4.5.0-1
2017-06-10 08:51 jcfr Changeset attached => Slicer master 680d14df
2018-03-02 11:07 jcfr Status resolved => closed