PS C:\Users\user\pepperchat-master\pepperchat-master> python module_dialogue.py --pip 192.168.1.2
Traceback (most recent call last):
File "module_dialogue.py", line 28, in
START_PROMPT = codecs.open(os.getenv('DIALOGUE_START_PROMPTFILE'),encoding='utf-8').read() if os.path.isfile(os.getenv('DIALOGUE_START_PROMPTFILE')) else None
File "c:\Python27\lib\genericpath.py", line 37, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
PS C:\Users\user\pepperchat-master\pepperchat-master>
From the looks of it, the environment variable DIALOGUE_START_PROMPTFILE is not being correctly recognized. But I cannot figure out where it was supposedly set?
I've tried to hard set it? Should I have done anything for this to be accepted?
I'm getting this error every time I run it:
PS C:\Users\user\pepperchat-master\pepperchat-master> python module_dialogue.py --pip 192.168.1.2 Traceback (most recent call last): File "module_dialogue.py", line 28, in
START_PROMPT = codecs.open(os.getenv('DIALOGUE_START_PROMPTFILE'),encoding='utf-8').read() if os.path.isfile(os.getenv('DIALOGUE_START_PROMPTFILE')) else None
File "c:\Python27\lib\genericpath.py", line 37, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
PS C:\Users\user\pepperchat-master\pepperchat-master>
From the looks of it, the environment variable DIALOGUE_START_PROMPTFILE is not being correctly recognized. But I cannot figure out where it was supposedly set?
I've tried to hard set it? Should I have done anything for this to be accepted?
So far I've commented it out.