Closed keroro824 closed 11 years ago
BeidiChen:splparser BeidiChen$ splparse 'loadjob savedsearch="admin:search:MySavedSearch"' Generating LALR tables Traceback (most recent call last): File "", line 1, in File "splparser/init.py", line 12, in parse return parser.parse(data) File "splparser/parser.py", line 77, in parse parsetree = self.parser.parse(data, lexer=self.lexer, debug=self.log) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 261, in parse return self.parsedebug(input,lexer,debug,tracking,tokenfunc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 421, in parsedebug p.callable(pslice) File "splparser/decorators.py", line 21, in helper raise TerminatingSPLSyntaxError(e.message) splparser.exceptions.TerminatingSPLSyntaxError
The problem seems to be "savedsearch". I put it in the loadjob_opt, but it cannot even be parsed.
We can look at this today.
BeidiChen:splparser BeidiChen$ splparse 'loadjob savedsearch="admin:search:MySavedSearch"' Generating LALR tables Traceback (most recent call last): File "", line 1, in
File "splparser/init.py", line 12, in parse
return parser.parse(data)
File "splparser/parser.py", line 77, in parse
parsetree = self.parser.parse(data, lexer=self.lexer, debug=self.log)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 261, in parse
return self.parsedebug(input,lexer,debug,tracking,tokenfunc)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ply/yacc.py", line 421, in parsedebug
p.callable(pslice)
File "splparser/decorators.py", line 21, in helper
raise TerminatingSPLSyntaxError(e.message)
splparser.exceptions.TerminatingSPLSyntaxError
The problem seems to be "savedsearch". I put it in the loadjob_opt, but it cannot even be parsed.