Question #214286 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/214286
Status: Answered => Open
indugur is still having a problem:
Thank you for response but it still doesn't work.
I have tried both mentioned ways:
1.
import os
cmd = r'"C:\images\file.py"'
os.popen(cmd)
2.
import os
cmd = r'start /D "C:\images\" file.py'
os.popen(cmd)
But always appears the same Error on the third line:
[error] Stopped
[error] An error occurs at line 3
[error] Error message: Traceback (most recent call last):
File "C:\Users\PC\AppData\Local\Temp\sikuli-tmp8435613889750766144.py", line
3, in
os.popen(cmd)
File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\os.py", line 679,
in popen
File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py",
line 751, in __init__
File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py",
line 1236, in _execute_child
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
Is there any ideas why is it happen? Thank you.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp