USBtinyISP, SerialNotFoundException [SOLVED]

When I try to program an AVR with Arduino 1.0 using a USBtiny, I get a SerialNotFoundException. I can find the hex-file and upload it with avrdude. The weird part is, I can burn bootloaders with Arduino, so it knows I want to use the USBtiny, and it can find it.

$ find arduino/arduino-1.0/ sketchbook/ -name programmers.txt
arduino/arduino-1.0/hardware/arduino/programmers.txt

$ grep tiny arduino/arduino-1.0/hardware/arduino/programmers.txt
usbtinyisp.name=USBtinyISP
usbtinyisp.protocol=usbtiny

$ find arduino/arduino-1.0/ sketchbook/ -name boards.txt
arduino/arduino-1.0/hardware/arduino/boards.txt
sketchbook/hardware/tiny/boards.txt

$ grep atmega328bb arduino/arduino-1.0/hardware/arduino/boards.txt
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)
atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600
atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F
atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino
atmega328bb.build.variant=standard

Of course I select "ATmega328 on a breadboard (8 MHz internal clock)" as the board, and USBtinyISP as the programmer. The list of serial ports is empty.

Why does it try to use a serial port? I've tried searching on Google, apparently I'm the only one to get this error with a USBtinyISP.

Here's the exact error-message:

processing.app.SerialNotFoundException: Serial port '/dev/ttyUSB0' not found.  Did you select the right one from the Tools > Serial Port menu?
	at processing.app.Serial.<init>(Serial.java:153)
	at processing.app.Serial.<init>(Serial.java:76)
	at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
	at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
	at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
	at processing.app.Sketch.upload(Sketch.java:1664)
	at processing.app.Sketch.exportApplet(Sketch.java:1624)
	at processing.app.Sketch.exportApplet(Sketch.java:1578)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
	at java.lang.Thread.run(Thread.java:679)

This is weird, I can program attiny85 with no problems.

Maybe there's something wrong in boards.txt?

I finally figured it out. Apparently sometimes I need to use CTRL+SHIFT+U in stead of CTRL+U to upload sketches.

You are not the only one having this problem. I have the same problem, a custom board defined in boards.txt and not able to upload using the upload button because it gives the Serial: port not found error. I am able to upload using U but I have not idea why this works. Thanks for your post.