Part Number: DLPDLCR2000EVM
Hi! I am trying to download the tar.gz python library from github; however when I try to unzip the tar.gz archive via the command line on Raspberry Pi, it returns the following error, suggesting this is not the correct file:
gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exiting now
Could you please point me to where I can download the correct DLPDLCR2000EVM python library from?
Github link: github.com/.../DLPDLCR2000
Thank you for your interest in DLP technology!
The GitHub link you have provided is where I would point you to access the DLPDLCR2000 Python library.
Can you go through your process of how you are attempting to install the library (including command lines)?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Austin Snyder:
Hi Austin, thank you for your reply. I was trying to download the tar file via wget in the command line. I've cloned the entire repository and then unzipped the archive and that worked. However, I now have another issue.
I've followed the instructions in the git readme and installed the DLP library- there's been a lot of syntax errors in the files (I assume there's a difference between python2 and 3?). I've got Python 3.7 installed on my Raspberry Pi. Got through all of the errors preventing me to run the sample scripts, except for one.
I am attempting to run ExtProjOnOff.py, and I get the following error:
Traceback (most recent call last): File "ExtProjOnOff.py", line 46, in <module> from control import * File "/home/pi/DLP_control/boot-scripts/device/bone/capes/DLPDLCR2000/control.py", line 48, in <module> from dlp_lightcrafter.dpp2607 import * File "/usr/local/lib/python3.7/dist-packages/dlp_lightcrafter-1.0.19-py3.7.egg/dlp_lightcrafter/dpp2607.py", line 45, in <module>ModuleNotFoundError: No module named 'i2c'
Now, I've got the i2c arm protocol enabled in the boot/config.txt file, and I've installed the simbus2 module via pip3 in the command line. I am not quite sure how to get past this error.
Update: if I change line 45 in dpp2607.py from "import i2c" to "import smbus2", it traces back to the following error:
In reply to Andreea Bunica:
I will look into this further and get back to you soon.
I went through the source code and noticed that there is an extraneous ")" character at the location of where the invalid syntax is detected. I would recommend going through the dlp_lightcrafter-1.0.19 folders until you get to dpp2607.py and editing it to remove the ")" after the L.
I hope this helps. Please let us know if you have any more issues with the EVM.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.