From: Jagoda S. <j....@pr...> - 2016-09-13 12:56:10
|
Hello Sardana & Taurus users ! :) We installed Taurus 4.0.1, iPython5.1.0, Sardana2.0.2 and following error showed up while trying to run sar_demo, but no error was shown when I downgraded iPython to 3.0 and Taurus to 3.6. Is there a possibility to run sar_demo with previously installed version of Taurus 4.0.1 and newest iPython? If some more information needed, please write back to me :) Console output: ~~~ C:\Users\m.sienczak>spock MainThread INFO 2016-09-13 14:21:06,411 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) MainThread INFO 2016-09-13 14:21:06,648 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\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) 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.0.3 -- 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 [TerminalIPythonApp] WARNING | Error in loading extension: sardana.spock Check your config files in C:\Users\m.sienczak\.ipython\profile_spockdoor Traceback (most recent call last): File "C:\Python27\lib\site-packages\IPython\core\shellapp.py", line 246, in init_extensions self.shell.extension_manager.load_extension(ext) File "C:\Python27\lib\site-packages\IPython\core\extensions.py", line 85, in load_extension if self._call_load_ipython_extension(mod): File "C:\Python27\lib\site-packages\IPython\core\extensions.py", line 132, in _call_load_ipython_extension mod.load_ipython_extension(self.shell) File "C:\Python27\lib\site-packages\sardana\spock\ipython_01_00\genutils.py", line 818, in load_ipython_extension door = get_door() File "C:\Python27\lib\site-packages\sardana\spock\ipython_01_00\genutils.py", line 543, in get_door return _get_dev('door') File "C:\Python27\lib\site-packages\sardana\spock\ipython_01_00\genutils.py", line 531, in _get_dev taurus_dev = factory.getDevice(dev_name) File "C:\Python27\lib\site-packages\taurus-4.0.1-py2.7.egg\taurus\core\tango\tangofactory.py", line 292, in getDevice raise TaurusException("Invalid Tango device name '%s'" % dev_name) TaurusException: Invalid Tango device name 'COMPNOT082W.PREVAC.EU.local:20000/Door/lab-01/1' In [1]: sar_demo NameError: name 'sar_demo' is not defined (For more detailed information type: python_error) In [2]: ~~~ -- Greetings Jagoda Sokół Junior Software Developer PREVAC sp. z o.o. Phone: +48 32 459 20 00 Fax: +48 32 459 20 01 www.prevac.eu <http://www.prevac.eu> Address: PL-44362 Rogow, ul. Raciborska 61, CEO: Dr.-Ing. Andreas Glenz, VAT ID: PL 6471782175, Regon: 273374884, Companies Commercial Register No.: KRS 0000130401, Register Court: Gliwice, Basic capital: 619.800,00 PLN THE INFORMATION TRANSMITTED IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL OR PRIVILEGED MATERIAL. ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER USE OF, OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED. IF YOU RECEIVED THIS IN ERROR, PLEASE NOTIFY THE SENDER AND DELETE THE MATERIAL FROM YOUR COMPUTER. |