From: Zbigniew R. <zre...@ce...> - 2016-09-13 15:40:37
|
Hi Jagoda, Please try Sardana 2.1.0 that we have released today. The previous versions were not supporting Taurus 4 yet. Just remember that from this version on, Sardana depends on itango >= 0.1.4 [1]. Also don't be surprised about deprecation warnings when using this version of Sardana. They are there since we support the Taurus 3 version at the same time. I'm not aware about any issues with IPython 5.1. If you find any, please fill in a bug in SF. Cheers, Zibi PS. I see that you use spock on Windows. Don't you suffer bug-502 [2]? [1] https://pypi.python.org/pypi/itango/0.1.4 [2] https://sourceforge.net/p/sardana/tickets/502/ On 09/13/2016 02:55 PM, Jagoda Sokół wrote: > > 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. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Sardana-users mailing list > Sar...@li... > https://lists.sourceforge.net/lists/listinfo/sardana-users -- ALBA Synchrotron <http://www.albasynchrotron.es> Zbigniew Reszela Computing & Controls Division ALBA SYNCHROTRON LIGHT SOURCE Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | Spain <http://www.cells.es/en/about/coming-to-alba> (+34) 93 592 4407 www.albasynchrotron.es <http://www.albasynchrotron.es>| zre...@ce... <mailto:zre...@ce...> | legal notice <https://www.cells.es/en/about/legal-notice> **Please, do not print this e-mail unless it is absolutely necessary. **Si heu rebut aquest correu per error, us informo que pot contenir informació confidencial i privada i que està prohibit el seu ús. Us agrairíem que ho comuniqueu al remitent i l'elimineu. Gràcies. Si ha recibido este correo por error, le informo de que puede contener información confidencial y privada y que está prohibido su uso. Le agradeceré que lo comunique a su remitente y lo elimine. Gracias. If you have received this e-mail in error, please note that it may contain confidential and private information, therefore, the use of this information is strictly forbidden. Please inform the sender of the error and delete the information received. Thank you. |