Is it the construction or recruitment menu that is causing the problem? If it's the recruitment, then you have a trait with a entry that doesn't have a (correctly) matching entry in export_VnVs.txt.

Easy test to see if its the above is to remove any family member/recruited generals from the army and try to open the city again.