IndexError: list index out of range while preparing pdb file

Did you run the .pdb file through pdb2gmx prior to using pmx?