View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003876 | Slicer4 | Core: Base Code | public | 2014-10-18 17:31 | 2018-03-02 11:06 |
Reporter | lassoan | Assigned To | jcfr | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.5.0-1 | Fixed in Version | |||
Summary | 0003876: All python modules fail after uninstalling an extension | ||||
Description | Installed and then uninstalled SlicerRT extension. After that all Python modules failed to load. | ||||
Additional Information | THe problem is in the content of Slicer-23749.ini. After installing SlicerRT th ini file contents is OK: ... [LibraryPaths] [Paths] [PYTHONPATH] After uninstalling SlicerRT: [LibraryPaths] [Paths] [PYTHONPATH] [EnvironmentVariables] There are two issues:
| ||||
Tags | No tags attached. | ||||
This is serious stuff and still happens in Slicer-4.4. Users already reported Slicer not working and it took a lot of time to figure out what's happening and then explain them to go to their AppData dir, find the ini file corresponding to the corrupted Slicer release, delete it (this deletes all other non-default settings, too). |
|
Not just for SlicerRT but for other extensions, too (for example VolumeClip). Maybe impacts all extensions, or all that contains Python scripted modules? |
|
Does this process to uninstall the application work to reset things? http://www.slicer.org/slicerWiki/index.php/Documentation/4.4/FAQ#How_to_uninstall_Slicer.3F |
|
Uninstall does not help. The corrupted Slicer version becomes permanently broken on a computer where any extensions are uninstalled. The reason is that c:\Users\<yourusername>\AppData\Roaming\NA-MIC\Slicer-NNNNN.ini becomes corrupted and it is not touched by the installation/uninstallation process. |
|
On the most recent nightly build not just the Python modules not appear but Slicer sometimes will not even start if previously an extension was uninstalled. |
|
What happens if you uninstall it manually? Maybe we should add this step to the uninstall target. Or maybe we offer a script that performs the cleanup? (Or, better, of course, we fix the actual bug!). |
|
I'm not sure what you mean by manual uninstall. If you run Uninstall from the start menu then the ini files are extensions are not touched. If we add the ini file to the uninstall target then we should delete all the extension files too (the extension files would be orphaned without the corresponding ini file). |
|
This is a serious issue and it is present since almost 3 months already in both the latest stable version and all nightly versions. We already know about a lot of occurrences and surely there are many more people who just give up using or trying Slicer because of this problem. Is somebody working on the fix? |
|
I think we are saying the same thing - it sounds like extension installation should add some extra hooks to the uninstaller so that everything gets properly cleaned up. |
|
Yes, removing extensions and config files on Slicer uninstall could be nice, but not essential (some people might actually prefer to keep settings). The main issue though is that the ini files get corrupted when uninstalling extensions (not Slicer). What is the plan for the fix? I may try to investigate this but the best would be if Jc or others who implemented extension installation/uninstallation could work on it. |
|
Jc is travelling to SLC today so we may be able to discuss it in the coming days. I personally have not looked at all at any of this. |
|
Fixed in rev 24140 |
|
Thanks Andras. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-18 17:31 | lassoan | New Issue | |
2014-10-18 17:31 | lassoan | Status | new => assigned |
2014-10-18 17:31 | lassoan | Assigned To | => jcfr |
2014-11-13 21:47 | lassoan | Note Added: 0012695 | |
2014-11-13 21:50 | lassoan | Note Added: 0012696 | |
2014-11-13 21:50 | lassoan | Priority | normal => high |
2014-11-14 07:24 | jcfr | Status | assigned => acknowledged |
2014-11-14 07:24 | jcfr | Target Version | => Slicer 4.4.1 |
2014-12-02 11:50 | pinter | Relationship added | related to 0003894 |
2014-12-31 06:29 | pieper | Note Added: 0012823 | |
2015-01-05 10:12 | lassoan | Note Added: 0012830 | |
2015-01-05 10:13 | lassoan | Note Added: 0012831 | |
2015-01-05 19:55 | pieper | Note Added: 0012834 | |
2015-01-06 09:21 | lassoan | Note Added: 0012837 | |
2015-01-06 09:21 | lassoan | Note Edited: 0012830 | |
2015-01-06 09:57 | lassoan | Note Added: 0012838 | |
2015-01-06 14:39 | pieper | Note Added: 0012840 | |
2015-01-06 15:34 | lassoan | Note Added: 0012841 | |
2015-01-07 04:12 | pieper | Note Added: 0012843 | |
2015-03-27 22:00 | jcfr | Relationship added | has duplicate 0003933 |
2015-04-01 05:18 | lassoan | Note Added: 0013004 | |
2015-04-01 05:18 | lassoan | Status | acknowledged => resolved |
2015-04-01 05:18 | lassoan | Resolution | open => fixed |
2015-04-01 12:34 | jcfr | Note Added: 0013005 | |
2015-09-09 08:29 | jcfr | Target Version | Slicer 4.4.1 => Slicer 4.5.0-1 |
2018-03-02 11:06 | jcfr | Status | resolved => closed |