Loading ST plugin causes TypeError: list indices must be integers or slices, not NoneType
#23
Labels
bug
Something isn't working
While trying to debug #21, I followed the installation instructions here, then followed the "Running" instructions here. All I did was run
shimming-toolbox
then Settings -> Ortho View (1) -> Shimming Toolbox.Nothing happens in the GUI, and in the terminal I see:
So, for some reason,
index
isNone
.I did some print-statement debugging, and found that
selection
is returned as an empty string""
.fsleyes-plugin-shimming-toolbox/fsleyes_plugin_shimming_toolbox/st_plugin.py
Line 389 in eadde84
So,
self.find_index()
fails to find anything, hence the crash:fsleyes-plugin-shimming-toolbox/fsleyes_plugin_shimming_toolbox/st_plugin.py
Line 399 in eadde84
I'm still not sure why
selection
is an empty string in the first place. I thought I would stop here and report to get insight from folks who have worked onst_plugin.py
for longer.The text was updated successfully, but these errors were encountered: