I have upgraded to arduino-0017 on Ubuntu 7.04. Whenever I 'verify' a sketch I get the message Binary sketch size: 0 bytes (of a 14336 maximum). The files in the 'applet' directory are updated. However when I try to 'upload' I get the same message about the sketch size. The Tx and Rx leds on the arduino board, but the old sketch remains loaded.I have tried removing the preferences.txt in the '~/.arduino' directory. I get prompted for the sketchbook directory but still get the 0 bytes message. This happens with every sketch (including 'blink'). I was previously using arduino-0012 and had no problems. I have gone back to 0012 and it still works. Does any body have any ideas?ThanksSpindoe

I don't see why using an old version of Ubuntu would cause the problem - I thought java made it platform independent.

Only the editor and some preprocessing of the sketches are coded in Java. The compiler and the tool that prints out the size of the compiled code are native programs (which are not maintained by the Arduino-Team).

The windows-version of Arduino packages the compiler and other tools along with the IDE. On Linux you install the compiler with the package-manager. I don't know which version of the avr-gcc compiler and the avr-libc is used on Ubuntu 7.04. But probably 0017 requires newer versions?

On 9.04 the avr-size tool (which calculates the code-size of the sketch) reports a version of

Now as the same compiler was used by both 0011 and 0017 this suggests it was being with different options.I do not want to upgrade because whenever I have upgraded anything in the past on Linux it tends to break something else and I spend most of my time FIXING Linux rather than USING it. I shall stick to Windows.Spindoe

You cannot really expect things always to work if you upgrade one part, the Arduino IDE, and not the the tools that this part uses, avr-gcc.

Sometimes it will work, many times it will not work.

There has been know cases of people using a lot of time to fix problems under Windows when upgrading applications, this also happens for MacOS and Linux. But I can definitely assure you that the latest versions of Ubuntu ( I use Fedora ) are more stable and easier to upgrade than the old ones. So if you want to use Linux (why ask otherwise ?) IMHO the smart thing is to upgrade as soon as there are no super important projects for the next couple of days.