i have been following a rigging tutorial on you tube and then i encountered a problem with parenting the armature to my character i right clicked the character mesh then the armature and i pressed ctrl+p and then chose the automatic weights option the error was : bone heat weighting failed to find a solution for on for two bones i have read several answers on the forums and here is what i have tried 1.removing doubles 2.selecting all the bones without .l and .r extensions and then s->x->0
and here is the .blend file https://github.com/phantomcoder1996/blendermodels/blob/master/man.blend