gepd / Stino

A Sublime Text Plugin for Arduino
Other
33 stars 10 forks source link

"{runtime.tools.avrdude.path}/bin/avrdude" #1

Closed gepd closed 9 years ago

gepd commented 9 years ago

After the new installation process, the plugins is almost working it compiles the code, but shows an error when it tries to upload it. (with IDE 1.6.4)

Error:

"{runtime.tools.avrdude.path}/bin/avrdude" "-C{runtime.tools.avrdude.path}/etc/avrdude.conf" -v -patmega328p -carduino "-PCOM10" -b115200 -D "

I modify the platform_wiring.txt and platform_avr.txt based on the platform.txt file located in arduino-1.6.4\hardware\arduino\avr

but the error keeps

DrSensor commented 9 years ago

same here but the error just /bin/sh: 1: {runtime.tools.avrdude.path}/bin/avrdude: not found

gepd commented 9 years ago

I've solve this issue for IDE version 1.6.4, now you can upload you code without problem

ghost commented 9 years ago

Hi, Issus isn´t fixed. I use IDE 1.6.4 with Windows 7 x64. Clean install of Sublime and new-Stino like the updates installion guide.

jordlynn commented 9 years ago

The issue still exists, tried clean install of ST3 and Stino error message is the same as @cimenx seems like the path is broken somewhere.

gepd commented 9 years ago

I'm looking in this issue, seems like It happen in W7, I've to install W7 to start to debug it

jordlynn commented 9 years ago

I'm running Arch Linux, so it's happening across systems. Thanks for the quick reply, I'll let you know if I get it fixed. Also an error code if it helps Stino - Exit with error code 127.

jordlynn commented 9 years ago

Okay aparently the commit https://github.com/gepd/Stino/commit/cdbe58eadf01031aa0becdc4fd0a2af026555410 didn't get pulled from Package Control? And when I'm downloading from a .zip file the changes aren't present there either. Maybe I'm missing something obvious?

gepd commented 9 years ago

Maybe I'm missing something obvious?

Not as I know.

Is your zip file named like Stino-cdbe58eadf01031aa0becdc4fd0a2af026555410.zip ? I had download the zip file and all seems to be good.

As I'm not the owner of the code, these error code doesn't mean anything to me, Robot-Will never post a documentation with the meaning of the codes, but there something else we can do.

Please go to Arduino-> Build options and check Show Compilation Output and Show Upload Output

Try to upload your sketch and copy the entirely error. It may help me to know where can be the error

jordlynn commented 9 years ago

I am no longer getting the error code so I can't post my output. But the entirety of the error is the same as what @cimenx posted above.

I fixed the issue by going through and manually editing the code that https://github.com/gepd/Stino/commit/cdbe58eadf01031aa0becdc4fd0a2af026555410 changed. For some reason if you add the package through package control you get an older version. Or at least not from the new-stino branch. Instead I'm pretty sure it's pull from master.

I don't think it matters but the filename is Stino-new-stino.zip but it doesn't have those latest changes inside.

gepd commented 9 years ago

Currently is not possible to install the plugin by the package control automatically, instead, you have to do it manually as is detailed in the "Installation" section here: https://github.com/gepd/Stino

jordlynn commented 9 years ago

The instructions say to install using Package Control after you've added the repository to it, which is exactly what I did at least. I have no idea what causes the discrepancy between the stino-new and what actually gets downloaded .