Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on setting attribute filters #4

Open
sergirubio opened this issue Nov 1, 2016 · 0 comments
Open

Exception on setting attribute filters #4

sergirubio opened this issue Nov 1, 2016 · 0 comments

Comments

@sergirubio
Copy link
Collaborator

This settings:

PySignalSimulator.AttributeFilters = PNV: ['state','PLCAttribute']

Provokes this exception:

VaccaPanel.setModel.get_attrs_form(TEST/SIM/EVENTS,[" ['state'", "'PLCAttribute']"])
MainThread WARNING 2016-11-01 09:48:30,967 VaccaPanel.TEST/SIM/EVENTS: Traceback (most recent call last):
File "/home/srubio/PYTHON/vacca/panel.py", line 464, in setModel
self._attrs.append(self.get_attrs_form(device=model,filters=attrs,parent=self))
File "/home/srubio/PYTHON/taurus/qt/qtgui/panel/taurusdevicepanel.py", line 375, in get_attrs_form
if a and searchCl(a.strip(),t.strip()):
File "/home/srubio/PYTHON/taurus/qt/qtgui/panel/taurusdevicepanel.py", line 65, in searchCl
return re.search(m.lower(),k.lower())
File "/usr/lib64/python2.7/re.py", line 146, in search
return _compile(pattern, flags).search(string)
File "/usr/lib64/python2.7/re.py", line 251, in _compile
raise error, v # invalid expression
error: unexpected end of regular expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant