You can subscribe to this list here.
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(5) |
May
(34) |
Jun
(30) |
Jul
(65) |
Aug
(34) |
Sep
(9) |
Oct
(39) |
Nov
(147) |
Dec
(73) |
| 2016 |
Jan
(89) |
Feb
(42) |
Mar
(41) |
Apr
(28) |
May
(39) |
Jun
(59) |
Jul
(119) |
Aug
(48) |
Sep
(10) |
Oct
(19) |
Nov
(13) |
Dec
|
| 2017 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(3) |
Sep
(2) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
| 2024 |
Jan
|
Feb
(3) |
Mar
(3) |
Apr
(4) |
May
(4) |
Jun
(3) |
Jul
(2) |
Aug
|
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(2) |
| 2025 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
|
From: Zbigniew R. <zre...@ce...> - 2016-08-22 14:40:48
|
From: zreszela <zre...@ce...>
ExperimentConfiguration dict contains "MntGrpConfigs" with meas. group names
casted to lowercase (CaselessDict) but "ActiveMntGrp" may contain uppercase.
Thus cast the latter one to lowercase for proper comparison.
---
lib/taurus/qt/qtgui/taurusgui/macrolistener.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lib/taurus/qt/qtgui/taurusgui/macrolistener.py b/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
index 359eedb..9e8e038 100644
--- a/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
+++ b/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
@@ -119,14 +119,16 @@ class DynamicPlotManager(Qt.QObject, TaurusBaseComponent):
QDoor.getExperimentDescription`
for more details
'''
- if expconf['ActiveMntGrp'] is None:
+ activeMntGrp = expconf['ActiveMntGrp']
+ if activeMntGrp is None:
return
- if expconf['ActiveMntGrp'] not in expconf['MntGrpConfigs'].keys():
+ activeMntGrpLower = activeMntGrp.lower()
+ if activeMntGrpLower not in expconf['MntGrpConfigs'].keys():
self.warning(
"ActiveMntGrp '%s' is not defined" %
- expconf['ActiveMntGrp'])
+ activeMntGrp)
return
- mgconfig = expconf['MntGrpConfigs'][expconf['ActiveMntGrp']]
+ mgconfig = expconf['MntGrpConfigs'][activeMntGrpLower]
channels = dict(getChannelConfigs(mgconfig, sort=False))
#classify by type of plot:
--
1.8.4.5
|
|
From: Zbigniew R. <zre...@ce...> - 2016-08-22 14:40:46
|
Hello, I'm sending an improved solution proposed by Daniel in: https://sourceforge.net/p/tauruslib/tickets/333/#edb1 This one is prepared for support-3.x branch. If there are no negative comments I will apply it for both support-3.x and develop. Cheers, Zibi |
|
From: Carlos P. <cpa...@ce...> - 2016-08-22 11:54:55
|
Hi, just in case someone stumbles into this who is not in the Tango List, see the very complete reply from Tiago in the Tango list: On Mon 8 August 2016 09:41:27 coutinho wrote: > Hi Giacomo, > > On 07/28/2016 05:29 PM, Giacomo S. wrote: > > Hello Carlos, > > > > I have a technical question concerning Taurus and Python GIL. > > How is multi threading managed inside Taurus? > > Once I had a talk with Tiago about this topic and, as far as I can > > remember, he said that, where required, the > > GIL is somehow disabled by Taurus in order to achieve real multi > > threaded behaviour (real POSIX/Windows threads). > > The GIL only needs to be managed by PyTango (not taurus) because this > is where the blocking network calls occur. > Basically, in every place PyTango calls a Tango C++ I/O blocking call, > it releases the GIL so that other threads that may execute python > code are not blocked. > > > Could you please confirm this and, consequently, claim that Taurus > > threads are really concurrent threads? > > Taurus is based on the concept of pluggable Control Systems. By this I > mean it can work with Tango, Epics or other third-party control > systems. If the taurus plug-in that is written for a specific control > system happens to block the thread there is nothing that taurus can > do about it. It all depends on how the plug-in and the third-party > libraries are written. For the case of Tango I can tell you that the > PyTango library manages the GIL properly. > > > Second question. In a situation where a third party library relies > > on > > the GIL (being enabled), is there any > > concurrency issue potentially introduced when the same library > > operates in a context where the GIL is disabled? > > Since taurus does not handle the GIL by itself it does not generate > any concurrency issue. > > > Gracias, Giacomo. > > Thanks Giacomo for your pertinent questions. It is important that in > the context of a distributed (potentially blocking) control system, > we understand what happens in python with the GIL, who has the > responsibility to manage it and where blocking may occur. > > In the case of Tango, it should be the library that handles Tango > (PyTango) who abstracts the underlying complexities of multi-threaded, > I/O blocking control system. > > Taurus does not take care of the GIL because it trusts that the > blocking library does it well. Having said that, taurus does create a > pool of threads that poll the underlying attributes (tango or other) > in an old style attempt to paralyze blocking I/O calls. > We choose threads in taurus because at the time PyTango was not > coroutine friendly. Probably if it was done today we would have used > another simpler, lighter mechanism (like gevent or asyncio). > > Hope it helps, > > Cheers > Tiago -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carrer de la Llum 2-26 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
|
From: Carlos M. F. T. <cf...@ce...> - 2016-08-02 08:55:31
|
Hi Giacomo,
Sorry for the late answer.
As far I know taurus does not use GIL. Taurus manages the multi
threading in the taurusmanager class.
It class is configured by default to use concurrent threads, but it
changes at the scheme level where the elements set it to serial instead
by default. So, you have to explicit set the Serialization mode to
concurrent.
e.g.
importtaurus
fromtaurus.core.taurusbasetypesimportTaurusSerializationMode
a = taurus.Attribute('tango:sys/tg_test/1/short_scalar')
a.setSerializationMode(TaurusSerializationMode.Concurrent)
For your second question, I guess you should not have problems with
Taurus but I don't know if PyTango is affected.
Sorry for the ambiguous answer, I added the taurus list to see if
someone else can help you.
Best,
Carlos F.
On 07/28/2016 05:29 PM, Giacomo S. wrote:
> Hello Carlos,
>
> I have a technical question concerning Taurus and Python GIL.
> How is multi threading managed inside Taurus?
> Once I had a talk with Tiago about this topic and, as far as I can
> remember, he said that, where required, the
> GIL is somehow disabled by Taurus in order to achieve real multi
> threaded behaviour (real POSIX/Windows threads).
>
> Could you please confirm this and, consequently, claim that Taurus
> threads are really concurrent threads?
>
> Second question. In a situation where a third party library relies on
> the GIL (being enabled), is there any
> concurrency issue potentially introduced when the same library operates
> in a context where the GIL is disabled?
>
> Gracias, Giacomo.
|
|
From: Grzegorz K. <g.k...@uj...> - 2016-08-01 10:29:31
|
Hi Carlos, Thank you very much! Your solution works flawlessly. I have created a ticket: https://sourceforge.net/p/tauruslib/tickets/331/ Again, thank you for help! On 07/28/2016 12:24 PM, Carlos Manuel Falcon Torres wrote: > Hi Grzegorz, > The actual TaurusLabelEditRW can not allow this "feature", the method > setValidator is there because it comes from Qt widgets. > TaurusLabelEditRW uses the TaurusLineEdit as writewidget and it > overwrites the used validator in each event. > TaurusLineEdit creates the validator each time attending the attribute > range, that is the reason because your solution does not work. > > That I propose you is an ugly workaround : > > The workaround consists in create your own TaurusLineEdit widget and > overwrite the "_updateValidator" method. > > Unfortunately these classes are not documented so I hope this example > can help you. > > import sys > > from taurus.external.qt import QtGui > > from taurus.qt.qtgui.application import TaurusApplication > from taurus.qt.qtgui.input import TaurusValueLineEdit > from taurus.qt.qtgui.compact import TaurusLabelEditRW > > > class MyTaurusValueLineEdit(TaurusValueLineEdit): > # Reimplement _updateValidator method > def _updateValidator(self, attrinfo): > pass > > > app = TaurusApplication() > > f = TaurusLabelEditRW(writeWClass=MyTaurusValueLineEdit) > f.model = 'sys/tg_test/1/double_scalar_w' > validator = QtGui.QDoubleValidator(10, 20, 5) > f.writeWidget.setValidator(validator) > > f.show() > sys.exit(app.exec_()) > > > The other option is somehow in your widget update dynamically the range > of your attribute. > > > Could you create a ticket in taurus [1] to discuss a proper solution for > taurus? > > [1] https://sourceforge.net/p/tauruslib/tickets/ > > > Best, > Carlos > > > On 07/27/2016 07:36 PM, Grzegorz Kowalski wrote: >> Hello, >> I have a problem with TaurusLabelEditRW, I need to validate its input to >> only set values inside certain range, but I don't know how to stop it >> from setting an attribute value when it's invalid. >> >> My first try was to use QDoubleValidator with TaurusValueLineEdit that >> is a part of RW widget, but it seems to ignore validator despite it's >> based on QLineEdit. >> >> code: >> rw = TaurusLabelEditRW() >> validator = QDoubleValidator(100, 300, 5) >> for c in rw.children(): >> if c.__class__.__name__ == "TaurusValueLineEdit": >> c.setValidator(self.validator) >> >> Second try was to connect to returnPressed signal of the line edit, and >> check the value, but I have no idea on how to prevent setting invalid >> value to the attribute. >> >> The range can't be just Tango attribute's max and min values because it >> is dependent on other parameters. >> I'm using Taurus 3.7.0. >> >> Thank you for any help! > -- Pozdrawiam / Kind regards, Grzegorz Kowalski Control systems engineer __________________________ National Synchrotron Radiation Centre SOLARIS Jagiellonian University Czerwone Maki 98, 30-392 Kraków, room 2.38 mobile: 0048 511 979 750 |
|
From: Carlos M. F. T. <cf...@ce...> - 2016-07-28 10:24:56
|
Hi Grzegorz,
The actual TaurusLabelEditRW can not allow this "feature", the method
setValidator is there because it comes from Qt widgets.
TaurusLabelEditRW uses the TaurusLineEdit as writewidget and it
overwrites the used validator in each event.
TaurusLineEdit creates the validator each time attending the attribute
range, that is the reason because your solution does not work.
That I propose you is an ugly workaround :
The workaround consists in create your own TaurusLineEdit widget and
overwrite the "_updateValidator" method.
Unfortunately these classes are not documented so I hope this example
can help you.
import sys
from taurus.external.qt import QtGui
from taurus.qt.qtgui.application import TaurusApplication
from taurus.qt.qtgui.input import TaurusValueLineEdit
from taurus.qt.qtgui.compact import TaurusLabelEditRW
class MyTaurusValueLineEdit(TaurusValueLineEdit):
# Reimplement _updateValidator method
def _updateValidator(self, attrinfo):
pass
app = TaurusApplication()
f = TaurusLabelEditRW(writeWClass=MyTaurusValueLineEdit)
f.model = 'sys/tg_test/1/double_scalar_w'
validator = QtGui.QDoubleValidator(10, 20, 5)
f.writeWidget.setValidator(validator)
f.show()
sys.exit(app.exec_())
The other option is somehow in your widget update dynamically the range
of your attribute.
Could you create a ticket in taurus [1] to discuss a proper solution for
taurus?
[1] https://sourceforge.net/p/tauruslib/tickets/
Best,
Carlos
On 07/27/2016 07:36 PM, Grzegorz Kowalski wrote:
> Hello,
> I have a problem with TaurusLabelEditRW, I need to validate its input to
> only set values inside certain range, but I don't know how to stop it
> from setting an attribute value when it's invalid.
>
> My first try was to use QDoubleValidator with TaurusValueLineEdit that
> is a part of RW widget, but it seems to ignore validator despite it's
> based on QLineEdit.
>
> code:
> rw = TaurusLabelEditRW()
> validator = QDoubleValidator(100, 300, 5)
> for c in rw.children():
> if c.__class__.__name__ == "TaurusValueLineEdit":
> c.setValidator(self.validator)
>
> Second try was to connect to returnPressed signal of the line edit, and
> check the value, but I have no idea on how to prevent setting invalid
> value to the attribute.
>
> The range can't be just Tango attribute's max and min values because it
> is dependent on other parameters.
> I'm using Taurus 3.7.0.
>
> Thank you for any help!
|
|
From: Łukasz Ż. <luk...@uj...> - 2016-07-27 12:48:40
|
Hi Carlos,
I installed new VM to have clean installation of Taurus
Installed /home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg
Processing dependencies for taurus==4.0.1
Finished processing dependencies for taurus==4.0.1
mint@mint-VirtualBox ~/workspace/taurus $ ipython
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import taurus
In [2]: taurus
Out[2]: <module 'taurus' from '/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/__init__.pyc'>
In [3]: taurus.Release.version
Out[3]: '4.0.1'
I tried your script:
mint@mint-VirtualBox ~/workspace $ python taurusplot-test.py
MainThread INFO 2016-07-27 14:13:06,967 TaurusRootLogger: Using "PyQt4" for Qt
MainThread INFO 2016-07-27 14:13:07,204 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from /home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/icon/)
MainThread WARNING 2016-07-27 14:13:17,024 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 14:13:17,025 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 14:13:17,025 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 14:13:17,025 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 14:13:17,026 localhost.DefaultEvaluator.localhost: Missing symbol "localhost"
MainThread WARNING 2016-07-27 14:13:17,027 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
Traceback (most recent call last):
File "/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/model/qbasemodel.py", line 581, in setModel
model.setDataSource(modelObj)
File "/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py", line 223, in setDataSource
self.refresh()
File "/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 378, in refresh
TaurusBaseModel.refresh(self, refresh_source=refresh_source)
File "/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py", line 202, in refresh
self.setupModelData(self.dataSource())
File "/home/mint/.local/lib/python2.7/site-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 541, in setupModelData
for domain in data.keys():
AttributeError: 'EvaluationAuthority' object has no attribute 'keys'
MainThread INFO 2016-07-27 14:14:58,259 TaurusRootLogger:
*********************
< Deprecation Counts (0):
>
Best regards,
Lukasz
From: Carlos Manuel Falcon Torres <cf...@ce...>
Date: Wednesday 27 July 2016 at 10:02
To: Lukasz <luk...@uj...>, Zbigniew Reszela <zre...@ce...>, "tau...@li..." <tau...@li...>
Subject: Re: [tauruslib-devel] Taurus & data visualization from file
Hi Łukasz,
It looks like very interesting. Let see how to solve your problems.
How did you install taurus? and from where?
I did a test installing from git and it works for me :
git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus
cd taurus
git checkout 4.0.1
python setup.py install
in ipython
In [1]: import taurus
In [2]: taurus
Out[2]: <module 'taurus' from '/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/__init__.pyc'>
In [3]: taurus.Release.version
Out[3]: '4.0.1'
vi /usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/
# Set your default scheme (if not defined, "tango" is assumed)
DEFAULT_SCHEME = "eval"
taurusplot
MainThread INFO 2016-07-27 07:45:02,863 TaurusRootLogger: Using "PyQt4" for Qt
MainThread INFO 2016-07-27 07:45:02,960 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from /usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/icon/)
MainThread WARNING 2016-07-27 07:45:03,043 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,080 localhost.DefaultEvaluator.localhost: Missing symbol "localhost"
MainThread WARNING 2016-07-27 07:45:03,081 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/model/qbasemodel.py", line 581, in setModel
model.setDataSource(modelObj)
File "/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py", line 223, in setDataSource
self.refresh()
File "/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 378, in refresh
TaurusBaseModel.refresh(self, refresh_source=refresh_source)
File "/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py", line 202, in refresh
self.setupModelData(self.dataSource())
File "/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 541, in setupModelData
for domain in data.keys():
AttributeError: 'EvaluationAuthority' object has no attribute 'keys'
I reported the attribute error in a taurus ticket (but it seems to be innocuous ) for your purposes.
I attached you the taurusplot snapshot as I see.
If previously you had installed taurus3, please be sure that it was uninstalled, maybe you have a conflict with the taurus launchers.
Could you run this code and say me if it works for you?
from taurus.qt.qtgui.plot import TaurusPlot
from taurus.qt.qtgui.application import TaurusApplication
import sys
app = TaurusApplication()
w = TaurusPlot()
w.show()
sys.exit(app.exec_())
Best,
Carlos
On 07/26/2016 11:00 PM, Łukasz Żytniak wrote:
Hi Carlos,
Thank you for fast reply.
I changed in the tauruscustomsetting file the default scheme from “tango” to “eval”:
[cid:image001.png@01D1E813.B7AB1400]
when I try to run taurusplot I get error:
[cid:image002.png@01D1E813.B7AB1400]
I was on EuroPython and there was company that want to monitor devices in factory using python, I believe that taurus and Sardana in the future might be good solution for them.
I spoke with project leader and he was interested.
I would like to run some demo to present taurus magic :-)
Best regards,
Lukasz
From: Carlos Manuel Falcon Torres <cf...@ce...><mailto:cf...@ce...>
Date: Tuesday 26 July 2016 at 08:28
To: Lukasz <luk...@uj...><mailto:luk...@uj...>, Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...>, "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...>
Subject: Re: [tauruslib-devel] Taurus & data visualization from file
Hi Łukasz,
The problem is that taurus assumes as default scheme Tango (for backward compatibilities reasons), and for that you see this error. The modelchooser is trying to connect to a Tango DB, to avoid it you have two options:
a) Modify in the tauruscustomsetting file the default scheme. e.g. use Eval
b) Give a non tango model name when you call the taurus widget. e.g. eval:1
What are you trying? What scheme are you planning to use?
I hope this help you!
Best,
Carlos
On 07/25/2016 08:23 PM, Łukasz Żytniak wrote:
Hi Carlos,
I have taurus 4.0.1:
[cid:image003.png@01D1E813.B7AB1400]
Any advice?
Best regards,
Lukasz
From: Carlos Manuel Falcon Torres <cf...@ce...><mailto:cf...@ce...>
Date: Monday 25 July 2016 at 08:29
To: Lukasz <luk...@uj...><mailto:luk...@uj...>, Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...>, "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...>
Subject: Re: [tauruslib-devel] Taurus & data visualization from file
Hi Lukasz,
Which version of taurus did you have installed?
Only Taurus 4 is agnostic (It is not necessary to install PyTango if you will not use tango scheme)
You can install it from repository (sourceforge ) or pypi (https://pypi.python.org/pypi/taurus/4.0.1)
git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus
python taurus/setup.py install
Your 2nd snapshot is a bug that is fixed in Taurus 4, but however could be some widgets that are still being Tango-Centric.
Best,
Carlos
On 07/23/2016 11:09 AM, Łukasz Żytniak wrote:
Hello Zibi,
Thank you for fast answer!
I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus)
But I get an error:
[cid:image004.png@01D1E813.B7AB1400]
and:
[cid:image005.png@01D1E813.B7AB1400]
is it possible to use taurus without PyTango?
Thank you for your help in advance.
Best regards,
Lukasz
From: Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...>
Date: Friday 22 July 2016 at 18:27
To: "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...>
Subject: Re: [tauruslib-devel] Taurus & data visualization from file
Hi Lukasz,
TaurusPlot is able to import data from a file:
http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted
I think that precisely CSV is not supported and the separator must be a white character and not a comma (you could try with the attached file).
One of the Taurus4 objectives was to make the development of the custom Taurus schemes more user friendly. Personally I have not written any yet, but this should be relatively easy. That means that you could write one for your file format and use Taurus widgets to visualize data from the file.
Have a nice weekend!
Zibi
On 07/22/2016 04:26 PM, Łukasz Żytniak wrote:
Hello,
I have a question, is it possible to visualize data from CSV file using taurus?
Best regards,
Lukasz
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Tauruslib-devel mailing list
Tau...@li...<mailto:Tau...@li...>
https://lists.sourceforge.net/lists/listinfo/tauruslib-devel
--
[Synchr]<http://www.albasynchrotron.es>
Zbigniew Reszela
Controls Section - Computing Division
ALBA SYNCHROTRON LIGHT SOURCE
Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | Spain<http://www.albasynchrotron.es/AboutUs/Access>
(+34) 93 592 4407
www.albasynchrotron.es<http://www.albasynchrotron.es> | zre...@ce...<mailto:zre...@ce...>
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.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Tauruslib-devel mailing list
Tau...@li...<mailto:Tau...@li...>
https://lists.sourceforge.net/lists/listinfo/tauruslib-devel
|
|
From: Carlos M. F. T. <cf...@ce...> - 2016-07-27 08:03:04
|
Hi Łukasz,
It looks like very interesting. Let see how to solve your problems.
How did you install taurus? and from where?
I did a test installing from git and it works for me :
git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus
cd taurus
git checkout 4.0.1
python setup.py install
in ipython
In [1]: import taurus
In [2]: taurus
Out[2]: <module 'taurus' from
'/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/__init__.pyc'>
In [3]: taurus.Release.version
Out[3]: '4.0.1'
vi /usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/
# Set your default scheme (if not defined, "tango" is assumed)
DEFAULT_SCHEME = "eval"
taurusplot
MainThread INFO 2016-07-27 07:45:02,863 TaurusRootLogger:
Using "PyQt4" for Qt
MainThread INFO 2016-07-27 07:45:02,960
taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from
/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/icon/)
MainThread WARNING 2016-07-27 07:45:03,043 TaurusRootLogger:
Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger:
Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger:
Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,045 TaurusRootLogger:
Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
MainThread WARNING 2016-07-27 07:45:03,080
localhost.DefaultEvaluator.localhost: Missing symbol "localhost"
MainThread WARNING 2016-07-27 07:45:03,081 TaurusRootLogger:
Model name "eval://localhost" is supported but not strictly valid.
It is STRONGLY recommended that you change it to
strictly follow eval scheme syntax
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtgui/model/qbasemodel.py",
line 581, in setModel
model.setDataSource(modelObj)
File
"/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py",
line 223, in setDataSource
self.refresh()
File
"/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py",
line 378, in refresh
TaurusBaseModel.refresh(self, refresh_source=refresh_source)
File
"/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusmodel.py",
line 202, in refresh
self.setupModelData(self.dataSource())
File
"/usr/local/lib/python2.7/dist-packages/taurus-4.0.1-py2.7.egg/taurus/qt/qtcore/model/taurusdatabasemodel.py",
line 541, in setupModelData
for domain in data.keys():
AttributeError: 'EvaluationAuthority' object has no attribute 'keys'
I reported the attribute error in a taurus ticket (but it seems to be
innocuous ) for your purposes.
I attached you the taurusplot snapshot as I see.
If previously you had installed taurus3, please be sure that it was
uninstalled, maybe you have a conflict with the taurus launchers.
Could you run this code and say me if it works for you?
fromtaurus.qt.qtgui.plotimportTaurusPlot
fromtaurus.qt.qtgui.applicationimportTaurusApplication
importsys
app = TaurusApplication()
w = TaurusPlot()
w.show()
sys.exit(app.exec_())
Best,
Carlos
On 07/26/2016 11:00 PM, Łukasz Żytniak wrote:
>
> Hi Carlos,
>
> Thank you for fast reply.
>
> I changed in the tauruscustomsetting file the default scheme from
> “tango” to “eval”:
>
> when I try to run taurusplot I get error:
>
> I was on EuroPython and there was company that want to monitor devices
> in factory using python, I believe that taurus and Sardana in the
> future might be good solution for them.
>
> I spoke with project leader and he was interested.
>
> I would like to run some demo to present taurus magic :-)
>
> Best regards,
>
> Lukasz
>
> *From: *Carlos Manuel Falcon Torres <cf...@ce...>
> *Date: *Tuesday 26 July 2016 at 08:28
> *To: *Lukasz <luk...@uj...>, Zbigniew Reszela
> <zre...@ce...>, "tau...@li..."
> <tau...@li...>
> *Subject: *Re: [tauruslib-devel] Taurus & data visualization from file
>
>
> Hi Łukasz,
> The problem is that taurus assumes as default scheme Tango (for
> backward compatibilities reasons), and for that you see this error.
> The modelchooser is trying to connect to a Tango DB, to avoid it you
> have two options:
>
> a) Modify in the tauruscustomsetting file the default scheme. e.g.
> use Eval
> b) Give a non tango model name when you call the taurus widget. e.g.
> eval:1
>
> What are you trying? What scheme are you planning to use?
>
>
> I hope this help you!
>
> Best,
> Carlos
>
> On 07/25/2016 08:23 PM, Łukasz Żytniak wrote:
>
> Hi Carlos,
>
> I have taurus 4.0.1:
>
> Any advice?
>
> Best regards,
>
> Lukasz
>
> *From: *Carlos Manuel Falcon Torres <cf...@ce...>
> <mailto:cf...@ce...>
> *Date: *Monday 25 July 2016 at 08:29
> *To: *Lukasz <luk...@uj...>
> <mailto:luk...@uj...>, Zbigniew Reszela
> <zre...@ce...> <mailto:zre...@ce...>,
> "tau...@li..."
> <mailto:tau...@li...>
> <tau...@li...>
> <mailto:tau...@li...>
> *Subject: *Re: [tauruslib-devel] Taurus & data visualization from file
>
> Hi Lukasz,
> Which version of taurus did you have installed?
> Only Taurus 4 is agnostic (It is not necessary to install PyTango
> if you will not use tango scheme)
>
> You can install it from repository (sourceforge ) or pypi
> (https://pypi.python.org/pypi/taurus/4.0.1)
>
> git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus
> python taurus/setup.py install
>
>
> Your 2nd snapshot is a bug that is fixed in Taurus 4, but however
> could be some widgets that are still being Tango-Centric.
>
>
> Best,
> Carlos
>
>
> On 07/23/2016 11:09 AM, Łukasz Żytniak wrote:
>
> Hello Zibi,
>
> Thank you for fast answer!
>
> I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus)
>
> But I get an error:
>
> and:
>
> is it possible to use taurus without PyTango?
>
> Thank you for your help in advance.
>
> Best regards,
>
> Lukasz
>
> *From: *Zbigniew Reszela <zre...@ce...>
> <mailto:zre...@ce...>
> *Date: *Friday 22 July 2016 at 18:27
> *To: *"tau...@li..."
> <mailto:tau...@li...>
> <tau...@li...>
> <mailto:tau...@li...>
> *Subject: *Re: [tauruslib-devel] Taurus & data visualization
> from file
>
> Hi Lukasz,
>
> TaurusPlot is able to import data from a file:
> http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted
> I think that precisely CSV is not supported and the separator
> must be a white character and not a comma (you could try with
> the attached file).
>
> One of the Taurus4 objectives was to make the development of
> the custom Taurus schemes more user friendly. Personally I
> have not written any yet, but this should be relatively easy.
> That means that you could write one for your file format and
> use Taurus widgets to visualize data from the file.
>
> Have a nice weekend!
> Zibi
>
>
>
>
> On 07/22/2016 04:26 PM, Łukasz Żytniak wrote:
>
> Hello,
>
> I have a question, is it possible to visualize data from
> CSV file using taurus?
>
> Best regards,
>
> Lukasz
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>
> patterns at an interface-level. Reveals which users, apps, and protocols are
>
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>
> reports.http://sdm.link/zohodev2dev
>
>
>
>
>
>
> _______________________________________________
>
> Tauruslib-devel mailing list
>
> Tau...@li... <mailto:Tau...@li...>
>
> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel
>
> --
>
> A Synchrot <http://www.albasynchrotron.es>
>
>
>
> *Zbigniew Reszela*
>
> Controls Section - Computing Division
>
>
>
> *ALBA SYNCHROTRON LIGHT SOURCE*
>
> Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès|
> Barcelona | Spain <http://www.albasynchrotron.es/AboutUs/Access>
> (+34) 93 592 4407
>
> *www.albasynchrotron.es <http://www.albasynchrotron.es>**|
> **zre...@ce... <mailto:zre...@ce...>*
>
> *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.
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>
> patterns at an interface-level. Reveals which users, apps, and protocols are
>
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>
> reports.http://sdm.link/zohodev2dev
>
>
>
>
>
> _______________________________________________
>
> Tauruslib-devel mailing list
>
> Tau...@li... <mailto:Tau...@li...>
>
> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel
>
|
|
From: Łukasz Ż. <luk...@uj...> - 2016-07-26 21:00:37
|
Hi Carlos, Thank you for fast reply. I changed in the tauruscustomsetting file the default scheme from “tango” to “eval”: [cid:image001.png@01D1E791.768BC280] when I try to run taurusplot I get error: [cid:image002.png@01D1E791.768BC280] I was on EuroPython and there was company that want to monitor devices in factory using python, I believe that taurus and Sardana in the future might be good solution for them. I spoke with project leader and he was interested. I would like to run some demo to present taurus magic :-) Best regards, Lukasz From: Carlos Manuel Falcon Torres <cf...@ce...> Date: Tuesday 26 July 2016 at 08:28 To: Lukasz <luk...@uj...>, Zbigniew Reszela <zre...@ce...>, "tau...@li..." <tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Łukasz, The problem is that taurus assumes as default scheme Tango (for backward compatibilities reasons), and for that you see this error. The modelchooser is trying to connect to a Tango DB, to avoid it you have two options: a) Modify in the tauruscustomsetting file the default scheme. e.g. use Eval b) Give a non tango model name when you call the taurus widget. e.g. eval:1 What are you trying? What scheme are you planning to use? I hope this help you! Best, Carlos On 07/25/2016 08:23 PM, Łukasz Żytniak wrote: Hi Carlos, I have taurus 4.0.1: [cid:image003.png@01D1E791.768BC280] Any advice? Best regards, Lukasz From: Carlos Manuel Falcon Torres <cf...@ce...><mailto:cf...@ce...> Date: Monday 25 July 2016 at 08:29 To: Lukasz <luk...@uj...><mailto:luk...@uj...>, Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...>, "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Lukasz, Which version of taurus did you have installed? Only Taurus 4 is agnostic (It is not necessary to install PyTango if you will not use tango scheme) You can install it from repository (sourceforge ) or pypi (https://pypi.python.org/pypi/taurus/4.0.1) git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus python taurus/setup.py install Your 2nd snapshot is a bug that is fixed in Taurus 4, but however could be some widgets that are still being Tango-Centric. Best, Carlos On 07/23/2016 11:09 AM, Łukasz Żytniak wrote: Hello Zibi, Thank you for fast answer! I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus) But I get an error: [cid:image004.png@01D1E791.768BC280] and: [cid:image005.png@01D1E791.768BC280] is it possible to use taurus without PyTango? Thank you for your help in advance. Best regards, Lukasz From: Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...> Date: Friday 22 July 2016 at 18:27 To: "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Lukasz, TaurusPlot is able to import data from a file: http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted I think that precisely CSV is not supported and the separator must be a white character and not a comma (you could try with the attached file). One of the Taurus4 objectives was to make the development of the custom Taurus schemes more user friendly. Personally I have not written any yet, but this should be relatively easy. That means that you could write one for your file format and use Taurus widgets to visualize data from the file. Have a nice weekend! Zibi On 07/22/2016 04:26 PM, Łukasz Żytniak wrote: Hello, I have a question, is it possible to visualize data from CSV file using taurus? Best regards, Lukasz ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tauruslib-devel mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel -- [A Synchrot]<http://www.albasynchrotron.es> Zbigniew Reszela Controls Section - Computing Division ALBA SYNCHROTRON LIGHT SOURCE Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | Spain<http://www.albasynchrotron.es/AboutUs/Access> (+34) 93 592 4407 www.albasynchrotron.es<http://www.albasynchrotron.es> | zre...@ce...<mailto:zre...@ce...> 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. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tauruslib-devel mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel |
|
From: Carlos M. F. T. <cf...@ce...> - 2016-07-26 06:28:45
|
Hi Łukasz, The problem is that taurus assumes as default scheme Tango (for backward compatibilities reasons), and for that you see this error. The modelchooser is trying to connect to a Tango DB, to avoid it you have two options: a) Modify in the tauruscustomsetting file the default scheme. e.g. use Eval b) Give a non tango model name when you call the taurus widget. e.g. eval:1 What are you trying? What scheme are you planning to use? I hope this help you! Best, Carlos On 07/25/2016 08:23 PM, Łukasz Żytniak wrote: > > Hi Carlos, > > I have taurus 4.0.1: > > Any advice? > > Best regards, > > Lukasz > > *From: *Carlos Manuel Falcon Torres <cf...@ce...> > *Date: *Monday 25 July 2016 at 08:29 > *To: *Lukasz <luk...@uj...>, Zbigniew Reszela > <zre...@ce...>, "tau...@li..." > <tau...@li...> > *Subject: *Re: [tauruslib-devel] Taurus & data visualization from file > > Hi Lukasz, > Which version of taurus did you have installed? > Only Taurus 4 is agnostic (It is not necessary to install PyTango if > you will not use tango scheme) > > You can install it from repository (sourceforge ) or pypi > (https://pypi.python.org/pypi/taurus/4.0.1) > > git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus > python taurus/setup.py install > > > Your 2nd snapshot is a bug that is fixed in Taurus 4, but however > could be some widgets that are still being Tango-Centric. > > > Best, > Carlos > > On 07/23/2016 11:09 AM, Łukasz Żytniak wrote: > > Hello Zibi, > > Thank you for fast answer! > > I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus) > > But I get an error: > > and: > > is it possible to use taurus without PyTango? > > Thank you for your help in advance. > > Best regards, > > Lukasz > > *From: *Zbigniew Reszela <zre...@ce...> > <mailto:zre...@ce...> > *Date: *Friday 22 July 2016 at 18:27 > *To: *"tau...@li..." > <mailto:tau...@li...> > <tau...@li...> > <mailto:tau...@li...> > *Subject: *Re: [tauruslib-devel] Taurus & data visualization from file > > Hi Lukasz, > > TaurusPlot is able to import data from a file: > http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted > I think that precisely CSV is not supported and the separator must > be a white character and not a comma (you could try with the > attached file). > > One of the Taurus4 objectives was to make the development of the > custom Taurus schemes more user friendly. Personally I have not > written any yet, but this should be relatively easy. That means > that you could write one for your file format and use Taurus > widgets to visualize data from the file. > > Have a nice weekend! > Zibi > > > > On 07/22/2016 04:26 PM, Łukasz Żytniak wrote: > > Hello, > > I have a question, is it possible to visualize data from CSV > file using taurus? > > Best regards, > > Lukasz > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > > reports.http://sdm.link/zohodev2dev > > > > > > _______________________________________________ > > Tauruslib-devel mailing list > > Tau...@li... <mailto:Tau...@li...> > > https://lists.sourceforge.net/lists/listinfo/tauruslib-devel > > -- > > BA Synchrotron <http://www.albasynchrotron.es> > > > > *Zbigniew Reszela* > > Controls Section - Computing Division > > > *ALBA SYNCHROTRON LIGHT SOURCE* > > Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona > | Spain <http://www.albasynchrotron.es/AboutUs/Access> > (+34) 93 592 4407 > > *www.albasynchrotron.es <http://www.albasynchrotron.es>**| > **zre...@ce... <mailto:zre...@ce...>* > > *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. > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > > reports.http://sdm.link/zohodev2dev > > > > > _______________________________________________ > > Tauruslib-devel mailing list > > Tau...@li... <mailto:Tau...@li...> > > https://lists.sourceforge.net/lists/listinfo/tauruslib-devel > |
|
From: Łukasz Ż. <luk...@uj...> - 2016-07-25 18:23:48
|
Hi Carlos, I have taurus 4.0.1: [cid:image001.png@01D1E6B2.6555E430] Any advice? Best regards, Lukasz From: Carlos Manuel Falcon Torres <cf...@ce...> Date: Monday 25 July 2016 at 08:29 To: Lukasz <luk...@uj...>, Zbigniew Reszela <zre...@ce...>, "tau...@li..." <tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Lukasz, Which version of taurus did you have installed? Only Taurus 4 is agnostic (It is not necessary to install PyTango if you will not use tango scheme) You can install it from repository (sourceforge ) or pypi (https://pypi.python.org/pypi/taurus/4.0.1) git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus python taurus/setup.py install Your 2nd snapshot is a bug that is fixed in Taurus 4, but however could be some widgets that are still being Tango-Centric. Best, Carlos On 07/23/2016 11:09 AM, Łukasz Żytniak wrote: Hello Zibi, Thank you for fast answer! I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus) But I get an error: [cid:image002.png@01D1E6B2.6555E430] and: [cid:image003.png@01D1E6B2.6555E430] is it possible to use taurus without PyTango? Thank you for your help in advance. Best regards, Lukasz From: Zbigniew Reszela <zre...@ce...><mailto:zre...@ce...> Date: Friday 22 July 2016 at 18:27 To: "tau...@li..."<mailto:tau...@li...> <tau...@li...><mailto:tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Lukasz, TaurusPlot is able to import data from a file: http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted I think that precisely CSV is not supported and the separator must be a white character and not a comma (you could try with the attached file). One of the Taurus4 objectives was to make the development of the custom Taurus schemes more user friendly. Personally I have not written any yet, but this should be relatively easy. That means that you could write one for your file format and use Taurus widgets to visualize data from the file. Have a nice weekend! Zibi On 07/22/2016 04:26 PM, Łukasz Żytniak wrote: Hello, I have a question, is it possible to visualize data from CSV file using taurus? Best regards, Lukasz ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tauruslib-devel mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel -- [BA Synchrotron]<http://www.albasynchrotron.es> Zbigniew Reszela Controls Section - Computing Division ALBA SYNCHROTRON LIGHT SOURCE Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | Spain<http://www.albasynchrotron.es/AboutUs/Access> (+34) 93 592 4407 www.albasynchrotron.es<http://www.albasynchrotron.es> | zre...@ce...<mailto:zre...@ce...> 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. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tauruslib-devel mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel |
|
From: Carlos M. F. T. <cf...@ce...> - 2016-07-25 06:29:58
|
Hi Lukasz, Which version of taurus did you have installed? Only Taurus 4 is agnostic (It is not necessary to install PyTango if you will not use tango scheme) You can install it from repository (sourceforge ) or pypi (https://pypi.python.org/pypi/taurus/4.0.1) git clone git://git.code.sf.net/p/tauruslib/taurus.git taurus python taurus/setup.py install Your 2nd snapshot is a bug that is fixed in Taurus 4, but however could be some widgets that are still being Tango-Centric. Best, Carlos On 07/23/2016 11:09 AM, Łukasz Żytniak wrote: > > Hello Zibi, > > Thank you for fast answer! > > I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus) > > But I get an error: > > and: > > is it possible to use taurus without PyTango? > > Thank you for your help in advance. > > Best regards, > > Lukasz > > *From: *Zbigniew Reszela <zre...@ce...> > *Date: *Friday 22 July 2016 at 18:27 > *To: *"tau...@li..." > <tau...@li...> > *Subject: *Re: [tauruslib-devel] Taurus & data visualization from file > > Hi Lukasz, > > TaurusPlot is able to import data from a file: > http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted > I think that precisely CSV is not supported and the separator must be > a white character and not a comma (you could try with the attached file). > > One of the Taurus4 objectives was to make the development of the > custom Taurus schemes more user friendly. Personally I have not > written any yet, but this should be relatively easy. That means that > you could write one for your file format and use Taurus widgets to > visualize data from the file. > > Have a nice weekend! > Zibi > > > On 07/22/2016 04:26 PM, Łukasz Żytniak wrote: > > Hello, > > I have a question, is it possible to visualize data from CSV file > using taurus? > > Best regards, > > Lukasz > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > > reports.http://sdm.link/zohodev2dev > > > > > _______________________________________________ > > Tauruslib-devel mailing list > > Tau...@li... <mailto:Tau...@li...> > > https://lists.sourceforge.net/lists/listinfo/tauruslib-devel > > -- > > LBA Synchrotron <http://www.albasynchrotron.es> > > > > *Zbigniew Reszela* > > Controls Section - Computing Division > > *ALBA SYNCHROTRON LIGHT SOURCE* > > Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | > Spain <http://www.albasynchrotron.es/AboutUs/Access> > (+34) 93 592 4407 > > *www.albasynchrotron.es <http://www.albasynchrotron.es>**| > **zre...@ce... <mailto:zre...@ce...>* > > *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. > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > > > _______________________________________________ > Tauruslib-devel mailing list > Tau...@li... > https://lists.sourceforge.net/lists/listinfo/tauruslib-devel |
|
From: Łukasz Ż. <luk...@uj...> - 2016-07-23 09:10:18
|
Hello Zibi, Thank you for fast answer! I hoped to use taurus without Tango, I installed on VM only taurus (apt install python-taurus) But I get an error: [cid:image001.png@01D1E4D2.BF984EB0] and: [cid:image002.png@01D1E4D2.BF984EB0] is it possible to use taurus without PyTango? Thank you for your help in advance. Best regards, Lukasz From: Zbigniew Reszela <zre...@ce...> Date: Friday 22 July 2016 at 18:27 To: "tau...@li..." <tau...@li...> Subject: Re: [tauruslib-devel] Taurus & data visualization from file Hi Lukasz, TaurusPlot is able to import data from a file: http://www.taurus-scada.org/en/stable/users/ui/plot.html#choosing-what-is-plotted I think that precisely CSV is not supported and the separator must be a white character and not a comma (you could try with the attached file). One of the Taurus4 objectives was to make the development of the custom Taurus schemes more user friendly. Personally I have not written any yet, but this should be relatively easy. That means that you could write one for your file format and use Taurus widgets to visualize data from the file. Have a nice weekend! Zibi On 07/22/2016 04:26 PM, Łukasz Żytniak wrote: Hello, I have a question, is it possible to visualize data from CSV file using taurus? Best regards, Lukasz ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tauruslib-devel mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel -- [LBA Synchrotron]<http://www.albasynchrotron.es> Zbigniew Reszela Controls Section - Computing Division ALBA SYNCHROTRON LIGHT SOURCE Carrer de la Llum 2-26 | 08290 | Cerdanyola del Vallès| Barcelona | Spain<http://www.albasynchrotron.es/AboutUs/Access> (+34) 93 592 4407 www.albasynchrotron.es<http://www.albasynchrotron.es> | zre...@ce...<mailto:zre...@ce...> 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. |
|
From: Zbigniew R. <zre...@ce...> - 2016-07-22 16:27:48
|
1 1 2 2 3 3 |
|
From: Łukasz Ż. <luk...@uj...> - 2016-07-22 14:45:10
|
Hello, I have a question, is it possible to visualize data from CSV file using taurus? Best regards, Lukasz |
|
From: Carlos P. <cpa...@ce...> - 2016-07-19 17:51:45
|
Hi all,
Today we are announcing two simultaneous releases of Taurus:
- Taurus 4.0.1: the first official release for the 4.x series
- Taurus 3.7.3: a support release for the (now legacy) 3.x series
The source files and windows installers can be downloaded from PyPI:
http://pypi.python.org/pypi/taurus
The documentation for both releases is available at:
http://www.taurus-scada.org
Taurus 4.0.1 brings many changes. The most important are:
- Taurus core is now simpler and scheme-agnostic (tango is
now an optional dependency, and an scheme-agnostic API is available)
- Proper units support introduced (numerical attribute values are now
pint.Quantity objects)
- Model "fragments" support has been added
- The eval scheme is now much better (simpler and more powerful syntax)
- Epics scheme is now available
- taurus.qt now uses new-style PyQt signals (guiqwt3 is now supported)
- Icon resource files are no longer needed. Better Theme icon support
- Much larger and improved testsuite
- setuptools-based installer (pip now works without --egg)
- documentation has improved
- several old, deprecated and unused modules have been cleaned
- many more...
For a detailed list of changes, see the CHANGELOG:
http://sf.net/p/tauruslib/taurus.git/ci/4.0.1/tree/CHANGELOG.md
And the issue tracker:
http://sf.net/p/tauruslib/tickets/milestone/Jul16/
or, for a full log of commits, run (in your git repo):
git log 3.7.0..4.0.1
Regarding backwards compatibility: Taurus 4.0.1 provides a backwards
compatibility API to facilitate the transition for applications created
for taurus 3.x. Most applications should run with no or minor
modifications in Taurus 4 and deprecation messages will be logged to
help identifying the parts of the code that should be updated later on).
Only in very specific cases, where the compatibility cannot be handled
automatically, the application may need to be modified in order to run
on Taurus 4.
We encourage you to try your applications with this new release as soon
as possible, and to report any issues found so that we can avoid a long
transition time from 3.x to 4.x.
Please note that new features are likely to be implemented on the 4.x
series only, and the 3.x support may be discontinued soon.
Regarding the 3.7.3 release, it is just a bugfix update with respect
to the 3.7.0 released last January. It fixes bugs #260, #261, #269,
#277 and #300 as well as few other issues for the 3.x series.
If you encounter problems with any of these releases, please
report them back to the taurus mailing list:
tau...@li...
or put a ticket in the taurus project:
http://sourceforge.net/p/tauruslib/tickets/
Cheers!
Carlos, (on behalf of the taurus developers)
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carrer de la Llum 2-26
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: cpa...@ce...
Phone: +34 93 592 4428
+----------------------------------------------------+
|
|
From: Zbigniew R. <zre...@ce...> - 2016-07-12 10:11:20
|
From: zreszela <zre...@ce...>
scan is not a scheme, but a legacy implementation used by Sardana in order
to plot scan data during the scan. Treat is as a case insensitive scheme, as
Tango is.
---
lib/taurus/qt/qtgui/plot/taurusplot.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/lib/taurus/qt/qtgui/plot/taurusplot.py b/lib/taurus/qt/qtgui/plot/taurusplot.py
index c060841..5c4795c 100644
--- a/lib/taurus/qt/qtgui/plot/taurusplot.py
+++ b/lib/taurus/qt/qtgui/plot/taurusplot.py
@@ -3216,10 +3216,13 @@ class TaurusPlot(Qwt5.QwtPlot, TaurusBaseWidget):
models = []
for m in modelNames:
scheme = getSchemeFromName(m)
- if taurus.Factory(scheme).caseSensitive:
- models.append(str(m))
- else:
+ # scan is not a scheme, but a "legacy" way in which Sardana plots
+ # the scan data comming from the door; as Tango scheme it is
+ # case insensitive
+ if scheme == "scan" or not taurus.Factory(scheme).caseSensitive:
models.append(str(m).lower())
+ else:
+ models.append(str(m))
return models
@Qt.pyqtSlot('QStringList')
--
1.8.4.5
|
|
From: Zbigniew R. <zre...@ce...> - 2016-07-08 14:41:12
|
From: zreszela <zre...@ce...>
TaurusModelList class defines dataChanged signal ("new style") which at the
same time overrides dataChanged slot of its base class
(QListView->QAbstractItemView).
Solve by renaming signal to dataChangedSignal at the same time maintaining
backwards compatibility (using taurus.qt.qtcore.util.signal.baseSignal utility
class).
---
lib/taurus/qt/qtgui/panel/taurusmodellist.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/taurus/qt/qtgui/panel/taurusmodellist.py b/lib/taurus/qt/qtgui/panel/taurusmodellist.py
index 9c6e0be..31d4a14 100644
--- a/lib/taurus/qt/qtgui/panel/taurusmodellist.py
+++ b/lib/taurus/qt/qtgui/panel/taurusmodellist.py
@@ -37,6 +37,7 @@ from taurus.core.taurusbasetypes import TaurusElementType
from taurus.core.taurusexception import TaurusException
from taurus.qt.qtcore.mimetypes import TAURUS_MODEL_LIST_MIME_TYPE, TAURUS_ATTR_MIME_TYPE, TAURUS_MODEL_MIME_TYPE
from taurus.qt.qtgui.icon import getElementTypeIcon
+from taurus.qt.qtcore.util.signal import baseSignal
# set some named constants
SRC_ROLE = Qt.Qt.UserRole + 1
@@ -276,7 +277,7 @@ class TaurusModelList(Qt.QListView):
associated with it. It also allows drag and drop of models and sorting.
'''
- dataChanged = Qt.pyqtSignal(list)
+ dataChangedSignal = baseSignal("dataChanged", list)
def __init__(self, parent=None, items=None, designMode=False):
super(TaurusModelList, self).__init__(parent)
@@ -347,7 +348,7 @@ class TaurusModelList(Qt.QListView):
def _onDataChanged(self, *args):
'''emits a signal containing the current data as a list of strings'''
- self.dataChanged.emit(self.getModelItems())
+ self.dataChangedSignal.emit(self.getModelItems())
def contextMenuEvent(self, event):
'''see :meth:`QWidget.contextMenuEvent`'''
--
1.8.4.5
|
|
From: cfalcon <cf...@ce...> - 2016-07-07 06:37:26
|
Taurus4 is not back-comp in the connection of old-style signals.
Since Taurus 4 is not force to use PyQT API2 yet, a back-comp layer
should be offered to be compatible with non adapted external
applications.
Try to do the connection with old-style way as fall-back option.
---
lib/taurus/qt/qtcore/communication/communication.py | 7 ++++++-
lib/taurus/qt/qtgui/compact/abstractswitcher.py | 10 +++++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/lib/taurus/qt/qtcore/communication/communication.py b/lib/taurus/qt/qtcore/communication/communication.py
index 6678bc1..1707242 100644
--- a/lib/taurus/qt/qtcore/communication/communication.py
+++ b/lib/taurus/qt/qtcore/communication/communication.py
@@ -114,6 +114,7 @@ class DataModel(QtCore.QObject):
.. seealso:: :meth:`connectWriter`, :meth:`getData`
'''
self.dataChanged.connect(slot)
+
if readOnConnect and self.__isDataSet:
slot(self.__data)
obj = getattr(slot, '__self__', slot)
@@ -131,7 +132,11 @@ class DataModel(QtCore.QObject):
.. seealso:: :meth:`connectReader`, :meth:`setData`
'''
- get_signal(writer, signalname).connect(self.setData)
+ try:
+ get_signal(writer, signalname).connect(self.setData)
+ except AttributeError:
+ # support old-style signal
+ self.connect(writer, QtCore.SIGNAL(signalname), self.setData)
self.__writerSignals.append((weakref.ref(writer), signalname))
def disconnectWriter(self, writer, signalname):
diff --git a/lib/taurus/qt/qtgui/compact/abstractswitcher.py b/lib/taurus/qt/qtgui/compact/abstractswitcher.py
index f5c2156..bf91eb8 100644
--- a/lib/taurus/qt/qtgui/compact/abstractswitcher.py
+++ b/lib/taurus/qt/qtgui/compact/abstractswitcher.py
@@ -221,7 +221,15 @@ class TaurusReadWriteSwitcher(TaurusWidget):
try:
getattr(self.writeWidget, sig).connect(self.exitEdit)
except Exception, e:
- self.debug('Cannot connect signal. Reason: %s', e)
+ if isinstance(e, AttributeError) and hasattr(Qt, "SIGNAL"):
+ # Support old-style signal
+ self.connect(self.writeWidget, Qt.SIGNAL(sig),
+ self.exitEdit)
+ self.debug('Cannot connect %s using new style signal.' +
+ 'Falling back to old style', sig)
+ else:
+ self.debug('Cannot connect signal. Reason: %s', e)
+
# update size policy
self._updateSizePolicy()
# register configuration (we use the class name to avoid mixing configs
--
2.4.0
|
|
From: cfalcon <cf...@ce...> - 2016-07-07 06:12:53
|
taurusgui.macrolistener module does not use taurus4 API.
Change the uses of PyTango.DeviceProxy.name() method to taurus API.
Disable the creation SardanaEditor since tauruseditor does not work.
---
lib/taurus/qt/qtgui/taurusgui/macrolistener.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/taurus/qt/qtgui/taurusgui/macrolistener.py b/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
index 86ef32a..3fa4ed3 100644
--- a/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
+++ b/lib/taurus/qt/qtgui/taurusgui/macrolistener.py
@@ -107,13 +107,13 @@ class DynamicPlotManager(Qt.QObject, TaurusBaseComponent):
if 'JsonRecorder' not in door.getEnvironment():
msg = ('JsonRecorder environment variable is not set, but it ' +
'is needed for displaying trend plots.\n' +
- 'Enable it globally for %s?') % door.name()
+ 'Enable it globally for %s?') % door.fullname
result = Qt.QMessageBox.question(self.parent(),
'JsonRecorder not set', msg,
Qt.QMessageBox.Yes | Qt.QMessageBox.No)
if result == Qt.QMessageBox.Yes:
door.putEnvironment('JsonRecorder', True)
- self.info('JsonRecorder Enabled for %s' % door.name())
+ self.info('JsonRecorder Enabled for %s' % door.fullname)
def onExpConfChanged(self, expconf):
'''
@@ -197,7 +197,7 @@ class DynamicPlotManager(Qt.QObject, TaurusBaseComponent):
if axes not in self._trends1d:
w = TaurusTrend()
w.setXIsTime(False)
- w.setScanDoor(self.getModelObj().name())
+ w.setScanDoor(self.getModelObj().fullname)
# TODO: use a standard key for <idx> and <mov>
w.setScansXDataKey(axes[0])
pname = u'Trend1D - %s' % ":".join(axes)
@@ -256,7 +256,7 @@ class DynamicPlotManager(Qt.QObject, TaurusBaseComponent):
w = TaurusTrend2DDialog(stackMode='event')
plot = w.get_plot()
t2d = TaurusTrend2DScanItem(chname, axis,
- self.getModelObj().name())
+ self.getModelObj().fullname)
plot.add_item(t2d)
self.createPanel(w, pname, registerconfig=False,
permanent=False)
@@ -486,10 +486,10 @@ class MacroBroker(DynamicPlotManager):
registerconfig=False, permanent=True)
# puts sardanaEditor
- self.__sardanaEditor = SardanaEditor()
- SDM.connectReader("macroserverName", self.__sardanaEditor.setModel)
- mainwindow.createPanel(self.__sardanaEditor, 'SardanaEditor',
- registerconfig=False, permanent=True)
+ # self.__sardanaEditor = SardanaEditor()
+ # SDM.connectReader("macroserverName", self.__sardanaEditor.setModel)
+ # mainwindow.createPanel(self.__sardanaEditor, 'SardanaEditor',
+ # registerconfig=False, permanent=True)
# add panic button for aborting the door
text = "Panic Button: stops the pool (double-click for abort)"
--
2.4.0
|
|
From: Carlos P. <cpa...@ce...> - 2016-06-27 14:08:26
|
Hi all, I just created a draft for a new Taurus Enhancement Proposal about supporting slicing in taurus URIs. Please have a look at it: https://sourceforge.net/p/tauruslib/wiki/TEP15/ And please contribute your thoughts by replying to this thread. Cheers, Carlos -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carrer de la Llum 2-26 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
|
From: V. A. S. <so...@es...> - 2016-06-27 09:00:50
|
On 27/06/2016 10:30, Carlos Pascual wrote: > Hi Armando, > > I hope you do not mind me posting my response to the taurus mailing list > since I think this can be an interesting topic for discussion with all > the developers of Taurus. See my reply below. > > On Wed 22 June 2016 15:07:51 V. Armando Solé wrote: >> Carlos, >> >> I have just seen your slides. Concerning URIs, can you try to be >> compatible with pydata URIs behore Taurus4 is already deployed? We >> intend to follow their way in order not to reinvent things. >> >> http://odo.pydata.org/en/latest/uri.html >> >> Best regards, >> >> Armando > > I did not know odo. Thanks for pointing to it. > > I will look into it later in more detail, but on a first look, it seems > that there are no collisions with the *existing* URIs in Taurus. So it > definitely seems a good idea to try to follow their conventions for the > new schemes. > > BUT I am worried because while in Taurus TEP3 [1] we explicitly made > changes to enforce RFC3986 [2], odo / PyData [3] seems not tho comply > with it: > > - odo uses "://" for specifying protocols. RFC3986 states that the > protocol (scheme name) is separated by ":" and the "//" is actually a > prefix for the authority part, not a separator. In practice this implies > that if no authority is given, there must not be "//". So the "URI" > `hdfstore://myfile.h5::/data/path` is not RFC3986-compliant (I am > assuming here that "myfile.h5" is part of the URI path, not the > "authority"). What do you want me to say? I do not know who cooked RFC3986, but people are so used to "://" following http that it seems more natural to specify a protocol considering the use we intend to give to the URIs: We are not considering to use odo at this point. We were simply looking for a way to adapt our scripts using files as input to the use of particular datasets into HDF5 files. So, for the time being we'll be satisfied by myfile.h5::/path/to/dataset and we are looking for a way to specify a particular frame of a multiframe dataset. I would not be surprised to end up choosing something between myfile.h5::/path/to/dataset#10 (html like) or myfile.h5::/path/to/dataset::10 (odo like) Armando |
|
From: Carlos P. <cpa...@ce...> - 2016-06-27 08:30:45
|
Hi Armando, I hope you do not mind me posting my response to the taurus mailing list since I think this can be an interesting topic for discussion with all the developers of Taurus. See my reply below. On Wed 22 June 2016 15:07:51 V. Armando Solé wrote: > Carlos, > > I have just seen your slides. Concerning URIs, can you try to be > compatible with pydata URIs behore Taurus4 is already deployed? We > intend to follow their way in order not to reinvent things. > > http://odo.pydata.org/en/latest/uri.html > > Best regards, > > Armando I did not know odo. Thanks for pointing to it. I will look into it later in more detail, but on a first look, it seems that there are no collisions with the *existing* URIs in Taurus. So it definitely seems a good idea to try to follow their conventions for the new schemes. BUT I am worried because while in Taurus TEP3 [1] we explicitly made changes to enforce RFC3986 [2], odo / PyData [3] seems not tho comply with it: - odo uses "://" for specifying protocols. RFC3986 states that the protocol (scheme name) is separated by ":" and the "//" is actually a prefix for the authority part, not a separator. In practice this implies that if no authority is given, there must not be "//". So the "URI" `hdfstore://myfile.h5::/data/path` is not RFC3986-compliant (I am assuming here that "myfile.h5" is part of the URI path, not the "authority"). -RFC3986 also says that authority and path *must* be separated by "/". This means that "hostname" in `postgresql://hostname::tablename` is actually part of the path when it seems to me that it would make more sense as part of the authority. Still, I think it might be possible to support odo to a large extent in taurus (and in fact, I am thinking that many new taurus schemes could be built upon odo itself). But this needs to be looked at with some care. Cheers, Carlos [1] https://sourceforge.net/p/tauruslib/wiki/TEP3 [2] https://tools.ietf.org/html/rfc3986 [3] http://odo.pydata.org/en/latest/uri.html -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carrer de la Llum 2-26 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
|
From: Teresa N. <mar...@de...> - 2016-06-07 11:53:49
|
Hi Carlos,
the patch is applied to the develop branch.
Regards,
Teresa
On 06/07/16 11:42, cpa...@ce... wrote:
> From: cpascual <cpa...@ce...>
>
> getPixmap is deprecated in favour of getCachedPixmap, but should provide
> backwards compatibility for keys using resource syntax. Implement the
> same solution as already present in getIcon
> ---
> lib/taurus/qt/qtgui/resource/taurus_resource_utils.py | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
> index 87c84a2..982578e 100644
> --- a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
> +++ b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
> @@ -69,9 +69,16 @@ def getThemeMembers():
> return {}
>
>
> -@deprecation_decorator(alt='getCachedPixmap', rel='4.0')
> def getPixmap(key, size=None):
> - return getCachedPixmap(key, size=size)
> + # handle resource syntax (deprecated)
> + if key.startswith(':'):
> + head, tail = os.path.split(key[1:])
> + # logos used to be in the resource root. Now they are in 'logos'
> + prefix = sanitizePrefix(head or 'logos')
> + alt = 'getCachedPixmap("%s:%s [, size]")' % (prefix, tail)
> + ret = getCachedPixmap('%s:%s' % (prefix, tail), size)
> + deprecated(dep='getPixmap("%s" [, size])' % key, alt=alt, rel='4.0')
> + return ret
>
>
> def getIcon(key):
|
|
From: <cpa...@ce...> - 2016-06-07 09:43:00
|
From: cpascual <cpa...@ce...>
getPixmap is deprecated in favour of getCachedPixmap, but should provide
backwards compatibility for keys using resource syntax. Implement the
same solution as already present in getIcon
---
lib/taurus/qt/qtgui/resource/taurus_resource_utils.py | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
index 87c84a2..982578e 100644
--- a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
+++ b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py
@@ -69,9 +69,16 @@ def getThemeMembers():
return {}
-@deprecation_decorator(alt='getCachedPixmap', rel='4.0')
def getPixmap(key, size=None):
- return getCachedPixmap(key, size=size)
+ # handle resource syntax (deprecated)
+ if key.startswith(':'):
+ head, tail = os.path.split(key[1:])
+ # logos used to be in the resource root. Now they are in 'logos'
+ prefix = sanitizePrefix(head or 'logos')
+ alt = 'getCachedPixmap("%s:%s [, size]")' % (prefix, tail)
+ ret = getCachedPixmap('%s:%s' % (prefix, tail), size)
+ deprecated(dep='getPixmap("%s" [, size])' % key, alt=alt, rel='4.0')
+ return ret
def getIcon(key):
--
2.8.1
|