-
Notifications
You must be signed in to change notification settings - Fork 71
Description
I've got a couple of .rive files that have quite a few triggers. And they work. But sometimes this error appears instead of giving me the reply. And I can't find the solution, I'm not really sure what's going on.
I leave the message that I figure:
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\rivescript\rivescript.py", line 947, in reply
return self._brain.reply(user, msg, errors_as_replies)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\rivescript\brain.py", line 68, in reply
reply = self._getreply(user, msg, ignore_object_errors=errors_as_replies)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\rivescript\brain.py", line 269, in _getreply
regexp = self.reply_regexp(user, pattern)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\rivescript\brain.py", line 505, in reply_regexp
return re.compile(r'^' + regexp.lower() + r'$', re.UNICODE)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\re.py", line 250, in compile
return _compile(pattern, flags)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\re.py", line 302, in _compile
p = sre_compile.compile(pattern, flags)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\sre_parse.py", line 962, in parse
raise source.error("unbalanced parenthesis")
re.error: unbalanced parenthesis at position 60
I am testing and There is no criterion by which this appears, usually when trigger change (not always)
Any solution?