Culprit query: (kârâvard|tavânravâ|tusang|daraste|darse|darqâl|kâtuziyân|damandân|hengâmšenâs|gâhšenâs)
WebSearch Error: Traceback (most recent call last):
File "/home/paarsig/paarsig/augmenter.py", line 2422, in _search_getwords
parsed = asParser.parseString(unescaped_query)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1955, in parseString
raise exc
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 3342, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected {{{Re:('(en|de|pâ|fr|et|پا|v|bg|pos)') Suppress:(":") {Combine:({Re:('[^ ]+?[ $]') [Re:('[^ ]+?[ $]')]...}) | Re:('[^ ]+')}} : ...} | {Re:('(en|de|pâ|fr|et|پا|v|bg|pos)') Suppress:(":") {Combine:({Re:('[^ ]+?[ $]') [Re:('[^ ]+?[ $]')]...}) | Re:('[^ ]+')}}}, found '(' (at char 0), (line:1, col:1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/paarsig/paarsig/websearch.py", line 44, in
print(b64.b64encode(websearch(txt).replace('\\n', '
').encode('utf-8')).decode('utf-8'))
File "/home/paarsig/paarsig/augmenter.py", line 2314, in websearch
field_searched, field_searched_etym, words, scores = _search_getwords(query)
File "/home/paarsig/paarsig/augmenter.py", line 2432, in _search_getwords
return _search_getwords("pâ:" + query)
File "/home/paarsig/paarsig/augmenter.py", line 2422, in _search_getwords
parsed = asParser.parseString(unescaped_query)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1943, in parseString
loc, tokens = self._parse(instring, 0)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1683, in _parseNoCache
loc, tokens = self.parseImpl(instring, preloc, doActions)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 4462, in parseImpl
return self.expr._parse(instring, loc, doActions, callPreParse=False)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1683, in _parseNoCache
loc, tokens = self.parseImpl(instring, preloc, doActions)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 4254, in parseImpl
ret = e._parse(instring, loc, doActions)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1683, in _parseNoCache
loc, tokens = self.parseImpl(instring, preloc, doActions)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 4052, in parseImpl
loc, resultlist = self.exprs[0]._parse(instring, loc, doActions, callPreParse=False)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1716, in _parseNoCache
tokens = fn(instring, tokensStart, retTokens)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/site-packages/pyparsing.py", line 1316, in wrapper
ret = func(*args[limit[0]:])
File "/home/paarsig/paarsig/augmenter.py", line 1812, in field_parser
v = re.compile(v, re.I)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/re.py", line 252, in compile
return _compile(pattern, flags)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/re.py", line 304, in _compile
p = sre_compile.compile(pattern, flags)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/sre_parse.py", line 948, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/sre_parse.py", line 443, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "/home/paarsig/miniconda3/envs/py38/lib/python3.8/sre_parse.py", line 836, in _parse
raise source.error("missing ), unterminated subpattern",
re.error: missing ), unterminated subpattern at position 0
Some text in the Modal Body
Some other text...