having problem using Ch2lammps tool

I’ve never seen this error. It probably is a problem with the conversion script. Perhaps you could try a simpler pdb file and get that working, and try to isolate what moiety is causing the problem. I’ll CC Pieter in’t Veld who is the main author of that script.

Paul