My god... DynamicTables, that's old. Predating Foundation.
Somehow I doubt that was part of Supermod.
Anyway, please attach the file in question (scripts/Custom/Autoload/EnterpriseNCC1701.py) and delete the file and it's pyc if it's present.
This error has happened before. So I it is part of some other, older, mod.