Uploading code to AtMega32 with Arduino IDE

Ah, the dangers of posting someone else's schematic! I did check for exactly that error on the schematic you posted, and of course it was fine.

Out of interest: why did you choose ATmega32 over the more usual atmega328?