Skip to content

Issue with creation of output.txt (Windows) #4

Description

@choudhuryaveek

The fnParserDriver command in run_semaphore() doesn't create the 'output.txt' file. As a result, when the flow moves to import_semaphore(), the 'xml' object is unable to find the same. Therefore, the following error -
###################
Traceback (most recent call last):
File "C:/Users/Aveek.Choudhury01/Documents/untitled1/semafor_try.py", line 6, in
frames = semaphore(files=file_path)
File "C:\Python27\lib\site-packages\semaphore.py", line 166, in semaphore
return import_semaphore()
File "C:\Python27\lib\site-packages\semaphore.py", line 62, in import_semaphore
with open(xml, 'r') as f:
IOError: [Errno 2] No such file or directory: 'C:/Python27/Lib/site-packages/semafor-semantic-parser/samples/output.txt'
###################
I am running on a Windows system.

Any suggestions? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions