WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py:76: UserWarning: No match found for phrase: LineOn == 1
  warnings.warn("No match found for phrase: " + node.data.string)

ERROR:flask.app:Exception on /nltext [GET]
Traceback (most recent call last):
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask_restful\__init__.py", line 480, in wrapper
    resp = resource(*args, **kwargs)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\views.py", line 88, in view
    return self.dispatch_request(*args, **kwargs)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask_restful\__init__.py", line 595, in dispatch_request
    resp = meth(*args, **kwargs)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\resources\nl_text.py", line 16, in get
    response = API_FSA.requestNLText()
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py", line 329, in requestNLText
    signalToNL(signalFilePath)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\signal_to_nl.py", line 31, in process
    nlFileWriter = NLFileWriter(signalBatch)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 20, in __init__
    self.encode(signalBatch)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 29, in encode
    self.outLines.append("  {} {}\n\n".format(g.GIVEN, self.tree_to_str(signalBatch.context)))
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 51, in tree_to_str
    tree.root = tp.process_tree(tree.root, TreeProcessor.Direction.SIGNAL_TO_NL)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 36, in process_tree
    return self.process_tree_recursive(node)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 54, in process_tree_recursive
    node.rchild = self.process_tree_recursive(node.rchild)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 53, in process_tree_recursive
    node.lchild = self.process_tree_recursive(node.lchild)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 79, in process_tree_recursive
    node = self.process_operand(node, [match], template)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 108, in process_operand
    self.translate_to_nl(node, sp)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 173, in translate_to_nl
    fill_action.ParseMainAction(data=signalPhrase)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\Temp2NL.py", line 58, in ParseMainAction
    verb = self.finetune.find_verb(self.lang, phrase)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\utils\word_morpho.py", line 260, in find_verb
    with pkg_resources.resource_stream("gherkan", "utils/verbs.yaml") as stream:
  File "C:\Users\admin\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1149, in resource_stream
    self, resource_name
  File "C:\Users\admin\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1519, in get_resource_stream
    return open(self._fn(self.module_path, resource_name), 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\users\\admin\\documents\\nl_instruction_processing\\gherkan\\utils\\verbs.yaml'
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py:76: UserWarning: No match found for phrase: LineOn == 1
  warnings.warn("No match found for phrase: " + node.data.string)

ERROR:flask.app:Exception on /nltext [GET]
Traceback (most recent call last):
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask_restful\__init__.py", line 480, in wrapper
    resp = resource(*args, **kwargs)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask\views.py", line 88, in view
    return self.dispatch_request(*args, **kwargs)
  File "C:\Users\admin\Anaconda3\lib\site-packages\flask_restful\__init__.py", line 595, in dispatch_request
    resp = meth(*args, **kwargs)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\resources\nl_text.py", line 16, in get
    response = API_FSA.requestNLText()
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py", line 329, in requestNLText
    signalToNL(signalFilePath)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\signal_to_nl.py", line 31, in process
    nlFileWriter = NLFileWriter(signalBatch)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 20, in __init__
    self.encode(signalBatch)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 29, in encode
    self.outLines.append("  {} {}\n\n".format(g.GIVEN, self.tree_to_str(signalBatch.context)))
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\encoder\NLFileWriter.py", line 51, in tree_to_str
    tree.root = tp.process_tree(tree.root, TreeProcessor.Direction.SIGNAL_TO_NL)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 36, in process_tree
    return self.process_tree_recursive(node)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 54, in process_tree_recursive
    node.rchild = self.process_tree_recursive(node.rchild)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 53, in process_tree_recursive
    node.lchild = self.process_tree_recursive(node.lchild)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 79, in process_tree_recursive
    node = self.process_operand(node, [match], template)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 108, in process_operand
    self.translate_to_nl(node, sp)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py", line 173, in translate_to_nl
    fill_action.ParseMainAction(data=signalPhrase)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\processing\Temp2NL.py", line 58, in ParseMainAction
    verb = self.finetune.find_verb(self.lang, phrase)
  File "c:\users\admin\documents\nl_instruction_processing\gherkan\utils\word_morpho.py", line 260, in find_verb
    with pkg_resources.resource_stream("gherkan", "utils/verbs.yaml") as stream:
  File "C:\Users\admin\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1149, in resource_stream
    self, resource_name
  File "C:\Users\admin\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1519, in get_resource_stream
    return open(self._fn(self.module_path, resource_name), 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\users\\admin\\documents\\nl_instruction_processing\\gherkan\\utils\\verbs.yaml'
INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:47] "[37mGET /reset HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:48] "[1m[31mPOST /nltext HTTP/1.1[0m" 406 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:49] "[37mGET /reset HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:50] "[1m[31mPOST /nltext HTTP/1.1[0m" 406 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:51] "[37mGET /reset HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:01:52] "[37mPOST /signals HTTP/1.1[0m" 200 -
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:135: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\processing\TreeProcessor.py:307: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.templ_dic = yaml.load(stream)

WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\processing\Temp2NL.py:163: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  phrase_list = yaml.load(stream)

WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\utils\word_morpho.py:275: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  verb_dic = yaml.load(stream)

INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:02:23] "[37mGET /nltext HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:02:24] "[37mGET /reset HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 13:02:25] "[37mPOST /signals HTTP/1.1[0m" 200 -
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:02:16] "[37mGET /reset HTTP/1.1[0m" 200 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:04:04] "[1m[31mPOST /nltext HTTP/1.1[0m" 406 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:04:23] "[37mGET /reset HTTP/1.1[0m" 200 -
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:14:18] "[37mGET /reset HTTP/1.1[0m" 200 -
ERROR:root:An error occurred while processing the NL text: generator raised StopIteration
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:18:48] "[1m[31mPOST /nltext HTTP/1.1[0m" 406 -
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:18:49] "[37mGET /reset HTTP/1.1[0m" 200 -
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:19:34] "[37mGET /reset HTTP/1.1[0m" 200 -
ERROR:root:An error occurred while processing the NL text! Error: 'generator raised StopIteration'
WARNING:py.warnings:c:\users\admin\documents\nl_instruction_processing\gherkan\flask_api\api_fsa.py:145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(cfg)

INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:39:20] "[37mGET /reset HTTP/1.1[0m" 200 -
ERROR:root:An error occurred while processing the NL text! Error: 'generator raised StopIteration'
INFO:werkzeug:127.0.0.1 - - [27/Mar/2019 18:41:45] "[1m[31mPOST /nltext HTTP/1.1[0m" 406 -
