I just tried to launch HyperspyUI with the latest hyperspy and hyperspyui master branches, and I'm getting an error. It seems to be related to traits/ipython, but I'm not sure what might be broken.
D:\UMD_Research\SOFC_Project\data\2015-01-30-YMdAP-02 EDS>python D:\UMD_Research\Software\hyperspyUI\hyperspyui\launch.py
C:\Python279-x64\lib\site-packages\sklearn\lda.py:4: DeprecationWarning: lda.LDA has been moved to discriminant_analysis.LinearDiscriminantAnalysis in 0.17 and will be removed in 0.19
"in 0.17 and will be removed in 0.19", DeprecationWarning)
C:\Python279-x64\lib\site-packages\sklearn\qda.py:4: DeprecationWarning: qda.QDA has been moved to discriminant_analysis.QuadraticDiscriminantAnalysis in 0.17 and will be removed in 0.19.
"in 0.17 and will be removed in 0.19.", DeprecationWarning)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "segmentation" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\segmentation.py", line 5, in <module>
from hyperspyui.tools import MultiSelectionTool
ImportError: cannot import name MultiSelectionTool
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "navigatorswitch" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\navigatorswitch.py", line 2, in <module>
import hyperspy.roi
ImportError: No module named roi
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "align" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\align.py", line 7, in <module>
from hyperspyui.tools import SelectionTool
ImportError: cannot import name SelectionTool
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "croptool" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\croptool.py", line 13, in <module>
from hyperspy.roi import BaseInteractiveROI
ImportError: No module named roi
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "moviesaver" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\moviesaver.py", line 18, in <module>
writers = mpl.animation.writers
AttributeError: 'module' object has no attribute 'animation'
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "linemeasure" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\linemeasure.py", line 11, in <module>
from hyperspy.roi import BaseInteractiveROI
ImportError: No module named roi
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "gaussianfilter" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\gaussianfilter.py", line 3, in <module>
from hyperspy.signal import DataIterator
ImportError: cannot import name DataIterator
self.warn("import", plug)
d:\umd_research\software\hyperspyui\hyperspyui\pluginmanager.py:93: RuntimeWarning: Exception in import of hyperspyui plugin "fitting" error:
File "d:\umd_research\software\hyperspyui\hyperspyui\plugins\fitting.py", line 14, in <module>
from hyperspyui.tools import SelectionTool
ImportError: cannot import name SelectionTool
self.warn("import", plug)
Traceback (most recent call last):
File "D:\UMD_Research\Software\hyperspyUI\hyperspyui\launch.py", line 93, in <module>
main()
File "D:\UMD_Research\Software\hyperspyUI\hyperspyui\launch.py", line 79, in main
form = MainWindow()
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindow.py", line 62, in __init__
super(MainWindow, self).__init__(parent)
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer5.py", line 97, in __init__
super(MainWindowLayer5, self).__init__(parent)
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer4.py", line 23, in __init__
super(MainWindowLayer4, self).__init__(parent)
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer3.py", line 24, in __init__
super(MainWindowLayer3, self).__init__(parent)
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer2.py", line 31, in __init__
super(MainWindowLayer2, self).__init__(parent)
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer1.py", line 133, in __init__
self.create_ui()
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer1.py", line 219, in create_ui
self.create_console()
File "d:\umd_research\software\hyperspyui\hyperspyui\mainwindowlayer1.py", line 484, in create_console
control = ConsoleWidget(config=c)
File "d:\umd_research\software\hyperspyui\hyperspyui\widgets\consolewidget.py", line 21, in __init__
super(ConsoleWidget, self).__init__(*args, **kwargs)
File "C:\Python279-x64\lib\site-packages\IPython\qt\console\rich_ipython_widget.py", line 39, in __init__
super(RichIPythonWidget, self).__init__(*args, **kw)
File "C:\Python279-x64\lib\site-packages\IPython\qt\console\ipython_widget.py", line 118, in __init__
super(IPythonWidget, self).__init__(*args, **kw)
File "C:\Python279-x64\lib\site-packages\IPython\qt\console\frontend_widget.py", line 155, in __init__
super(FrontendWidget, self).__init__(*args, **kw)
File "C:\Python279-x64\lib\site-packages\IPython\qt\console\history_console_widget.py", line 27, in __init__
super(HistoryConsoleWidget, self).__init__(*args, **kw)
File "C:\Python279-x64\lib\site-packages\IPython\qt\console\console_widget.py", line 245, in __init__
LoggingConfigurable.__init__(self, **kw)
File "C:\Python279-x64\lib\site-packages\IPython\config\configurable.py", line 80, in __init__
self.config = config
File "C:\Python279-x64\lib\site-packages\IPython\utils\traitlets.py", line 430, in __set__
new_value = self._validate(obj, value)
File "C:\Python279-x64\lib\site-packages\IPython\utils\traitlets.py", line 451, in _validate
return self.validate(obj, value)
File "C:\Python279-x64\lib\site-packages\IPython\utils\traitlets.py", line 965, in validate
self.error(obj, value)
File "C:\Python279-x64\lib\site-packages\IPython\utils\traitlets.py", line 798, in error
raise TraitError(e)
IPython.utils.traitlets.TraitError: The 'config' trait of a ConsoleWidget instance must be a Config or None, but a value of class 'traitlets.config.loader.Config' (i.e. {'FrontendWidget': {'banner': u'\n H y p e r S p y\n Version 0.9+dev\n\n http://www.hyperspy.org\n\n '}}) was specified.