avrdude works fine in the terminal/command line, that's why I suspect it has to do...
avrdude won't load - syntax error in config file