The way folks know to make it work is to yank the chip and put it in a Arduino programmer.
One item to try on the software that *might* increase the odds of success:
try changing the :
change the atmega328.upload.speed=57600 to 115200
Also, you can get more detail by editing "
and changing the end of the file by adding the -vvv option as:
'-U', 'flash:w:%s:i' % self.e['hex_path'],