remember that the debug tells you the exact line of the error. If you could be more precise about your problem, I might be able to help you.
- - - Updated - - -
if in GM user you don't get error in factory then maybe you have problem with interface.tex

