Error in browser streaming robot

in robot_web_server.py line scriptPath = os.patch.dirname( file )
file is not defined
this will interrupt program.
What is solution for this problem?

Er . . . link in github? This works pretty well . . . are you getting an error message?

The file loads the path from where the program was started and should not cause any errors. You can read more about it here: http://stackoverflow.com/questions/7116889/python-file-attribute-absolute-or-relative.

-karan