This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLPDLCR2000EVM: MplayerTest throwing a syntax error

Part Number: DLPDLCR2000EVM

Hi, 

My issue is very similar to what another user experienced, but the suggested action doesn't seem to be resolving the problem. I'm trying to run the video test file, MplayerTest.py using Python3. I've encountered this syntax error in dpp2607.py. Note that I've already changed this line of code (1197) several times and re-run the setup.py to install the changes, otherwise none of the changes, including blocking out the whole code bock, appear to compile. If I block out this whole compoundTemp code block in dpp2607 then I get the import i2c error that the previous question described. The original line of code that threw the error was lacking the outer parenthesis and 'CompoundTemp,' but as all the other code blocks have that structure, I tried adding it to no avail. I'm wondering if someone who has been able to clear this error could advise? 

  • Hello Corey,

    Welcome to TI E2E forums and thanks for showing interest in the DLP technology.

    Our team will look into your query and will get back to you by 11/5/20.

    Regards,

    Mayank

  • Corey,

    It looks like you are using Python 3 to run this script. Have you tried running these scripts on Python 2.7 instead? I believe these scripts are intended for the older Python release.

    If you cannot use Python 2.7, you can also try calling mPlayer manually instead of invoking it through the Python script.

    I hope this helps.

    Regards,

    Philippe Dollo

  • Thank you Philippe! 

    Yes, the Python version was an issue. The make file compiled using Python3 but the other executables worked better with Python2.7. I also realized at some point that my Beagle Bone Black was not actually connected to the internet, so the drivers had not installed, which explains a lot of the error messages. Once those were installed, I could execute the ./pattern_disp -p and see my pattern, which is really all I need to do for now as it's for a microscopy project. 

    Thanks for your help! 

    Corey