View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002591 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2012-10-01 11:14 | 2017-06-07 23:27 |
Reporter | halazar | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0002591: bug in slicer.util.moduleNames() | ||||
Description | From nightly r21038:
| ||||
Tags | No tags attached. | ||||
Hi Chris, |
|
Confirmed, this issue persists. |
|
However, slicer.moduleNames appears to work correctly. |
|
Looking at the code: moduleNames does NOT exist anymore. See https://github.com/Slicer/Slicer/blob/master/Base/QTCore/qSlicerModuleFactoryManager.h#L60 It has been renamed into "loadedModuleNames". Can you confirm this later one is available. It yes, resolve the issue. Thanks [1] https://github.com/Slicer/Slicer/blob/master/Base/QTCore/qSlicerCoreApplication.h#L193 |
|
If I change it to call loadedModuleNames() in util.py, the output looks like this:
|
|
It means the API and it works as expected. Please resolve the issue. |
|
https://github.com/chrismullins/Slicer/commit/1126fa94790c4ca70750ce3a45d627cd3f6ef5fa |
|
Please reopen this issue. Why? crmullins's fix was not merged into main repo: as of today 6/11/2013 https://github.com/Slicer/Slicer/blob/master/Base/Python/slicer/util.py#L283 shows the old line!! |
|
Thanks for checking. Fixed in r22097 |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file a8a5917f 2013-06-11 15:38:06 Details Diff |
BUG: Fixes calls to slicer.util.moduleNames() In commit r19334 [1], the moduleNames() function has been renamed to "loadedModuleNames" but the corresponding function in slicer.util hasn't been renamed. This commit fixes slicer.util.moduleNames() so that it calls "loadedModuleNames" function. Fixes 0002591 [1]http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=19334 From: Christopher Mullins <christopher.mullins@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@22097 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/Python/slicer/util.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-01 11:14 | jcfr | New Issue | |
2012-10-01 11:14 | jcfr | Status | new => assigned |
2012-10-01 11:14 | jcfr | Assigned To | => jcfr |
2012-10-01 11:14 | jcfr | Reporter | jcfr => halazar |
2012-10-01 11:15 | jcfr | Target Version | => Slicer 4.2.0 - coming release |
2012-10-01 13:48 | jcfr | Assigned To | jcfr => crmullin |
2012-10-01 13:49 | jcfr | Note Added: 0006306 | |
2012-10-01 13:49 | jcfr | Note Edited: 0006306 | |
2012-10-12 07:19 | crmullin | Note Added: 0006509 | |
2012-10-12 08:07 | crmullin | Note Added: 0006511 | |
2012-10-12 08:20 | jcfr | Note Added: 0006512 | |
2012-10-12 08:45 | crmullin | Note Added: 0006513 | |
2012-10-12 09:35 | jcfr | Note Added: 0006515 | |
2012-10-12 09:38 | crmullin | Note Added: 0006516 | |
2012-10-12 09:38 | crmullin | Status | assigned => resolved |
2013-06-11 09:14 | imphead | Note Added: 0008743 | |
2013-06-11 11:38 | jcfr | Note Added: 0008747 | |
2014-03-06 05:15 | jcfr | Note Added: 0011087 | |
2014-03-06 05:16 | jcfr | Status | resolved => closed |
2014-03-06 05:55 | jcfr | Fixed in Version | => Slicer 4.4.0 |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file a8a5917f |
2017-06-07 23:27 | jcfr | Note Added: 0014642 | |
2017-06-07 23:27 | jcfr | Assigned To | crmullin => jcfr |
2017-06-07 23:27 | jcfr | Resolution | open => fixed |