IOError: [Errno 13] Permission denied

Hello,

I am trying to play video using Beaglebone black and DLPDLCR2000EVM projector.

I can play video manually but when I try to play videos using python script I am getting an error like this

debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python MplayerTest.py

Traceback (most recent call last):
File “MplayerTest.py”, line 89, in
main()
File “MplayerTest.py”, line 59, in main
datalog = DataLog(LogDir, Test_name)
File “build/bdist.linux-armv7l/egg/dlp_lightcrafter/datalog.py”, line 77, in init
IOError: [Errno 13] Permission denied: ‘0524/tmp_header_Video Play Test__Tue__Nov_14_2017__11_19_37__.xls’

the system isn’t being allowed to write to the datalog file.

any one please help me to fix this problem.

thank you.

It looks like your software is trying to write to
/opt/scripts/device/bone/capes/DLPDLCR2000/0524/tmp_header_Video Play Test__Tue__Nov_14_2017__11_19_37__.xls

but you don’t have permissions to that location. Can you confirm that, and do you know how to address that problem? I’m asking because I don’t know how much do you know, so I’m not sure what advice to give.

Yeah I think TI assumed the user would be root with those dlp scripts. I need to double check them and fix that…