This happens with:
IPython 5.1.0 and brand new Sardana 2.1.0 installation.
Wanted to point, that we don't know what 'MS' in "COMPNOT082W.PREVAC.EU.local:20000.MS_lab-01_1" means, there was no such word in previous version, which was: "COMPNOT082W.PREVAC.EU.local:20000/Door/lab-01/1"
C:\Users\m.sienczak>spock MainThread INFO 2016-09-14 08:51:20,546 TaurusRootLogger: Using "PyQt4" for Qt C:\Python27\lib\site-packages\IPython\utils\traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package. warn("IPython.utils.traitlets has moved to a top-level traitlets package.") C:\Python27\lib\site-packages\IPython\qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead. "You should import from qtconsole instead.", ShimWarning) C:\Python27\lib\site-packages\IPython\config.py:13: ShimWarning: The `IPython.config` package has been deprecated. You should import from traitlets.config instead. "You should import from traitlets.config instead.", ShimWarning) MainThread INFO 2016-09-14 08:51:20,711 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from C:\Python27\lib\site-packages\taurus-4.0.1-py2.7.egg\taurus\qt\qtgui\icon\) C:\Python27\lib\site-packages\IPython\core\interactiveshell.py:448: UserWarning: As of IPython 5.0 `PromptManager` config will have no effect and has been replaced by TerminalInteractiveShell.prompts_class warn('As of IPython 5.0 `PromptManager` config will have no effect' Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Python27\lib\multiprocessing\forking.py", line 380, in main prepare(preparation_data) File "C:\Python27\lib\multiprocessing\forking.py", line 503, in prepare file, path_name, etc = imp.find_module(main_name, dirs) ImportError: No module named spock Spock 2.1.0 -- An interactive laboratory application. help -> Spock's help system. object? -> Details about 'object'. ?object also works, ?? prints more. IPython profile: spockdoor Connected to Door_lab-01_1 MainThread WARNING 2016-09-14 08:51:21,302 TaurusRootLogger: C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py:307: DeprecationWarning: getStateObj is deprecated since 4.0. Use .stateObj [Tango] or .factory.getAttribute(state_full_name) [agnostic] instead self.getStateObj().addListener(self.stateChanged) MainThread WARNING 2016-09-14 08:51:21,391 TaurusRootLogger: C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py:550: DeprecationWarning: getState is deprecated since 4.0. Use .stateObj.read().rvalue [Tango] or .state [agnostic] instead self._old_door_state = self.getState() MainThread WARNING 2016-09-14 08:51:21,391 TaurusRootLogger: C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py:552: DeprecationWarning: getSWState is deprecated since 4.0. Use state instead self._old_sw_door_state = self.getSWState() MainThread WARNING 2016-09-14 08:51:21,461 TaurusRootLogger: C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py:107: DeprecationWarning: _get_value is deprecated since 4.0. Use .rvalue instead if evt_value is None or evt_value.value is None: MainThread WARNING 2016-09-14 08:51:22,194 TaurusRootLogger: C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\spock\spockms.py:556: DeprecationWarning: getHWObj is deprecated since 4.0. Use getDeviceProxy() instead device_proxy = element.getObj().getHWObj() MainThread ERROR 2016-09-14 08:51:22,203 COMPNOT082W.PREVAC.EU.local:20000.MS_lab-01_1: Exception occurred processing elements MainThread ERROR 2016-09-14 08:51:22,207 COMPNOT082W.PREVAC.EU.local:20000.MS_lab-01_1: Details: Traceback (most recent call last): File "C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py", line 848, in on_elements_changed return self._on_elements_changed(evt_src, evt_type, evt_value) File "C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\taurus\core\tango\sardana\macroserver.py", line 867, in _on_elements_changed element = self._addElement(element_data) File "C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\spock\spockms.py", line 551, in _addElement self._addMacro(element) File "C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\spock\spockms.py", line 584, in _addMacro genutils.expose_magic(macro_name, macro_fn) File "C:\Python27\lib\site-packages\sardana-2.1.0-py2.7-win-amd64.egg\sardana\spock\ipython_01_00\genutils.py", line 582, in expose_magic fn.old_magic = shell.define_magic(name, fn) AttributeError: 'TerminalInteractiveShell' object has no attribute 'define_magic' In [1]: sar_demo NameError: name 'sar_demo' is not defined (For more detailed information type: python_error) In [2]:
OLD Tickets: #507
OLD Tickets: #513
A patch was sent to the develop mailing list.
Integrated with hotfix 2.1.1 release.