Notifications
Clear all

[Solved] IDE messing up

22 Posts
5 Users
1 Likes
1,611 Views
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1123
 
Posted by: @zander

but now I got back the weird python problem.

If you type 'python' on the terminal you will likely be bringing up python 2.7 with may not be what you are after as all python code is now usually written for python 3.x .  You can type 'python3' into your terminal and see what comes up.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7085
Topic starter  

@byron I gert 3.10.4 with both python3 and python

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7085
Topic starter  

Does anyone know how to read the platform.txt file? It is mentioned in a 'fix' posting. Here are screen shots of the fix mention, so I found a platform.txt

Screen Shot 2022 04 14 at 12.36.18

and here is the first 2 hits for python

Screen Shot 2022 04 14 at 12.38.59

I don't know what I am looking at but my hunch is the first bit shows some sort of edit to change python to python3 in the platform.txt file

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7085
Topic starter  

I know nothing about github, haven't been *nix literate in decades either. This link is the 'fix' but I am not sure I totally understand it. Can one of our *nix users look at it and tell me exactly what to do?

https://github.com/espressif/arduino-esp32/issues/4717#issuecomment-1070801525

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7085
Topic starter  

WOO HOO, fixed it. 

Summary

The 2.0.2 version of the ESP32 board is bad, missing some headers

The python setup was bad. The switch from 2 to 3 has been years in the making and not handled well.

Thanks to all those who provided assistance in any way. Now back to our regularly scheduled program. Marking SOLVED.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 

I think it's replacing the word "python" with "python3" in all platform files. I don't know if the Python 3 interpreter is always installed with the filename "python3" or if that only happens on a system with both Python 2 and 3 installed.

The comment prior to the one you linked has the command for linux. Just open a shell and paste the command in and hit enter.

 

This post was modified 2 years ago 2 times by YurkshireLad

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7085
Topic starter  

@yurkshirelad That's what I figured. I did it the old fashioned way by hand, as far as I can tell there is only 1 of those files now. Thanks for the info.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
YurkshireLad reacted
ReplyQuote
Page 2 / 2