-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Mint 22/Ubuntu 24.04 python library error #6
Comments
I can take a look, but I just copied the board packages as-is, and didn't create the dislite tool, so I can't guarantee anything. Have you tried installing python2 manually:
Let me know if that works, and I'll post an update here if I can come up with any alternate solutions. |
Unfortunately that was one of the first things I did try. And of course that gives the error When you say copied the board packages as-is? Do you mean putting manually installing it IE: using the hardware directory? and not using the board manager? |
You can try to use TI's Uniflash tool: https://www.ti.com/tool/UNIFLASH You can manually run it to upload the binary created from Arduino. There is a way to have Uniflash to export everything into a package which includes dslite and all the config files you need for specific boards. The last time I used Uniflash was several years back when TI released the MSP430-G2ET boards (see https://github.com/Andy4495/MSP-EXP430G2ET-Energia) -- the G2ET boards didn't work with Energia at the time, so I used it until and updated Energia was released. I'll try and see if I can get Uniflash to create an updated dslite that doesn't depend on Python2 tool and make the appropriate updates to the board package files to get this to work, but it will take a few days. [My reference to using the packages "as-is", I meant that I copied the board packages to my GitHub repo as-is and didn't modify the internals of the board packages and tools except to clean up the board package JSON files with up-to-date URLs. In the Arduino IDE, I install them using the board manager.] |
Just to update, I couldn't get the stand-alone programmer to work - It's me, I'm sure I'm not understanding what it wants as input. Then I found your repository, then found I could compile, but not upload the code. The Uniflash did the trick, and will keep this alive a while longer! Your efforts have helped me in so many ways. I think there is enough example code now to at least piece together how this robot works and maybe make something fun and (not so) useful. -LeRoy |
LeRoy - I finally got around to creating a new dslite tool package and updated the board packages to use the newer dslite. I have tested this on Ubuntu 24, 22, Windows, and Mac, so I think this should also work with Linux Mint 22. If you use this URL in the Board Manager:
And update to the latest board package version (1.1.0 for MSP430 or Tiva, or 5.30.0 for MSP432), then Arduino should load the updated dslite tool and it should work directly instead of having to use the separate UniFlash tool. Let me know if you have a chance to test it on Linux Mint, and if you are still having trouble, open a new issue. Andy |
You are a genius! Worked just as expected. Thanks |
I'm not sure you can help with this issue, I'm not sure it's an issue of the core or not.
but I get this error when trying to upload on Linux Mint 22
/home/lfmiller/.arduino15/packages/energia/tools/dslite/9.3.0.1863/DebugServer/bin/DSLite: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I'm pretty sure this is because Python 2.7.x has been deprecated, and dslite 9.3.0.1863 requires it.
I haven't been able to find any kind of work around for the issue.
Hoping maybe you know of something that might work?
Thanks in advance.
The text was updated successfully, but these errors were encountered: