import SALOME_ModuleCatalog
import ConfigAPI
+# needed on immediate start of SHAPER from SALOME: salome.naming_service is not initialized then
+salome.salome_init()
obj = salome.naming_service.Resolve('Kernel/ModulCatalog')
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
aCorbaModules = catalog.GetComponentList()