IOError: [Errno 13] Permission denied


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

Traceback (most recent call last):
File “”, line 89, in
File “”, line 59, in main
datalog = DataLog(LogDir, Test_name)
File “build/bdist.linux-armv7l/egg/dlp_lightcrafter/”, 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…