ItKindaWorks Forum

A forum for everything that Kinda Works YouTube.com/ItKindaWorks

You are not logged in.

Announcement

Welcome to the ItKindaWorks Forum

#1 2018-01-25 01:18:14

agengler11
Member
Registered: 2018-01-23
Posts: 21

OTA Programming

I can choose my ip address as a port and chose a password for OTA programming but I get this message.

ava.io.IOException: Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
	at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
	at cc.arduino.packages.uploaders.GenericNetworkUploader.uploadUsingPreferences(GenericNetworkUploader.java:99)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
	at processing.app.SketchController.upload(SketchController.java:713)
	at processing.app.SketchController.exportApplet(SketchController.java:686)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2168)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
	at java.lang.ProcessImpl.start(ProcessImpl.java:137)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 8 more

Offline

#2 2018-01-25 02:03:29

cromer
Administrator
From: internet land
Registered: 2017-12-26
Posts: 89
Website

Re: OTA Programming

Hmm I've never seen that one.

It looks like a problem with your computer being able to run python (I suppose that is what the OTA uploader is written in). What OS are you running? Can you open up a command prompt and type "python" and get a python shell?


Creator of ItKindaWorks

Offline

#3 2018-01-25 13:45:42

agengler11
Member
Registered: 2018-01-23
Posts: 21

Re: OTA Programming

Windows 10

Offline

#4 2018-01-25 15:19:44

cromer
Administrator
From: internet land
Registered: 2017-12-26
Posts: 89
Website

Re: OTA Programming

Do you have python installed and can it be run (by opening a command prompt and typing "python")?


Creator of ItKindaWorks

Offline

#5 2018-05-05 23:27:01

relliott911
Member
From: Idaho
Registered: 2018-02-13
Posts: 4

Re: OTA Programming

I had the same problem, it worked fine until I changed computers! I had not installed Python on the new computer. Installed python (don't forget to add to system path) and all is good now!

Thanks!

Last edited by relliott911 (2018-05-05 23:27:38)

Offline

#6 2018-05-07 12:06:10

agengler11
Member
Registered: 2018-01-23
Posts: 21

Re: OTA Programming

I had to run an older version of Python

Offline

Board footer

Powered by FluxBB