You obviously have a short. I would look closely at the wire that is smoking and look for a break in the wire. You may find a place where a bare wire is touching ground. I've seen this happen when bikes get real wet, causing a short, melting of insulation and damage to a wire. I've also seen where a wire gets in a bind and then rubs against a metal surface causing loss of wire insulation and then a short.
Dave